I've got an ammo set-up that uses instance variables. The set-up like this: is on collision with sprite add 1 to ammo. But somehow this doesn't work. I've also made a simple GUI that displays the ammo. But when the ammo is meant to increase it just stays at zero. Initial value is 0 so I'm not sure how it's not working please help! I think the instance variable is not working.
Note: I am using the free version
Can you post up a CAPX for us to take a look at? (Save as Single File Project).
Otherwise it's hard to tell what's going on. Have you tried using the Debugger to see if the variable is in fact not updating?
Develop games in your browser. Powerful, performant & highly capable.
How do you post images? I'll post my events
Select the orange 'Post Reply' rather than the quick reply at the bottom of the page and then select 'Insert Image'.