My loop only seems to work on the second time through

Goodnight GamesGoodnight Games NYCMember, PRO Posts: 184
edited July 2012 in Working with GS (Mac)
I wanted to make a new thread for this.

I've actually got some decent combo logic going and if you guys want to use it feel free.

The problem is the timer doesn't constrain the attribute the first time you press the button it only subtracts .1 once. If you click on it anytime after that and run the cycle it will subtract to zero just fine.


Here is the code:
http://i.imgur.com/SK9h6.jpg


Does anyone know what's causing this? Thanks!

Comments

Sign In or Register to comment.