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

danpost's Comments

Back to danpost's profile

Man got that one wrong also. Not 'Radial', but 'Angular'.
I mean 'Linear', 'Up to', '3 pixels'. However, 'Radial', '3 pixels' produces almost the exact same results.
I think your scenario is similar to settings of 'Radial', 'Up to', '3 pixels' as far as the lines of dots created.
Actually, there are two reason for so many along the cardinal directions. Take a look at my Radial Graphs scenario and check out what happens with different distances (speeds) using both 'move(int)' and 'setLocation(int, int)'. It is: http://www.greenfoot.org/scenarios/6928
@Dalvengyr, I spent some time looking for a scenario a know had a 'True type font' file in a 'fonts' folder within the scenario folder. It also had a FontLoader class with it. I was hoping to share that with you, but was having trouble finding that scenario on the site (it may have been removed).
@meazelplaq, read my last post. A correction: September of 2011 -- over three years ago should be December of 2009 -- about five years ago
@meazalplaq, I have downloaded and ran the scenario and found the same issue. Being that it appears to work properly on the site AND that there is a check for 'getRotation() == -20' in the code (which today can never return true), it would seem that the implementation of 'getRotation' was changed between then and now. Today, it returns a value in the range of zero to 359; where at the time this was created, it would seem that it returned a range of -180 to 179. (this scenario was uploaded September of 2011 -- over three years ago, with probably one of the first versions of Greenfoot). If you start a discussion thread, I will post my corrected Torso class for you.
Please, remove this scenario from the site. It is not yours to unload. It is a copy of http://www.greenfoot.org/scenarios/8351 by nooby123.
@Dillybar, please start a discussion thread on this issue, I will be able to respond and post code there more easily. However, it will probably be a couple of hours or so as I am pressed for time atm.