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.

7722 views / 18 in the last 7 days

7 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.
A new version of this scenario was uploaded on 2020-01-18 08:09:20 UTC
A new version of this scenario was uploaded on 2020-01-18 08:24:38 UTC
How you did a score board? Is this possible in java or you just connected it with some database. I would like to use it also in my games :D
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!

See all comments

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

Who likes this?

CatsAreBlue LittlePillows Kokoro luke6728 Zinks2 oscarreks TehRyan