How do I keep object touched when its replaced?

Get help using Construct 2

Post » Sun Aug 17, 2014 7:47 pm

Hi guys, I wanted to know if you can give me an example how to make following:
1. spawn object2 on object1 while touched object1.
2.destroy object1, but keep object2 touched ? (problem here!)
I didnt find any touch commands who can keep touch while object1 becomes object2. :(

I hoped you understand what i meant, Thanks in advance! :)
Posts: 8
Reputation: 218

Post » Sun Aug 17, 2014 10:00 pm

you could try something with an instance variable (selected=true?)..

Problem is, I have no idea how you have your touch events set up, so can't say what to do with the variable..
If you could show your events or upload your capx it would be much easier..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
Posts: 6,160
Reputation: 19,775

Post » Mon Aug 18, 2014 6:28 am

Thanks man, it worked with instance variables.
Posts: 8
Reputation: 218

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 7 guests