Quantcast
Channel: Programming (In-game)
Viewing all articles
Browse latest Browse all 903

Do I Have This Right?

$
0
0
My understanding of programmable blocks is that they can run for a maximum of one second, and every time you run them they get reset and everything gets reinitialized. So, if you have a for loop counting some numbers, such as a typical i = i+1, except that you only want to count a new iteration every time that you, say, push a button, this isn't as simple as just rerunning the block right? Because i will be reinitialized to 0. So if you keep manually running the block, it'll always...

Do I Have This Right?

Viewing all articles
Browse latest Browse all 903

Trending Articles