ActionScript 2.0 :: Picking Up Items And Chasing Character In Game

Mar 12, 2006

I am really new with flash and yet I needed to construct a simple one level game. What I have now is kinda similar to pacman but a bit different.
1) Lets say, like pacman, the user's character need to pick up things in the maze. but instead of the items are already there, i would like to have some already there and then when the user pass the path, some will randomly appear in the maze. e.g : like the fruits that will randomly appear in pacman.
2) How to make the bad character constantly chase the user's character throughout the game. only one bad character in this game chasing.

View 2 Replies


Similar Posts:


ActionScript 3.0 :: Chasing Hero Game Character As A Square And The Enemies Are Circles At The Moment

Sep 11, 2009

i am making a game and i have my main character as a square and the enemies are circles at the moment. i have just made the circles home in on the main character, but my problem is when the enemies come inline with the x or y coordinates of my character they start vibrating/shaking. im not sure how to fix this. i have included my fla so you can easily see whats going wrong.

View 1 Replies

ActionScript 3.0 :: Avatar/character Creator - Items Appear Over Other Items When The Corresponding Button Is Pressed?

Feb 9, 2010

I have a project underway where I am making an interactive game. It is a personal character creator game and I need Actionscript 3 help with this.Something similar here:http:[url]....
I have tried already with toggling visibility and 'gotoAndStop()' to make items appear over other items when the corresponding button is pressed, for example, when the user tries out different pants/shirts on their character.

View 1 Replies

ActionScript 3.0 :: Make A Game, And The Character Inside The Game Could Swim

Jun 13, 2009

I was trying to make a game, and the character inside the game could swim. However, I only wanted him to swim in short bursts that refueled every time he hit the ground.

View 9 Replies

ActionScript 2.0 :: Game Development - Game Character Dialogues?

Jan 22, 2010

It's about the "Game Character Dialogues", It is used to instruct the user what to do, like what you see in BookWorm or Diner DAsh.I used dynamic text fields to generate these dialogues,but as I continued doing it. I found myself stuck.I have no idea on how to change the words when the "next" button is clicked. there will be no previous button. but the dialogue will replay when the character is clicked.

View 3 Replies

ActionScript 3.0 :: Customize A Character For Game?

Jul 28, 2009

What is the best way to set up a game where I can customize my character? I want to be able to let the user select the clothes, skin color, hair style, etc, and then run a preset animation with that character in it, but am unsure how to set this up in Flash other than building a bunch of buttons with all of the possible options (too time consuming and I bet there's a better way).

View 2 Replies

ActionScript 3.0 :: Customize A Character For Game

Sep 30, 2009

What is the best way to set up a game where I can customize my character? I want to be able to let the user select the clothes, skin color, hair style, etc, and then run a preset animation with that character in it, but am unsure how to set this up in Flash other than building a bunch of buttons with all of the possible options (too time consuming and I bet there's a better way).

View 1 Replies

ActionScript 3.0 :: Making A Little Game With A Character?

Jun 12, 2010

I seem to be going round in circles. I am making a little game with a character, I want it so when you pressed left and up it goes left and up at the same time. Does any one know how to do this?

View 1 Replies

ActionScript 2.0 :: Character Movement Script For A Game?

Apr 15, 2010

I'm sorry if this is the wrong section. But I'm looking for help with my actionscript coding. I'm fairly new to Flash. I've only scripted some simple websites so far and this is the first time I try to make a flash game. I started yesterday but I'm already having problems with my script.

I have a scene with 2 layers: one with my character and one with the bounds (ground, ceiling and walls).

Inside my character movie clip, I have this: Which is basically a bunch of frames labeled and with the action to stop();. Each one containing another movie clip with the respective animations. So the idea was, when I press "A", jump to "walk left". And it kinda worked, but I have some problems and I'm not really sure how to solve them.

[Code]...

View 2 Replies

ActionScript 2.0 :: How To Make Character Attack In Game

Jun 8, 2011

I want to know how to make a character attack in a game. I've made a platformer game in which a character moves and jumps and collects the score balls, but the only thing I can't do is make him hit enemies.

View 1 Replies

Make A Fighting Game With My Own Character Skins?

Feb 12, 2012

I want to make a fighting game with my own character skins and those of my friends as a fun thing.I'd like it to have an intro, menu, character select, level select. I'd like the levels to be able to scroll and for the characters to have health metres. So what I am looking for is either a tutorial to build this up, or be able to look at a completed one and take it apart. I'll be able to handle the art on my own.

View 4 Replies

AS3 :: Make 3D Character Customization For Game In Flash?

Nov 17, 2011

Is it possible to make 3D character customization for game in flash? Any ideas, tips about that?. In 2D it's very simple but i don't know where i should begin in 3D. First of all - how character customization works in rpg games? Is character body and all cusomizable parts like hair face, solid model? Or it's just different objects in one container?

View 2 Replies

ActionScript 2.0 :: Restricting Game Character's Movement?

Aug 9, 2010

1. How do I prevent my scuba diver from leaving the screen? As when i hold either up, down, left or right long enough he will leave the stage entirely.2. How can I make my sharks enter the screen at random rather than having them enter from the same position each time? Here is my code:

(FOR MY SCUBA)
onClipEvent (load) {
xspeed = 10;

[code].....

View 3 Replies

Add More Items To Array For Game?

Oct 20, 2010

I am trying to make my game increase in balls after each level passed by the player.

The script below are all on an enterFrame function
var level:int = 5;
var ball:ball_mc;

[Code].....

View 1 Replies

CS3 Circular Logo Chasing Shine / Glare Effect

Mar 31, 2010

I'm trying to create a chasing reflection and a circular logo in flash, after effects or whatever!!! Do you know how to do this? It's more like if you had a chrome circular ring in your palm and as the sun hits it, the glare/shine would run around the edges of the logo, does this make any sense?

View 7 Replies

Character ANiamtion In Multiple Frames Not Playing In The Game?

Mar 28, 2009

So I have a MC character and have him moving with the arrows. Now there are multiple(5) frames inside of this MC. Walk Animation(which is the first frame in the MC), Standing Animation, etc. So when I hit left arrow he walks and the walk animation cycles. BUT!!! When I crouch, etc. It doesn't loop the animation it just sits on a still image (as if I did not have an animation on that frame). What am I doing wrong?The code i'm using after my if statement is gotoAndStop(frame)Within each MC there are more MC's and so on, I don't know if this screws with it.Here is an FLA, the code is partly me but ultimately from disastamaans tutorial(on the kongregate website) for basic platforming. I'm just trying to learn right now.Forgot to add that currently I have a total of five frames.1 Animated-walk2 Animated-stand3 Animated-jump4 Animated-crouch5 Animated-crouch walkThose are my five frames, and 1,2, and 3 work fine, only 4 and 5 won't animate?

View 4 Replies

ActionScript 2.0 :: Game Boundaries - Character Not Moving Across Border

Dec 13, 2009

I've been struggling with making boundaries with my game. I've managed to make boundaries, but in stead of my game character not moving across that border it just bounces back. Which is not the effect I want.

Here's my code
onClipEvent (enterFrame) {
if (Key.isDown(Key.LEFT)) {
xspeed -= power;
} if (Key.isDown(Key.RIGHT)) {
xspeed += power;
[Code] .....

View 3 Replies

ActionScript 2.0 :: Flash Game - How To Get Walking Animation For Character

Apr 4, 2011

I am currently making a platformer game but I can't seem to get a walking animation for my character. So far I have made a character which can move fine. Inside the characters movie clip are 2 frames (one standing and one walking) Now my problem is that I can get my character to move right and play the walking animation but when I walk left the walking animation doesn't play but the character still moves. I am using action script 2 and flash pro 8

onClipEvent (load) {
var ground:MovieClip = _root.ground;
var grav:Number = 0;
var gravity:Number = 2;
var speed:Number = 7;
[Code] .....

View 6 Replies

Actionscript :: Reasonably To Add A 3d Model For A Character In An Isometric Game Built?

Mar 11, 2011

I am developing an isometric game but I want the user to be able to see all sides of their character. Is it possible to import a 3d model into an actionscript (flash)? Also is this a good idea? Or should I stick with the basic 2d sprite idea?

View 1 Replies

ActionScript 3.0 :: Making A Game Character Run Like An Actual Person?

Sep 18, 2009

just wondering if anyone can help me with this I'm making a platform game and wanted to make my game character run when user press the keyboard left or right. But I want my character to run like an actual person instead of just sliding across the screen. I have no idea where to start and I can only find tutorial that teach how to make a character move by just using - or + number of pixels but that's not what I'm actually looking for. I prefer that my game character to be more lively. Does anyone know how??

View 2 Replies

ActionScript 3.0 :: Make A Character Select Screen For Game

Apr 14, 2010

i'm trying to make a character select screen for my game. now i've got a character with an instance name of "Character" and its just one. but i want to make like another scene or something where i can choose the character and the choosen character is used in the game.

View 1 Replies

ActionScript 2.0 :: Playing Sound When Character Touches Coin In Game?

Jul 5, 2011

I'm currently making a flash game and to insert sound. The sound effect has to play everytime the character touches the coin yet the coin still has to be able to unload. I never used sound before in flash.

View 1 Replies

Professional :: Make A Character Selection Screen For A Fighting Game?

Mar 6, 2010

how to make a fighting game in flash and i love it.but i was thinking about making my fighting game a game where you can select a character to play as. so i wanted to know if anyone knew a tutorial on how to make a character selection screen for a fighting game.

View 3 Replies

Actionscript 3 :: Where Should Damage Logic Go Game Engine Or Character Class?

May 22, 2010

I am making a game and I am trying to decide what is the best practice for exchanging damage between two objects on the screen. Should the damage be passed directly between the two objects or should it be pass through a central game engine that decides the damage and different criteria's such as hit or miss or amount dealt.

View 3 Replies

ActionScript 2.0 :: MX04 Falling Items Game?

Apr 27, 2009

Ok I want to create a falling items game, but how do you code the falling movie clips? sorta like catch the money, or something like that.

View 6 Replies

ActionScript 3.0 :: Game: Character Walks Around And Stops Walking When Hits A Hole?

Jul 7, 2011

I have a game where the character walks around the screen and stops if she hits a wall or a hole etc... - typical. HOWEVER - I coudn't get her to stop walking. Is there any standard code for this. If you tell to stop walking then she can't walk back out either etc... Also, she walked into the hole a little so being in the hole she definately couldn't walk any more not even back out as she would be walking inside the prohibited zone.

View 3 Replies

ActionScript 3.0 :: Platform Game - Character Stops Earlier Before Collision To Right Wall

Nov 29, 2009

I m under the process to create a platform based game,but stuck in a problem ,its probably concern with x-axis, actually my player stops certain distance before right wall and with left wall too,i tried to reduce the distance but end up in failure,i have attached the concern fla.

[Code]...

View 5 Replies

ActionScript 3.0 :: Make The Character In Flash Game Make A Jump When The Player Presses A Key?

Dec 19, 2009

i want to make the character in my flash game make a jump when the player presses a key,e.g. 'space',even the player release the key instantly,the character will still finish the complete jump process.

View 1 Replies

ActionScript 3.0 :: Basic 2D Game "camera" - Move The Character Using The Keyboard?

Jul 27, 2009

Everything going well so far except for camera control. I want the character to always be in the center of the screen. only when the side boundaries are reached, the character should leave the center of the screen to be able to reach the sides of the screen.Somewhat like this: http:[url]....I've tried 2 ways but both without succes:

- move the character using the keyboard, but somehow keep it in the center of the screen (have no idea on this one)

- move the entire area except the character to simulate movement.

This seems kind of ineffeciant but it worked out better that the previous attempt, the only problem is that the character doesn't return to the center of the screen when he leaves the boundary.The .fla's are available for download here http:[url]....

the actionscript is all in the first frame.try not to be too hard on the crappy visuals Ignore the comments too, theyre only there to help me understand what I did.The boundaries seem to be a bit sketchy aswell when moving to the sides, but that's not a big problem right now.

View 4 Replies

ActionScript 2.0 :: Instantiating Character Class Inside Of Game Class

Feb 18, 2007

I am having a problem instantiating a Character class inside of a game class.I am working on converting URL...l these tutorials to A.S. 2.0.[code]

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved