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

2011/10/8

The method move in Actor is bugged

m.capurso m.capurso

2011/10/8

#
I have created a world with 3 rows and 3 columns , with 100x100 pixel cells. I have created an actor with a ladybug in row 0 and column 0. Then I have executed the method move with 1 as the int parameter, and the ladybug moves to row 0 column 2. I have made similar tests in the 3x3 world , and the method move gives wrong results. Please, correct the code. Meanwhile, there are workarounds, of course, but the bug is present in the last release and also in the two previous releases.
davmac davmac

2011/10/9

#
Yes, this bug was recently reported and is recorded in our bug database: http://bugs.bluej.org/trac/greenfoot/ticket/347 Of course we will fix it with the next release of Greenfoot.
You need to login to post a reply.