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

2012/4/18

Greenfoot 2.1.2 and Move(int)

danpost danpost

2012/4/18

#
Did anybody ever have a problem with move(int) in a World with a grid-size greater than one? I created a world with
super(40, 30, 20);
and created an actor and placed it in the world; then used
move(1);
in the actor class for that actor and it moved 20 GRIDSQUARES instead of just 1 Gridsquare or (20 PIXELS).
nccb nccb

2012/4/18

#
Yep, it's a bug. It's fixed in 2.2.0.
You need to login to post a reply.