Record each created instances position

Get help using Construct 2

Post » Fri Jun 15, 2012 4:29 am

Hi all,

I want to record every instances that is created and keep a record of their positions.
I understand that using array is the best way, but i have no idea how to record every new instances position.

I also need to reproduce them in the next layout at mirrored position. Not too sure how to do that

this is my capx.
spawn
hope to get some help and learn more about arrays as well.
B
18
S
3
G
3
Posts: 15
Reputation: 3,191

Post » Fri Jun 15, 2012 11:35 am

well i gave it my best shot, for the first part, saving instances to array

i have a solution, small bug in the display show one entry as zero, but it fixes itself once you move the instance

edit: correct saving and loading of instances

example

maybe someone else can improve and take it furthervtrix2012-06-15 14:35:50
ImageImage
B
61
S
19
G
6
Posts: 809
Reputation: 9,028

Post » Mon Jun 18, 2012 2:34 am

wow thnx! i will try to modified it for my game.
B
18
S
3
G
3
Posts: 15
Reputation: 3,191


Return to How do I....?

Who is online

Users browsing this forum: Ethan, makkancs, rekjl and 29 guests