I will upload the new .swf 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.
up - aim up
left - go left
right - go right
down - punch your grandma in the uterus
ctrl - shoot
space - jump
d - dismount
http://home.comcast.net/~jm8881/school/PlatformGame.swf
when you download it and run it, the text may be off center on the first screen. Why? Hell if i know.
Subscribe to:
Post Comments (Atom)
It seems fine so far accept when you play a few times the enemies appears in the wall and gets stuck not good,but other that good job.
ReplyDeleteI just took care of the problem with the enemies jumping to where they aren't supposed to be when you restart the level too many times. And by too many I mean once.
ReplyDeleteIt's not a problem anymore. I "fixed" it.
I had the same problem. The enemies would occasionally spawn in the walls and be trapped. It runs really smooth Justin and the collision is great. I haven't seen the skewed text yet but I only played around five times. I love it Flash Man!
ReplyDeleteMaybe you should consider pressing press down, it may relieve your anger. ^_~
You are awesome.
ReplyDeleteThis is nice. I can't wait until we have a level.
ReplyDeleteI see ya back there you little shitcorn!
ReplyDelete