ActionScript 2.0 :: Flash MX Platformer Game?

Nov 3, 2011

I'm in the process of building a platformer with Flash MX using Action Script 2.0, I'm following this tutorial: [URL].. However I'm not following the tutorial, I downloaded the .fla file and followed that. The .fla file available for download functions, but my recreation does not.

I have used all the elements from the tutorial platformer, the scoring counter, the health counter, the pickups, the enemies etc. But it does not work properly.

Here is my attempt for download, can someone please explain where i've gone wrong, and if it's not too much trouble, fix it.

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Create A Simple Platformer Game?

Dec 12, 2009

I want to create a platformer game, but there is no tutorials that actually tell you how.What I dont understand is:

- How the level changes when you get to a certain point
- How to do collision with walls
- How to make the player move

View 5 Replies

ActionScript 2.0 :: Background Scrolling For Platformer Game?

Nov 30, 2009

I'm making a simple side scrolling platform game called Kit Run. For moving left and right, I have the sprite run in place while the background scrolls in the opposite direction. However, when the sprite jumps straight up and down, the background stays stationary. What I need help with is getting the background to scroll down when the sprite moves up beyond a certain point, and up when the sprite moves down beyond a certain point. Ive tried several probably unnecessarily complicated methods that only sort of work.

View 4 Replies

ActionScript 3.0 :: Create A Scrolling Platformer Game?

Aug 10, 2010

I'm about to create a scrolling platformer game, something like Gum Drop Hop, where the background is scrolling constantly, and you have to keep running or else you'll die. Do you know any tutorials on how to do something like this? I'm not really sure how I would generate random platforms all the time...

View 5 Replies

ActionScript 2.0 :: Multiple Collision Detection Code For A Platformer Game

Dec 15, 2002

I'm having a problem with my multiple collision detection code for a platformer game.. It checks for collisions on all objects separately and it checks only one object per frame. I need to make somekind of a loop so that it would check every object in one frame. Anyone got an idea? It's coded like this:

[Code]...

View 4 Replies

ActionScript 3.0 :: Scripting Platformer Game - When Hit "A", The Player Attacks And If Its Close, The Enemy Dies?

Nov 19, 2009

I have my player, I have my enemy, and I want to make it so that when I hit "A", the player attacks and if its close enough to the enemy, the enemy dies.I've found how to do this in AS2, but not AS3.

View 4 Replies

Actionscript 2.0 :: Platformer With Ground And Water?

Aug 21, 2010

i'm currently making a flash game which has ground and water.And its going to be big.For someone whos 13 like me i have problems.The script was edited recently so sorry to anyone who was working on it.the issues are underlined.here the script.

onClipEvent (load) {
grav = 2;
speed = 15;

[code].....

View 2 Replies

ActionScript 3.0 :: Slope Detection In Platformer

Jun 15, 2010

I have an art based platformer with a movie clip that is basically a triangle shaped object that serves as the slope.My problem is in the collision detection with the slope. Here's the code that i currently have - [code]This basically places the rectangle shape that serves as the main player (_rec) along the slope and increments its y position based on it's current x position. The reg point of the slope is on the bottom left.The problem is that this code comes into effect even if _rec is jumping over the triangle because of the square shaped hitbox of the slope. Also, for the same reason, I cannot jump while on the slope itself.I know of a way to rotate the character based on the incline in the ground but I don't really like that idea. The character should stay vertical at all times. I really don't want to do a tile based version as I have a lot of art already designed, it's only the ground objects that are basic shapes.

View 1 Replies

ActionScript 3.0 :: Make Coins For A Platformer?

Apr 11, 2011

how to make coins for a platformer, the video however did not show how to keep count of the coins you collect....I've tried a million things but nothing seems to work! Here is a link to the video http:[url]....what I have to do to keep track (score) of how many coins I pick up,

View 7 Replies

ActionScript 3.0 :: Platformer (Collision Between Player And Terrain)

Nov 6, 2010

I'm doing a project at the moment where I am creating a side scrolling platformer in AS3. Currently I have:

-The "Character' which is a ball that can be controlled using the arrow keys and has bounce, friction, gravity etc.
-A scrolling system, the character can move freely within an invisible inner boundary, once the character leaves this boundary the background will scroll to compensate.

The thing I am having issues with is creating collision detection between the "Character" and the "Background.Ground" so that the character can move along the shape of the Ground movieclip within the background movieclip.

Actionscript Code:
package{
import flash.display.Sprite;
import flash.events.Event;
import flash.display.MovieClip;
import flash.display.Stage;
import flash.geom.Transform;
import flash.events.KeyboardEvent;
[Code] .....

View 21 Replies

ActionScript 2.0 :: Maximum Jump Height For Platformer?

Jul 6, 2008

I am making my second game, and it's going to be a platformer. Unfortunately, I have no idea how to make the character (named hero) jump only to a certain height, and then fall back down. someone, please post a way to do this!

View 1 Replies

ActionScript 3.0 :: Platformer - Moving Character And Loading Levels

Jan 28, 2012

I am currently working on a platformer using accelerometer to move the character and xml to load levels as so..
[as]
level.x += (e.accelerationX*40);
if (e.accelerationX > 5) {
e.accelerationX = 5;
} if (e.accelerationX * 40 < 3 && e.accelerationX * 40 > -3) {
player.gotoAndStop(1);
[Code] .....
And it is all added into one movieclip called level. My problem is when the character hits under a platform it will go up it which I don't want it too, I don't know how to fix it heres the gravity code.

View 11 Replies

ActionScript 2.0 :: Platformer - Character Clips Landing From Jump

May 25, 2011

I'm trying to make a platformer and I'm having a problem where the character will clip half through the ground upon landing from a jump. Just so you have a clear picture -- right now all that's on the stage is the character (which the code is placed in) and the ground (a completely flat plane called 'ground')

Here's the code:
onClipEvent(load) {
jumpHeight =0;
defaultJumpSpeed = 20;
jumpSpeed = 20;
} onClipEvent(enterFrame) {
[Code] .....

Right now the character's jump constantly decreases to give the effect of gravity. It starts out positive (character moves up), then goes negative (character falls down) The character will only stop falling if they come in contact with the ground (in the form of a hit test). The problem (I think) is that the character can fall at, say, 36 pixels a second or more, so sometimes they'll be half through the ground before the hit test goes off and stops him from falling further. How do I stop it without making the character fall-rate really, really low.

View 2 Replies

ActionScript 3.0 :: Flash - Writing A Simple Game Rule For A Platform Game?

Feb 28, 2011

I'm creating a game at the moment for my university course and it involves the player character jumping on top of boxs twice to break them as opposed to just once.What would be the most efficient/simple way of writing this in Actionscript 3.

View 1 Replies

Actionscript 3 :: Flash Game Engine Selection Of An Awesome Game?

Dec 14, 2011

I am thinking of developing of a game like this: [URL]... Do you have any idea - by which game engine I may develop this type of games? I am not sure whether I have to use any 3d physics engine? I think JiglibFlash may be useful, but I am not sure.

View 1 Replies

Actionscript 3 :: Make A Game Tutorial Of Flash Game?

Apr 1, 2011

how to make a game tutorial as farmville game tutorial to teach the user to play the game. i have recently involve in make that kind of game tutorial for its user by actionscript 3

View 1 Replies

Flash Games - When Game Page Loading , The Flash Game Itself Does Not Appear?

Feb 15, 2010

When game page loading , the flash game itself does not appear ( just white area as the holder of the flash game) untill the game almost finish downloading, then it appears .. This long waiting with just white area makes visitors leave, thinking there was nothing there.

View 1 Replies

Flash :: Made A Game And In The Game?

Oct 20, 2009

well i made a game and in the game there is music at the first frame and when u lose to goes back to first fram and more music plays so they are overlapping.

View 10 Replies

Android :: Cross Platform Game - IOS : Develop A Very Simple Game For Iphone/ipad?

Mar 7, 2012

I am going to develop a very simple game for android and for iphone/ipad I have the option to develop it in cocos2d or in adobe flash air (i am not a developer, but i have 2 developers who are offering me the service)I have a developer that states that cocos2d is better and other one that states that adobe flash air.I want it in cross platform.the cost offered by both developers is the same..i have heard that adobe air has the flaw that it is very slow, is this real? if you had the 2 options which will you use to develop your game and why?

View 1 Replies

ActionScript 3.0 :: Game That Populates User-designed Cards Into The Game Using An External Xml File

Apr 24, 2011

I'm making a game that populates user-designed cards into the game using an external xml file. My main class loads the xml file and then calls to the "Card" class, which wants to use the xml file. I've tried using this.parent and it just gives me a null object reference error. This is what I have so far: Main.as

[Code]...

View 2 Replies

ActionScript 3.0 :: Making Game And Objects Would Spawn At Random And Be Able To Click But When De Game Starts Itself

Jul 4, 2010

currently i making this game and objects would spawn at random and be able to click but when de game starts itself, the spawn is correct but i am unable to make it stop when time goes to 0seconds.

View 1 Replies

ActionScript 3.0 :: Mahjong - Levels Of Blocks In Game - Layouts Of The Game Should Be Predefined Or They Should Be Dynamically Created?

Aug 3, 2011

I have recently started working with Mahjong game. But being not so experienced developer. I am just confuse about many aspects of it. So if anyone could throw some light on it. I have to build the game where there could be different number of tiles on screen. 32, 48, 64 , 80, 96, 112 and so on Now I have questions regarding the levels of blocks in this game. I mean the layouts of the game should be predefined or they should be dynamically created? Also I wanted to know how the surface of enable and disable symbols are created?

View 2 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 3.0 :: Making A Game Like Pokemon Trading Card Game?

Jul 23, 2010

im trying hard to make a Game like the Pokemon TCG .

View 2 Replies

Flex :: 2d Game Engine For Race Game Built To Webpage?

Nov 19, 2009

I think Flash/Flex is a good aproach for this case.We need to build some like the following

View 2 Replies

ActionScript 3.0 :: Create A Tamagotchi Game Type Game?

Mar 28, 2012

im trying to create a tamagotchi game type game. For some reason i can not add any items to the stage.Currently i have imported 2 png images to the stage and coverted them to movie clips. One is called TamagotchiCharacter and the other is called Beer. I have also created a new 2 AS3.0 script class called TamagotchiGame and DraggableItem. The following is TamagotchiGame:

Code:
package {
import flash.display.MovieClip;
public class TamagotchiGame extends MovieClip {

[code]....

I have assigned the above code as the BaseClass of the Beer symbol, this has allowed the beer to become draggable and droppable etc.when i run the program nothing happens, i just get a blank white screen.

View 2 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 :: Tracking Time - Count The Seconds Passed While Playing The Game And Gives A Bonus Multiplier To The Current Score When The Game Ends?

Mar 15, 2009

Is there a way to get this code to work? It's meant to count the seconds passed while playing the game and gives a bonus multiplier to the current score when the game ends. I don't know how to get the returned value to combine it into the multiplier int variable. Is there any way to get this code to work or is it completely wrong?

View 11 Replies

ActionScript 3.0 :: Sound Repeats From Game To Game

May 19, 2010

We have a bug in one game whereby the sound of the word repeats. Even when we use stopAllSounds - the sound is still kept in memory and you can hear it in the next activity - it's a disaster and kids get real angry.

View 3 Replies

Actionscript 3 :: Game Logic And Game Loops?

Oct 22, 2011

I am making a Shooting game in flash actionscript 3 and have some questions about the flow of logic and how to smartly use the OOPs concepts.There are mainly 3 classes:Main Class: Initializes the objects on the screen.Enemy Class: For moving the enemies around on the screen.Bullet Class: For shooting.What I want to do is find out if the Enemy has been hit by a bullet and do things which must be done as a result ...What I am doing right now is that I have a ENTER_FRAME event in which i check collision detection of each enemy unit (saved in an array) with the bullet instance created, and if it collides then perform all the necessary actions in the Main class .. clogging the Main class in the process

View 2 Replies







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