This site requires JavaScript, please enable it in your browser!
Greenfoot
Username
Password
Remember Me?
Sign Up, Lost Password
Activity
About
Documentation
Download
Discuss
Scenarios
Discussions
You need to login to take part
Current Discussions
help with exam plz due monday
By roonie01, with 19 replies.
Last reply by roonie01, over 8 years ago:
never mind it works thanks so much danpost
HELP
By nick_crompton, with 8 replies.
Last reply by danpost, over 8 years ago:
You probably just need an 'else if' block in between the current 'if' and 'else' blocks which says if reacting, just move: <Code Omitted>
danpost Scrolling tutorial
By Paul12345, with 1 reply.
Replied to by danpost, over 8 years ago:
Make sure you scale the image properly before you pass it to the Scroller constructor. If you continue to have issues, please show the class codes of the scrolling world so that it can be examined. Or better yet, upload what you have (with source included) so that it can be properly tested and diagnosed. One thing it might be is that you have transpencies in your image. Make sure you use a jpeg image or, if it is a png, try drawing the image on a completely painted image (probably of color white) of the size required and using it.
Add a count down timer in greenfoot with a font!
By frequency, with 3 replies.
Last reply by danpost, over 8 years ago:
frequency wrote...
What about the code? Can i find it somewhere?
I wrote a tutorial on displaying values. It can be found
here
.
If the player clicks on a class,then start the game with some parameters
By frequency, with 6 replies.
Last reply by frequency, over 8 years ago:
I want to finish the scoreboard and timer first,since they are easier. If you want take a look to my other posts
I am getting java.lang.NullPointerException error
By JoyBajwa, with 4 replies.
Last reply by danpost, over 8 years ago:
JoyBajwa wrote...
what do you mean its here private Scoreboard sb ; please reply quick if you ddo youre doing me a favor my project is due today plz help
This line: <Code Omitted>only sets up a field called 'sb' to hold a Scoreboard object. It does not create the object. You must create a Scoreboard object and assign it to 'sb' -- like this: <Code Omitted>
Sidescrolling jerky background scroll
By Paul12345, with 5 replies.
Last reply by Paul12345, over 8 years ago:
I will try . Thank you for helping !
Draw lines bg with pic
By RevoltecX7, with 5 replies.
Last reply by danpost, over 8 years ago:
Keep main background image in a field. Each act, you will need to create a new image using the main image and draw the rain on it. Example: <Code Omitted>
Scoreboard
By frequency, with no replies.
Hello, How can i add a scoreboard with a custom font called Digital-7? How will i create it. I want it to add +1 after the user presses SPACE. Thanks!
Countdown timer with custom font
By frequency, with no replies.
Hello, How can i add to this scenario
SCENARIO
a count down timer with a custom font called Digital -7? And when it goes from 60-30-10 seconds to 0 to stop? Thanks
If (Greenfoot.isKeyDown("space")). Update the images
By frequency, with 9 replies.
Last reply by frequency, over 8 years ago:
I will make a new topic,since i moved on a bit!
help needed with sin and cos
By Drawoon, with 1 reply.
Replied to by Vercility, over 8 years ago:
Hey. Your fractions 8/17 and 15/17 are locally calculated in an integer so you get (int) 8/17 which is 0, just using double as save variable doesnt make it execute as double calcuation. Use 8.0 15.0 and 17.0 instead
Vinny! Shooting a missle
By MisterJ, with 3 replies.
Last reply by Vercility, over 8 years ago:
danpost wrote...
Is there a question here? or do you enjoy rapid fire?
Lmfao.
How can i make 2 objects rotate from an actor
By frequency, with 5 replies.
Last reply by roonie01, over 8 years ago:
hey dan can you plz help with my code in a few my post is on this site its something like "help with exam "
Intro of the game,Count down timer, score meter.
By frequency, with 2 replies.
Last reply by Super_Hippo, over 8 years ago:
Comment the lines which make the scenario crash and upload it to the greenfoot website. Or post the relevant code here.
293
294
295
296
297
298
299
X