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

What is happening right now?

Pls_help

reply to Im trying to make a platformer and when i press start my chracter flies to the top of the screen pls help

By Pls_help - about 2 hours ago
I finally found the problem. Thanks.
danpost

reply to How to use the multiple parameter arrays?

By danpost - about 13 hours ago
You could set each element into the double array as follows: <Code Omitted>But, probably better might be to code the double array elements as follows: <Code Omitted>
danpost

reply to my character stopped jumping and idk why

By danpost - about 13 hours ago
Bashni wrote...
when I turn off one of the onGround(); it works but not when all are on anything I can do to fix this?
I suggest that you add a new class. A subclass of Actor called Ground that can be extended to all the objects that your character can stand or bop its head on (Floor1, Platform and Platform2). That way you only need to check for the Ground class instead of checking all three different types separately. Same for the collision offsets -- for each direction, you would only need one check for Ground class).
danpost

reply to Programm does´nt work in browser

By danpost - about 14 hours ago
Tonomis wrote...
My Scenario Jägermeister has an error in the browser but when i play it local it works. I also cant really see the error because its not fully in the picture. Does anyone have an idea?
I do not believe that the java.awt package is usable on the site due to javascript security reasons. That means the GifImage class will not work in the browser.