2D Side view shooter - Where can I find a good tutorial to get started?
Posted on March 13th, 2010 by jane
Does anyone know where I can get some good tutorials to start off?
Thanks in advance.
I have Flash MX 2004 Pro btw...
if (Key.isDown(Key.RIGHT)){
this._xscale = 100;
this.gotoAndStop(2);
}else {
this.gotoAndStop(1);
}
I have the gun bitmap as a movie clip with the following frames inside:
Frame 1 - Plain gun bitmap with stop action
Frame 2 - Gun with little yellow thing at the end (just to look like its firing) and shot sound streaming.
I can't seem to get the sound to play, and the gun just stays with the yellow thing, it doesn't return to the normal postion.
This is what I have in the movie clip actions:
onClipEvent (keyDown) {
if (Key.isDown(Key.SPACE)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Any help?
I know how to make a character go left, right, up and down but how can I make a character change the image when I go left or right? To simplifie: When character is NOT moving then animation "standing.png" and when character is moving then this animation "waling.png". How can I do this?
Thanks in advance.
Now the only problem is holding the fire key, I can't get the fire to repeat at a certain point. Since it's a machine gun and the shoot sound is one bullet at a time, the sound must repeat about half way through the full sound for a correct rate of fire, I can't really explain it so if you don't understand there's no way I can explain better.
Btw, I don't understand the MC inside MC thing, could you explain better?
Thanks.
And another quick thing, how do I set the action for the left mouse button instead of space, left arrow key, etc.?
I'll probably whip up a (Flash) tutorial. In the meantime, I would check out www.flashkit.com for game tuts. (No offense kirupa ;))
Well, I'm kind of new to AS, I just know the basic stuff to create some flash cartoon movies but I learn fast, that's why I want a tutorial.
Thanks anyway.
Thanks again!
on(mouseDown) {
//shooting crap
}
onClipEvent(load) {
this.startDrag(true);
}
Lol, thanks! :)
#If you have any other info about this subject , Please add it free.# |