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

Report as inappropriate.

danpost
danpost presents ...

2014/9/5

Zombie Shooter Demo

This demonstrates the basics of a zombie shooter game. The source might be included later (after documentation is completed).

Project contains a super class for actors to provide the following:
* smooth moving
* smooth turning
* various world edge actions

The 'zombies', or 'Chaser' objects, extends this class as well as the shots the 'player', or 'Chased' object, fires. Use the mouse to aim and mouse button to fire a shot. The trajectory of the shots are quite accurate.

The player object will attract the zombies when within a specific range. You will see them slowly turn toward the player and the turning and moving will increase as they get closer to the player. Move the player with the 'w', 'a', 's' and 'd' keys. The 'e' key can be used to change the behavior of the zombies when encountering the edges of the world.

High scores stats has been implemented.

11157 views / 32 in the last 7 days

13 votes | 0 in the last 7 days

Tags: mouse shooter demo zombie danpost avoider tds

This scenario is a member of: Demos by danpost


Your browser does not support the canvas tag.
danpostdanpost

2020/1/18

Pavolbiacko2002, I used the greenfoot.UserInfo class. You can import a ScoreBoard class, supplied by greenfoot, which use it; however, I wrote my own "version" of it.
Thanks danpost
20BrownD20BrownD

2020/1/29

This was a very fun game to play!
tarab2002tarab2002

2020/1/29

This was a cool game!
20BrachelliN20BrachelliN

2020/1/29

This game was awesome to play and is something that I will try to remake in the future.
averageJOaverageJO

2020/1/29

pretty neat game. Found my character getting stuck frequently though.
20reuterk20reuterk

2020/1/30

This was a great game!
Soop__Soop__

2022/1/25

hi danpost are you able to make this openable in greenfoot as im trying to understand how to get other actors to follow the player in my zombie shooter. thanks :)
danpostdanpost

2022/1/25

@Soop__, first log in; then, run the scenario and get killed. When high scores show up, there will be buttons along the bottom of the screen to view source codes of various classes. Use escape to return to high score screen.
Soop__Soop__

2022/1/25

oh wow that's sick, thanks :)

See all comments

Want to leave a comment? You must first log in.

Who likes this?

Koko Noobington29 BigPapaDoggy RossUnagi Soop__ Vennenom CatsAreBlue LittlePillows Kokoro luke6728 Zinks2 oscarreks TehRyan