Good day Sirs,
after days of tests …and failures i decided to post this little (but it seems not) problem here.
-My enemy object is called “e0”
-Basically i made a simple shadow sprite that i put under the feet of my enemy
-now…“WITHOUT USING THE CANVAS”/PROJECT PANEL/DRAG AND DROP OBJECTS , i want to create
1 the enemy (and i know how) and
2 the shadow behind each of my enemy instances
and move em separately under their feet, cos as you can see in the picture put the shadow under the feet of the enemy doesn’t work cos it create all the shadows under the 1st enemy created since i don’t know a way to give x/y position of instances.
Ok where i do have to put the code and which object 1st and which second?
Also how do i make the shadow move for each instances…?
Sorry, i understand your answer and i tried befor the post but probably i don’t get how link objects work.
…aaaand…it doesn’t work…, no shadow under created enemy … do i miss/mess something?.
pic…also i see that there is an order error …since i want the shadow to trigger once ofc and create an enemy whenever i want, not just at the beginning of the scene…
my code looks like yours but i need the shadow to move on each object instance since is a platform game… i see that your code use the put action to linked object… i’ve also tried that with no success…
…btw shadow is visible and moving for one enemy only…or probably both are created but overlap to one enemy cos i’m updating the move of shadow to enemy object and not instance…omg…i’m loosing hopes…
it seems shadows are created for each enemies and move indipendently for each instances…
Thank you Drona and Ulises for the help…i’m probably turn this to Solved soon…you’re both gandalfs…