Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
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!