This site requires JavaScript, please enable it in your browser!
Greenfoot back
novianty.ophy
novianty.ophy wrote ...

2017/1/19

theres no Button Compile all on my greenfoot

novianty.ophy novianty.ophy

2017/1/19

#
i've install greenfoot and Java jdk, but why theres no compile all on my greenfoot,
Super_Hippo Super_Hippo

2017/1/19

#
It tries to compile automatically when you have made any changes and click on the world.
novianty.ophy novianty.ophy

2017/1/23

#
ive made an actor, but shows contains error, wheres my fault??
danpost danpost

2017/1/23

#
novianty.ophy wrote...
ive made an actor, but shows contains error, wheres my fault??
Find the underlined world in the class editor and hover the mouse over it. Also (or), you must create a subclass of World.
novianty.ophy novianty.ophy

2017/1/23

#
it not compile automatically, and theres no compile button on my greenfoot, help please ;( i made a subclass and background but the background not shows on screen, and i can compile it, coz theres no compile button
danpost danpost

2017/1/23

#
novianty.ophy wrote...
i made a subclass and background but the background not shows on screen, and i can compile it, coz theres no compile button
Show the codes you have created (see the 'Posting code? read this!' link below the 'Post a reply' input box to check out to show your codes). Show all subclasses of World and Actor (and any other class you may have added).
novianty.ophy novianty.ophy

2017/1/23

#
public void act() { // Add your action code here. move (1); if(greenfoot.isKeydown("left")){ turn(-5); } if(greenfoot.isKeyDown("right")){ turn(5); } }
novianty.ophy novianty.ophy

2017/1/23

#
see the subclass here https://www.sendspace.com/file/n8lant
danpost danpost

2017/1/23

#
The 'isKeyDown' method is in the 'Greenfoot' class -- not the 'greenfoot' class (which there is not one of).
novianty.ophy novianty.ophy

2017/1/23

#
so what should i do? need ur help please
danpost danpost

2017/1/23

#
novianty.ophy wrote...
so what should i do? need ur help please
Change 'greenfoot' in the code above to 'Greenfoot'.
novianty.ophy novianty.ophy

2017/1/24

#
i changed Greenfoot, but still cant run
Super_Hippo Super_Hippo

2017/1/24

#
If it doesn't compile, there should be parts red underlined to indicate errors.
danpost danpost

2017/1/24

#
You have shown part of a subclass of Actor. I asked for you to show ALL codes you have created (meaning entire class codes of ALL subclasses of World and Actor. I do not know if you even have a subclass of World, which is required, yet.
You need to login to post a reply.