Object reference

Get help using Construct 2

Post » Thu Feb 07, 2013 1:10 am

hi guys i am new to construct 2(r108) and i really need your help for my educational game thesis , how can i reference a sprite to a sprite from another lay out.. so that if the sprite is killed then the sprite from the other lay out will also be killed, so when i go back in that lay out that sprite is also gone....


thanks in advance and sorry for my bad english
B
5
S
1
Posts: 8
Reputation: 591

Post » Thu Feb 07, 2013 1:33 am

Not really sure what you mean i'm still using the free version but i guess you could make a global variable 0. When sprite 1 is destroyed set the global variable to 1. If the global variable is 1 destroy sprite 2.

Hope that makes sense to you.
B
12
S
2
G
3
Posts: 59
Reputation: 2,628

Post » Thu Feb 07, 2013 1:56 am

I want to make you an example capx file...
but you are using very old r108 (most of us here know why) and you won't be able to open it up
ImageImageImageImage
B
140
S
58
G
36
Posts: 2,547
Reputation: 31,170

Post » Sat Feb 23, 2013 6:09 am

i have construct 2 r119 now wiht personal license.. can you send me the capx file? :)
B
5
S
1
Posts: 8
Reputation: 591


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 24 guests