Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
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
This is what I have:
But if I press down on the D-pad and the value is 2 for example, it won't go up to 3, it just stays capped at 2. Why is that?
Maybe because you only look for less than 2 or greater 2 not for equal 2.
If your variable is 2 nothing will happen. Same for zero.
Develop games in your browser. Powerful, performant & highly capable.
Exactly as Asmodean said,
you have to use < 2 and >= 2.
I tried that before, same results
That is because your two following events. The second event will immediately overwrite the result of the first event if the value is above 2.