instence varables help

Get help using Construct 2

Post » Fri Apr 22, 2016 2:50 pm

I am making a micro organisum game and I want it so that if a creachere smaller than the creachere that it tutches to be eaten and the bigger one to grow by the size of the smaller one and I tried this with instence varables but its not working. Do I use a global varable? Please help!
B
19
S
3
G
2
Posts: 92
Reputation: 2,363

Post » Fri Apr 22, 2016 7:04 pm

I dont think that the variable is the problem. Instance variables are perfect for this kind of stuff.

You probaly have a problem with picking the right instances of objects. And maybe with the logic.
You should post a capx to get good help.

First: read this https://www.scirra.com/manual/75/how-events-work
And this wil set you in the right direction: https://www.youtube.com/watch?v=0OCAcFvBbCM
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, MaxxMunnn, richcoz81, Soluna Software, totoe and 24 guests