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
Here is another one: Automatically loop-count x from 1 to n repeatedly x = (x % n) + 1
Here is another one:
Automatically loop-count x from 1 to n repeatedly
x = (x % n) + 1
could you show me an example of that? can't get it to work :/
Here is a CC cap:
http://www.mediafire.com/file/ejj0e7zwd4e57hj/counting.cap
One thing I've noticed in CC "%" isn't displayed correctly.
It just says something like =0.... kinda confusing sometimes.
Another way to do this is have:
+M pressed
+Var = 0
Vice versa for the second one.
Ashley's sounded fun though. I'm going to try it now!
Develop games in your browser. Powerful, performant & highly capable.
conditional_expression == "pure awesomeness" ? "pure awesomness":"pure awesomness"
Here is a CC cap: http://www.mediafire.com/file/ejj0e7zwd4e57hj/counting.cap
Ahh, Thanks tulamind, i can see where i made a mistake now.
There's also setting the variable to 1-itself. If the variable was 0, it gets set to 1. If it was 1, it gets set to 0.
mmmm Arima. I think you must have missed the very first post from rogerty on page one. It was this very method that got him to start this thread :)
lol whoops
:)
It IS a good example, but the one from Ash is better :)