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
<img src="http://i39.tinypic.com/2i792px.jpg" border="0" />
what i meant to make here is to make a pauze screen but...
This basicly does nothing, somebody any idea why?
...
+ On Key press "P"
++ Pauze Number = 0
--- Your Actions
++ Pauze Number = 1
+ = condition
Event 2 sets Pauze_Number to 1, then because events run top to bottom, event 4 runs just after and sets it back to 0. Use the 'else' condition instead.
Setting up your events like below would be even better to prevent unwanted switching
<img src="https://dl.dropboxusercontent.com/u/48563442/pauzenumber.jpg" border="0" />
i do see why it does not work now, tnx.
however, the else would not work either
wouldn't this just keep adding 1 at Pauze_Number?
however, it still would now work with else
Develop games in your browser. Powerful, performant & highly capable.
Setting up your events like below would be even better to prevent unwanted switching <img src="https://dl.dropboxusercontent.com/u/48563442/pauzenumber.jpg" border="0" />
Wouldn't this be adding 1 every time P is pressed?
There is a minus in front of the pauze_number, so when pauze_number is 0 it says
-0+1 (which is 1)
and when Pauze_number is 1 it says
-1+1 (which is 0)
There is a minus in front of the pauze_number, so when pauze_number is 0 it says -0+1 (which is 1) and when Pauze_number is 1 it says -1+1 (which is 0)
mh never seen that before, i wil try, tnx!
This worked! Thank you very much!
this works! Tnx!