View Full Version : Here's the fla.
Domienrd
April 13th, 2005, 10:49 PM
Hey guys, I was just wondering if a few of you could look at my flash and tell me what you think... I still need to get the bad guys to work ( the animations are there, but they don't do anything).
Ps: Move with arrows, shoot with control, and I don't know how to hadd the duck and jump yet.
mixedtrigeno
April 14th, 2005, 03:21 AM
hey i did the duck i was gonna do the jumping but you will have to do the hittest for the jumping
here is the code for the jumping it goes something like this-i think-
if (Key.isDown(Key.UP) && !jumping) {
this.gotoAndStop("jump");
jumping = true;
move = false;
vel_y = 17;
}
if (jumping == true) {
vel_y -= 1;
if (vel_y<=-17) {
vel_y = -17;
}
this._y -= vel_y;
}
and here is your fla with the duck working just press down and he will duck.
Domienrd
April 14th, 2005, 12:31 PM
hey i did the duck i was gonna do the jumping but you will have to do the hittest for the jumping
here is the code for the jumping it goes something like this-i think-
if (Key.isDown(Key.UP) && !jumping) {
this.gotoAndStop("jump");
jumping = true;
move = false;
vel_y = 17;
}
if (jumping == true) {
vel_y -= 1;
if (vel_y<=-17) {
vel_y = -17;
}
this._y -= vel_y;
}
and here is your fla with the duck working just press down and he will duck. alright, thanks, but what did you think of what I've got so far? I know the bad guys don't work... but you can kill them, hahahaha
ps: I don't see the modified fla. you said was there... Did you upload it correctly?
Domienrd
April 15th, 2005, 05:15 PM
please...
nathan99
April 16th, 2005, 12:17 AM
i just put in the code previously given for jump, made health go down, enemies walk, character die, land on platform, however, shooting not working, will look at that
nathan99
April 16th, 2005, 03:00 AM
a slightly more advanced version
nathan99
April 16th, 2005, 11:10 AM
man im kinda hooked on helping ur game
I recommend changing vel_y to 11, thats the best for this game
Domienrd
April 16th, 2005, 05:47 PM
thank you so much, I havn't tried them out yet ( becaues my computer doesn't have internet and the computer I'm on doesn't have flash), thank you...
Domienrd
April 16th, 2005, 05:50 PM
Sorry for double posting, I just had to say that for my first game ( and it's not even near being done yet), I'm quite proud of my game ( even though the programing has been done by others)....
nathan99
April 16th, 2005, 11:47 PM
if you put a falling picture, and a kickin picture if you waNT, i could put them in too
Domienrd
April 17th, 2005, 10:00 PM
if you put a falling picture, and a kickin picture if you waNT, i could put them in too thanks, I'll get to work on those tonight
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.