I make game where by pressing one button you can move your tank and shoot also. But my problem is - when you release the button your tank should firstly go left and after next release - go right. But no! Construct can't change variable which makes tanks spin. Someone can help? (Sry for my English)
Just from a quick look that should work but maybe should one be clockwise and the other counter clockwise? That's the only thing I could see that might be the problem
Develop games in your browser. Powerful, performant & highly capable.
the second last event sets your variable to 1, and then the last event sets it right back to 0.
you need to use an "Else" to prevent that from happening:
Keyboard on Space Pressed Sprite obrot = 0 : Sprite Set obrot to 1 else : Sprite Set obrot to 0
OMG! THANK YOU VERY MUCH!
I can finally make my beautiful tank game! And all thanks to ya all!