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

danpost's Comments

Back to danpost's profile

That is not the same class. You can find the class in my Asteroids w/Improved QActor class scenario.
@Der_rote_Kriegskomissar, you can view the codes by logging in and completing one game (just don't shoot to quickly end game). At game over, stats will show with 4 buttons along the bottom of the screen. The right one is to initiate a new game while the other 3 allow you to view the codes used for this scenario.
"Your browser is ignoring the APPLET tag. HTML5 version not available" This is usually caused by 'java.awt' or 'javax.swing' being used. Uploading scenarios using either (or both) of these will produce this error message.
@strangeryyes, you cannot. It was uploaded with the "Provide source code" check box unchecked.
(1) Do not use abusive language here (please); (2) Do not use any "swing" or "awt" classes in your uploaded scenarios,
@rojina, I only used the drawString(String, int, int) method on the world background image (after filling the background dark and setting the drawing color of the background image to white)
@JooshK, just use a zero value for the vertical offset when calling the 'scroll(int, int)' method. For example: scroll(1, 0);
@ibrahimnrhd, in most cases, you do not have to modify the Scroller class. The one in this scenario was actually slightly modified to so that a programmer can add some non-scrolling area to the right, to the bottom, or both. This was mainly so you could add stats or any graphic user interface objects to a program.
@MatrixWorld : See my previous comment. Wanted to mention to read the description of the searched scenario for related scenarios and codes.