Image:
 Author: ruhangaring Group: Default Filesize: 383.11 kB Date added: 2024-08-03 Rating: 5 Downloads: 567 Views: 131 Comments: 0 Ratings: 1 Times favored: 0 Made with: Algodoo v2.1.0 Tags:
|
Here's a zombie game kit for you:
Controls:
W - move up
A - move left
S - move down
D - move right
Mouse Click - shoot
- note that there's a circle always following the mouse cursor, take that into account, you can see it by pressing "ctrl + a", this will highlight all objects, including the hidden cursor.
- you can copy and paste the zombies any way you want
- I added in 2 upgrade machines, just hit (not shoot) it with your gun towards the screen, it will only work once you get 15/30 kills, but you can edit the kills by going in the console for testing purposes, and typing: "scene.my.kills = add here the amount of kills you want (for example: scene.my.kills = 15)"
- the zombies are pretty smart, if you're out of hearing range they will walk and wander around but if they are in hearing range they will chase you.
- you can remove the camera zoom restriction by pressing the smaller invisible circle at the middle of the player's head and going to the scripts tab, once inside, remove the contents of the "PostStep" function and replace it with these:
(e)=>{
e.this.angle = math.atan2(app.mousepos(1) - e.this.pos(1), app.mousepos(0) - e.this.pos(0));
scene.my.helth < 1 ? {
timetolive = 0
} : {};
scene.my.helth < 1 ? {
timetolive = 0
} : {};
}
- You can put these in any map you'd like just as long as you comment and credit me. Happy Playing! |