English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I'm tring to make a game in flash with no experience or knowledge of actionscript. I need to know how:

1 stop a certain frame not all of them

2 move in all directions

3 use a point and click method of moving a symbol across the screen.

4 get another symbol to follow you

5 make the other symbol shoot you

6 double click (if possible) to shoot at an area as the bullet goes on forever.

7 pick up different weapons

8 drop bombs with a timer and explsion takes health away

9 health bar goes down certain amont on each shot

Makes sounds appear in certain cercumstances like shooting.

I'm making a game where you have to beat up this person but when he gets mad he trys to kill you. Any more actionscript would be appreciated

2006-09-25 06:28:32 · 4 answers · asked by god0fgod 5 in Computers & Internet Programming & Design

well so far i got a button to work that leads to an animation which leads to the start of the game.

2006-09-25 06:48:04 · update #1

I think i may buy a book since i do not get all aspects of this.
I now allso need to know how i can move certain frames back at a certain point without a use of a button

2006-09-26 00:45:18 · update #2

When i said how to stop a frame i meant a particular layer. :c

2006-09-26 05:27:32 · update #3

4 answers

ok, it seems like you need a book to teach you actionscript. I can help you with some of them, and I make flash games as well, but it is your game. Dont try to make a game when you don't know any actionScript; get some books and tutorials and read through them!

---------
1 stop a certain frame not all of them: stop();

2 move in all directions:
make the your character's instance name "you", and type in the folowing code:

var intervalID = set interval(checkKeys, 25);
function checkKeys():Void
{
if (Key.isDown(Key.LEFT) == true)
{
you._x -= 5;
}
if (Key.isDown(Key.RIGHT) == true)
{
you._x += 5;
}
if (Key.isDown(Key.UP) == true)
{
you._y -= 5;
}
if (Key.isDown(Key.DOWN) == true)
{
you._y += 5;
}
}

3 use a point and click method of moving a symbol across the screen.:
hint: use the onMouseDown method

4 get another symbol to follow you:
Hint: use the onEnterFrame, so in each frame, you move the symbol. move the symbol by adding or subracting a certain amount of pixels from the _x position and the _y position(e.g. you._x = you._x - 10 //make you move left 10 pixels each time)

5 make the other symbol shoot you:
first, you have to attach a bullet to the stage(using the attachMovie method), and get the bullet go to the position where you were.

7 pick up different weapons:
use the hitTest to determine if one movie clip is overlapping another. if returns true, then write whatever code to add the weapon to your weapon list.

8. drop bombs with a timer and explsion takes health away:
try this: use the set interval for the timer, and use the hitTest for detecting whether the explosion hits you or not. if hits, then minus your health for whatever number.
--------
you won't understand a single thing until you've got some basic programming knowledge.

2006-09-25 20:12:56 · answer #1 · answered by jason c 2 · 0 0

You have a pretty good idea about how you want the game to be. If you want you could be a pro game designer / developer. That's great you are experimenting with flash and asking for help. But if you are thinking to persue it seriously, you would have to join a course. Flash is not that easy...too many details...too many complications. You might want to consider joining a course/class.
Besides, Flash isn't the only software for game designing. Experiment with your talents! Good luck!

2006-09-25 14:30:03 · answer #2 · answered by Anonymous · 0 0

It not a easy job but anywayz good luck

2006-09-25 13:30:26 · answer #3 · answered by Anonymous · 0 0

Good luck then...keep us informed on ur progress plz :D

2006-09-25 13:41:08 · answer #4 · answered by Adrin K 2 · 0 0

fedest.com, questions and answers