Wednesday, May 20, 2009
Code Improvements
I've been hard at work improving the code so that it will be ready to add assets too. It's now possible to add more than 1 enemy to the game. It wasn't possible before but you guys didn't know that, hahaha, lol. I hate using lol. Also, I've changed the mechanic of shooting the dino's until their health runs out. Every time you shoot one they slow down for a specific amount of time. You have to shoot them enough times to make them stop before you can mount them. When you shoot them each time, the game starts a timer and when it runs out they will start moving again unless you mount them. I also greatly improved the collision code so that the dino's are now able to walk/fly under a block without running into the imaginary line on the Y axis that the collision code was watching for. I've also been doing slight tweaks all around to make the game smoother and more enjoyable. I'll upload the file at a later time.
Subscribe to:
Post Comments (Atom)
This comment has been removed by the author.
ReplyDeleteGreat job keep up the good work, and excellent improvement on the code. I like the change the mechanic of the game.
ReplyDeleteI remember you mentioning that before Justin, good work on fixing the glitch. For the interface do you just want the image files for the interface or do Shelby and I need to make a working flash mock up with a copy of the game file?
ReplyDeleteAdrianna asks a good question! Also, hooray for improvements, can't wait to see the updated and working copy!
ReplyDeleteYou don't need to make a working copy but it would be great to get the raw flash assets (complete buttons, backgrounds, etc). Also, the flowchart for how you want them navigated would be nice.
ReplyDeleteAs far as the .swf, I can upload that in a few mins. Right now I'm tired of reading about how as3 does not allow you to easily access nested movie clips more than 2 deep. In as2 if you wanted to have a movieclip that had a bunch of stuff nested you would just type:
gamelevel.hero.arm.muzzle.x;
In as3 it will recognize that "gamelevel.hero.arm.muzzle" does exist but it's x position becomes a mystery and pisses me off.
I can only access gamelevel.hero.x
Does this do anything negative other than piss me off? Not really. There are work arounds to everything. But I would like to write somewhat semi elegant code instead of the horror that is our game so far.
I read the post Justin I got it. Was that a jab at my flow chart? Dang it Shelby why do you sound so surprised that I asked a good question?! ;_;
ReplyDelete