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
Maze w/ clipped out overlay
By fittirc, with 3 replies.
Last reply by danpost, over 6 years ago:
fittirc wrote...
Hey dan, thanks for replying. Unfortunaly, the path isn’t a solid color. I’m using this maze image: https://www.deviantart.com/neyjour/art/Razorcrush-Maze-298486546 If the pathways are transparent with the maze wall image, is your suggestion still viable despite the lack of one solid color on the paths?
No. My suggestion is to use a 2-D array to map out the maze. An array of int values is sufficient. use -1 for walls, 0 for pathways and different positive values to mark out any special location (for example, where different actors are to be spawned at; the value c
showText not working in Actor Class
By ouy8, with 6 replies.
Last reply by ouy8, over 6 years ago:
I ended up just making a Timer object in the first level that is passed as an argument to the second level's constructor and it all seems to be working well enough (for now). Thank you for your help!
Trying to create a highscore leaderboard?
By Nate2002, with 14 replies.
Last reply by Nate2002, over 6 years ago:
I was going to upload it to Greenfoot at some point, when i get the scoreboard working
Counter Problems
By MemThef, with 2 replies.
Last reply by MemThef, over 6 years ago:
Thanks a lot for the help! It worked perfectly.
Instantiate a new World Object
By fittirc04, with 2 replies.
Last reply by fittirc04, over 6 years ago:
Whew, you're a lifesaver! Ty nccb!
generalization
By destroyer9909, with 4 replies.
Last reply by destroyer9909, over 6 years ago:
ah thank you so much!
How do I make the Background transparent?
By Wheely, with 1 reply.
Replied to by danpost, over 6 years ago:
Wheely wrote...
<< Code Omitted >> I want a transparent background in my count class. Current the background is Black.
You can create a new transparent color as follows: <Code Omitted>You should see what to replace what with.
Error in Winning screen
By Tommes, with 6 replies.
Last reply by Tommes, over 6 years ago:
Thank you for the explanation. Now it works.
How to make a bullet disappear when its at a certain size
By Samwcool, with 2 replies.
Last reply by Samwcool, over 6 years ago:
That worked thanks
The Joy of Code
By Aquizzy, with 1 reply.
Replied to by danpost, over 6 years ago:
Aquizzy wrote...
I've been watching the joy of code, got to episode 19 and wanted to start messing with the source code myself. Where do I find it? I tried copying the code from the videos but I cant find the animal source code.
In the main menu bar, select "Edit>Import class...".
What is the getScale method used here
By Samwcool, with 1 reply.
Replied to by danpost, over 6 years ago:
Samwcool wrote...
https://www.greenfoot.org/topics/60875/0 thats the link to the thread, im wondering what the getScale was
It is not any method found in the
greenfoot
package. It was a method call thrown in to show that a scale value was to be referenced there -- as if the class had the following members: <Code Omitted>
Help? (Array contains...)
By Don'tCallMeDavie, with 5 replies.
Last reply by Don'tCallMeDavie, over 6 years ago:
It took me a few moments to fully wrap my head around what you were telling me -- But as far as I can see the system is giving me a random choice of calls with no repeats, which is exactly what I wanted! Thank you
so
much for the help!
No Compile button - New to Greenfoot
By MrsAppiah, with 1 reply.
Replied to by danpost, over 6 years ago:
MrsAppiah wrote...
Hi, I'm following a tutorial on using Greenfoot and there is reference to compiling 'Wombatworld'. I do not have a compile button. How do I compile the world so that it appears on the screen?
Do not fret. Greenfoot now auto-compiles. If there are no syntax errors, you should be able to click on the main frame and have your world created.
Constant Crashing
By Ehhhh, with 3 replies.
Last reply by Bluefootisbetter, over 6 years ago:
lmao got em
Greenfoot Terminal won't open. Tried previous solutions to no avail
By SweetCaroline36, with 2 replies.
Last reply by danpost, over 6 years ago:
If on a Windows system, try hovering over task bar icon; then, move to mini-image and right click to select "Maximize".
226
227
228
229
230
231
232
X