This site requires JavaScript, please enable it in your browser!
Greenfoot back
Miikku
Miikku wrote ...

2013/5/29

How can I make counter shop?

Miikku Miikku

2013/5/29

#
So I mean something like this:
if(counter value)>=
{
      //do something
}
danpost danpost

2013/5/29

#
Counters do not shop!
Kartoffelbrot Kartoffelbrot

2013/5/29

#
If it should stop, you will have to add something like this, where it counts up!
if(value<limit)//value is the number on your counter, limit you have to replace by the number, when it should stop
{
countUp();
//or
value++;
//however you count up
}
Miikku Miikku

2013/5/29

#
ok
You need to login to post a reply.