How do I reposition a single instance of a sprite.

Get help using Construct 2

Post » Wed Nov 12, 2014 4:39 am

Hi there,

I'm quite new here, but having loads of fun! I'm trying to reposition a specific instance of a sprite and when I use the reposition event it moves all instance of that sprite to the coordinates; I don't want to destroy them when I move them.. so each instance will move off the screen, and may come back again.

I tried searching all over for this but I couldn't find it.

Thank you,

James
B
2
Posts: 1
Reputation: 152

Post » Wed Nov 12, 2014 5:01 am

Construct2 instances need to be "picked" in order for Construct2 to act on specific ones.
You pick an instance in the conditions portion of an event. Any instance referenced in the condition is therefore picked and the actions will only affect it... search for picking instances, there are several good tutorials out there.

You will have to find a way to pick the specific instances your after and then condition it.
Ie. on collision, is-overlapping, distance from a point, instance variables set to certain things, etc. (options are near endless).
Check out my completed games on the Arcade! Capt. Doe Save the Universe! & Clicker Wizard!
B
65
S
17
G
8
Posts: 636
Reputation: 9,333

Post » Wed Nov 12, 2014 3:53 pm

you could do it like this
You do not have the required permissions to view the files attached to this post.
B
245
S
39
G
15
Posts: 1,941
Reputation: 40,246


Return to How do I....?

Who is online

Users browsing this forum: Diginampl, jkmalau, Yahoo [Bot] and 15 guests