Thursday, January 31, 2013

Mark Week 4 code update

This is an update on the scripts that are running the game.


PlayerAttack.js: http://pastebin.com/i1cViLAJ                 //deals damage by raycasting

ZombieScript.js: http://pastebin.com/9iQYuny0                   //handles forward motion and damage

ZombieSpawnerScript.js: http://pastebin.com/KXCwt1EC    //handles spawning zombies

ZombieSmoothLook.js: http://pastebin.com/bKESWKVx    //handles the wandering and smooth turns



Download Build 2.5:

https://docs.google.com/file/d/0B5TMIP6TlZSkYUZCZzFJbjZjTXc/edit





No comments:

Post a Comment