PDA

View Full Version : Increment method?

Siraea
12-01-2009, 05:54 PM
Hello! I'm sort of new to the Alice program, been using it as part of my Computer Sciences course. I'm currently making a game as a final project, and I need to use the Increment method. But I can't figure out where it is! I'm using version 2.2. If somebody could please tell me where it is, I'd greatly appreciate it! :)

Of course, I may end up finding it myself. I'll keep looking. Thanks! :P

dubastot
12-01-2009, 07:33 PM
You make a number variable and you drag it to your methods area and select increment.

shaydon
07-08-2011, 05:51 AM
You make a number variable and you drag it to your methods area and select increment.

does it have to increment by 1?
is there a way to make it increment by 0.25? or 0.1?
this would really help out a lot =D

TauTrumpsPi
07-08-2011, 09:42 AM
does it have to increment by 1?
is there a way to make it increment by 0.25? or 0.1?
this would really help out a lot =D

Love your avatar, by the way.

And no, you can only make it increment by 1, though you can say

variable = variable + (number)

to make it go up by a different amount. But the only option for incrementing is 1.

shaydon
07-08-2011, 09:44 AM
Love your avatar, by the way.

And no, you can only make it increment by 1, though you can say

variable = variable + (number)

to make it go up by a different amount. But the only option for incrementing is 1.

Could you please post an example word??
because i'm a "hands on" learner

thanks

arty-fishL
07-08-2011, 02:15 PM
Could you please post an example word??
because i'm a "hands on" learner

thanks
There you go, just look at the main method.

TauTrumpsPi
07-08-2011, 04:16 PM
My example world that I made before I saw Arty's, and figure I might as well post-

shaydon
07-08-2011, 06:32 PM
My example world that I made before I saw Arty's, and figure I might as well post-

Thanks guys!!!
i will look at both