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

danpost's Comments

Back to danpost's profile

Updated to get rid of scrollbars.
@LittlePillows, log onto the site and then simply run into a zombie. You will then see the buttons along the bottom of the High Scores world.
@TheAwesomePuppy404, thanks. I re-uploaded it.
The only problem I have detected is that the player only moves when a key is pressed. The pac-man should move in the last direction taken until a wall is encountered unless directed to turn at the next junction.
@8BITBOSSGAMES, I am sorry as I see you have done that (at least the first part of it).
@8BITBOSSGAMES, please start a discussion thread on your issue and give a detailed explanation of what you want your bullet(s) to do.
@dadansi, please do not post material totally unrelated to a scenario in the commenting section of that scenario. Also, do not specifically ask for my help, as others may want to give some sort of input.
@Wayne, you can have a 'canMove' method that can check to see if the player can move in the direction it is facing using: return ((Cell)getOneIntersectingObject(Cell.class)).blocked[getRotation()/90] == false; If you have issues with this, start a discussion thread instead of posting here.
The problem is you are creating multiple instances of the GreenfootSound class (and probably using 'Greenfoot.playSound(String filename)' to play them. Create only one GreenfootSound object either in the world constructor or when declaring the field that is to hold it: private GreenfootSound sound = new GreenfootSound(filename); Then use: sound.play(); to play the sound.