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
How to open a path with Greenfoot?
By Rudolf, with 4 replies.
Last reply by Rudolf, over 12 years ago:
Thanks a lot davmac, but its almost that what I want to do. It works just like a save Button. What I am searching for is an option to open a Folder and then open the files, doc,txt or Internetlinks with Word or Notpad or with my Browser. I want to open only the path, then I want to open the files without Greenfoot, just like i´m workin with my computer and open the folder himselfe step by step :)
problem with at world edge method help me plz
By nona, with 4 replies.
Last reply by danpost, over 12 years ago:
nona wrote...
well it's only work at on edge
I am not sure I understand. What are you wanting the actor to do and how is it not doing it?
android
By nona, with 1 reply.
Replied to by Zamoht, over 12 years ago:
Take a look at
this discussion
.
Main Menu
By BD289, with 2 replies.
Last reply by danpost, over 12 years ago:
I do not see where 'Keys' or 'Keys2' are being declared anywhere within the class.
Score Counter after enemy death
By PaisleyAinsley, with 3 replies.
Last reply by PaisleyAinsley, over 12 years ago:
This worked! Thank you so much for your help and explaining it in a way that helps me understand!
Directory Pathing
By LegendXV, with 4 replies.
Last reply by danpost, over 12 years ago:
There is a 'sounds' file in the project folder also. Ensure the sounds are included in it; name them properly and refer to them in your code with the same names; also, ensure there are no informations tags within the sound files (author, title, etc.) as they can mess with the processing of the file within greenfoot (I think an IndexOutOfBoundsException occurs).
Map boundary by color.
By Than4tos, with 1 reply.
Replied to by Zamoht, over 12 years ago:
I believe invisible walls is the more efficient solution here.
Tile and Scale GreenfootImage ?
By oxsinus, with 4 replies.
Last reply by oxsinus, over 12 years ago:
Oh - I suppose I just figured that the original image is loaded, and the GreenfootImage is the original + modifications - not that it is actually changed and retained. Will have to try that. That sounds like it may be a nice workaround.
Greenfoot 3D Engine - Made it!!
By solarpilz, with 3 replies.
Last reply by erdelf, over 12 years ago:
are u going to publish it `? if i get your engine right, it should work better for my case than the Greenfoot 3D Entity1037 mentioned
am i using list wrong?
By RUMMAKER, with 9 replies.
Last reply by RUMMAKER, over 12 years ago:
ty for the help davmac and danpost :D.
Unreachable statement error
By patrick26, with 1 reply.
Replied to by danpost, over 12 years ago:
Firstly, no code within the same block will execute after a 'return' statement. Secondly, if the position of the enemyFireball determines it needs to be removed from the world, why would be place the new enemyFireball at the same location (using 'getX' and 'getY')? You could just re-locate the current enemyFireball instead of removing one and adding a different one.
could you give me the commands i need for each crab
By student394, with no replies.
1. Create an Actor call Crab. Now create 4 different Crab Actors 2. Write a command where each Crab can Move in different directions (Backwards, Up, Down, Forwards, Rotation) 3. Each Crab must also change location while Moving. 4. Next get the Crab to Turn 90 degrees towards the right 5. Get the Crab to Turn around when the actor hits the edge of the world
It compiles, and shows nothing
By Onilika, with 4 replies.
Last reply by Onilika, over 12 years ago:
I think I found out. Hope it's solved.. Thank you :)
Actor not in world error
By patrick26, with 3 replies.
Last reply by danpost, over 12 years ago:
That is probably the same type problem as before. Using 'Greenfoot.stop()' or 'getWorld().removeObject(this)' does not stop the rest of the method from being executed. With 'getWorld().removeObject(this)', the hidden field that holds the world that 'getWorld()' returns is turned to 'null'. No method that requires the actor be in the world can therefore be executed after it. You must either force an exit from the method by a 'return' statement or check to see if the actor is in a world before executing the following blocks of code:
Actors running through other actors
By patrick26, with 1 reply.
Replied to by danpost, over 12 years ago:
patrick26 wrote...
Is it possible to make it so that a certain actor is unable to walk through other actors?
Just about anything is possible. One way is after moving the actor, if it intersects anything, move it back.
700
701
702
703
704
705
706
X