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

danpost's Comments

Back to danpost's profile

HaHa LOL -- but I am smarter than the average bear !!!
"Irregular Shape Collision Demo" is a bit long and could be misleading, here. However, the documentation does show what is needed to bounce off any smooth surface (curved or not). Complications do occur at bounce points that do not have a normal to the surface and finding the bounce point itself (to find the correct normal to use) could be tricky with irregular surfaces
Q 1: Questionable. Cannot go into details without ruining the question for everyone. Q 9: Comment at end of switch statement is not correct. Q 11: There is a typo in one of the options. Q 23: Reason given for correct answer is not accurate. Integer ranges from -2^31 to 2^31-1. Again, cannot go into details without ruining question for everyone.
The class can now only be used locally (not on a site). For help on error, create a discussion thread. Show class of code where error is located and indicate what error you are getting and at which line it occurs.
@Soop__, first log in; then, run the scenario and get killed. When high scores show up, there will be buttons along the bottom of the screen to view source codes of various classes. Use escape to return to high score screen.
@mik., you can simply type "tutorial" into the search bar to find them.
@mik., I have 2 tutorials on the site -- one for displaying values (whether text or graphically) and one for scrolling. To help find them, they both have olive green thumbnails with black text (with the word 'tutorial').
@mik., apparently, you have a correct definition of "gif", unlike some others I have seen.
@mik., I was going to say something, but I was not sure what meaning you actually had for "gif"