MX04 Creating Simple Flash Game

Sep 8, 2009

I'm sort of new to Flash, have been using it for ages but just to animate, i haven't done any programming or interactive stuff for years, so i feel new to it again!Creating a very simple platform.Movie clip of the character (instance name z_1)- runs button - when pressed makes z_1 invisible and loads another movieclip of him firing a weapon (z_fire). (also makes ground stop moving- basically game is a static running animation, over a moving ground, if that makes sense)This all works fine, i even figured how to make the score increase!After the firing animation is finished (there is a stop on the movieclip) i want the original running animation to be visible again and for the ground etc to play again. The firing animation is only 12 frames long so i imagine i need to tell the button to resume normal service on the stage after that time period![code]It's probably completely wrong but it works, i just need to know the extra code to make the original animations start back again after z_fire has played.

View 2 Replies


Similar Posts:


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 2.0 :: [MX04]Simple Preloaders Shows Up After 50%?

Nov 1, 2004

I'm using a simpel preloader script that holds the movie on frame 1, and plays frame 2 when everything is loaded.I used this script before without any problems, but for some reason the textfield with the "loading"-text only shows up at exactly 50% There are no other objects/movieclips/textfieds except this one "loading"-text on frame 1. When I trace the 'update()'-function, it traces once at the beginning of the script, holds, and than traces as it should after 50%...Here's my code at frame 1:

Code:
stop();
preloaden();

[code].....

View 5 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 2.0 :: MX04 - Create A Script Where The User Inputs A Maths Equation (something Simple Like 5 + 2 * 10)?

Aug 1, 2010

I am trying to create a script, where the user inputs a maths equation (something simple like 5 + 2 * 10), I have managed to break down the text into an array and have the numbers in one array and the symbols in another, I wanted the computer to then work it out, however I cant seem to think of how to do this and the methods that I have tried have failed.there is one dynamic box and the value of that is then broken down by an array split(" "), however this leaves the values in an array and it is percieved as a string not a number and so when i try to work it outit just displays 5 * 10, how would i get it to work that out?

View 1 Replies

ActionScript 2.0 :: [MX04] Make A 3rd Person Chase Game?

Jan 25, 2009

I'm trying to make a 3rd person chase game. An issue I'm coming across that I would like to get some advice on is the AS I'm using for the walls.First off, here's the code for the character:

PHP Code:

onClipEvent(enterFrame){
if(Key.isDown(Key.LEFT)){
_root.blue_xaccel=_root.blue_xaccel-1;

[code]....

The whole idea behind this is to create a sort of acceleration. Now, when the player hits a wall, it's supposed to stop him.

Wall code:

PHP Code:

onClipEvent(enterFrame)
{
if(this.hitTest(_root.blueguy))

[code]....

Now, the code does what it's supposed to. This is a left wall. It stops the guy, and even pushes him back to the right. However, if the guy has some acceleration going toward to wall, he can go through it a bit.Example: The character is traveling at 8 pixels, but only three pixels away from the wall. In the next frame, he will move 8 pixels, and be 5 frames into the wall.

View 2 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

Professional :: Buy Book To Make A Simple Flash Game?

Jul 29, 2010

I need to make or buy a template for a simple flash game for a clients website. It has to be legit to buy. It is about 5 pages long. You are asked a question, you select a radio button for the answer to the question, it compiles all your answers and gives you a result.I know flash pretty well but ccording to budget and time.it is best not to have to experiment.

View 2 Replies

ActionScript 1/2 :: Scoring And Data Collection For Simple Flash Game

Nov 29, 2011

My company has developed a very simple "Whack-a-Mole" type of game for a social media campaign. See here: [URL]. Our client is now requesting that we add a scoring system so that we can offer a prize to the 3 top scores. What I need is to be able to link the number of "whacks" to a score and enable the user to input their email address at the end of the game connected to the score they achieve.

View 5 Replies

ActionScript 2.0 :: Create A Simple Flash Mathematics Game For Mobile

Jul 21, 2010

I am a newbie in flash actionscript. My assignment needed me to create a simple flash mathematics game for mobile. Some Mathematics question will appear in order and 4 options will be provided for each question. On the top, there will be an object. The object will move 1 step forward if the answer for the question is correct. But if the answer is wrong, there will be a popup message "try again". when the object move to the ending point. You win the game. And the timer will stop timing and record the time in the memory. And the time will be display in a high score tab.

View 0 Replies

IDE :: Creating A SImple Button Flash CS3

Jan 30, 2009

This used to be so easy to do back in the day, but not any more. I'm trying to create a reeaaally simple button in Flash CS3 that on release goes to and plays the next frame.[code]All the button does is starts an mp3 that's embedded in the file. I've made tons of these in the past, but now with CS3 I'm finding this task very difficult. The code is in the button instance, but I'm getting the following error when I publish.

View 1 Replies

Creating A Simple Rising Number Flash Animation?

Feb 25, 2011

I'm doing a simple commercial animation for school and it is about raising gas prices.I wanted to animate numbers rising but can't find ANYTHING close to what i need

View 5 Replies

ActionScript 3.0 :: Button - Creating A Simple Navigate To URL In Flash CS3

Oct 31, 2008

I am having serious problems with creating a simple navigate to URL in Flash CS3. The code I have is:

[Code]...

I have put this in the first timeline in my movie. When I "check syntax" everything seems great. But when I publish as AS3 I recieve the following error:

[Code]...

View 7 Replies

Flash :: Creating A Simple Flv Video Gallery With (using Flex + AIR)

Oct 24, 2011

I'm just moving from programming in Flash to Flex.

I want to create a simple gallery which is loaded with locally stored FLV short clips. I know how to create a text/image gallery, but I wasn't able to put the VideoDisplay component in the List control.

The final result should be a gallery with videos playing while the cursor is on top of them.

View 1 Replies

AS2 :: CS3 : Creating A Flash Game?

Mar 22, 2009

And I am creating a box game where the user has to avoid the boxes but i want to put lives on so when the user moves over the box one of the lives goes down.

View 8 Replies

ActionScript 3.0 :: Creating A Simple Link Between Files On Computer Using Flash Cs4?

Oct 4, 2009

a code for creating a simple link between files on my computer using flash cs4? Im trying to link sperate swf files within the folder. Im trying to make a cd and i have 5 sperate swf files that need to link to each other and back to the home page which is also a seperate swf file.

View 4 Replies

ActionScript 2.0 :: [FMX] Creating A Simple Read & Write Database In Flash?

Feb 4, 2005

I'm working on this flash game right now and I need to implement a simple players database...

It needs to be both read and writable . Meaning, when the player register to save his character information , he needs to key in his email and a password and create an account. The account shall store that player's life amount, ammunition etc . All the infos are stored on an external file and retrieved again when the player logins to the game with the email as his login ID. Security issues are not the biggest concern here because its not exactly meant to be an online game and I don't think hacking would be something I need to worry about ^^'''

I've tried Xml with AS, but I realised that, that alone canot allow me to write the player's info into the xml file.

I'm not exactly an mySQL idiot...but I really have very(x2) rusty and limited knowledge of it. All the server topics confuses me and I've had no experience with Microsoft Access.

View 2 Replies

ActionScript 3.0 :: Creating A 3D Game In Flash?

Nov 5, 2009

So i need to create a 3D game in flash. What is the best way of doing that? Do I need to use Papervision 3D, or can I just import 3D animations and code it in Flash?

View 4 Replies

Actionscript 3 :: Creating A Blit Game In Flash As3?

Jan 11, 2010

I am creating a blit game and as of right now, the only thing that is blitting is the world itself (i.e. roads, fences). i was planning on displaying my character as a sprite and any interactive objects that it comes by as sprites as well.PickUps, Houses, Enemies. I was wanting to know what are the best practices when it comes to this. does this seem wise. When normallying blitting a game, how much of the game is actual blit, and how much should be display objects.

View 2 Replies

Adobe :: Useful To Use After Effects When Creating A Flash Game?

May 12, 2010

Well, the title said everything, I saw some very nice effects using After Effects, but I want to apply those to a Flash game.. will it be useful?, or After Effects only works on cut scenes, animations, etc?

View 1 Replies

Flash - Creating A Game Using The Platogo Engine?

Jul 2, 2011

I just started to learn AS3 and decided to use the Platogo engine, and I got stuck on the first part. It is described as follows:

[Code]...

View 1 Replies

ActionScript 2.0 :: Creating Flash Game With Story Dialogue

Mar 9, 2011

I'm using Macromedia Flash Professional 8 at the moment, and I'm fairly inexperienced with actionscript and most Flash processes. What I'm looking to do is create a game of sorts where characters appear on either side of the screen and a dialogue box appears at the bottom with text scrolling across every time the player clicks "Next" or whatever, and the characters' mouths move and their eyes blink as the text scrolls. We're using voice actors so we'd put an audio clip at the start of each piece of dialogue.

View 1 Replies

Sharedobject - Creating A Pacman-style Game Using Flash ?

Sep 22, 2010

Creating a pacman-style game using Flash (AS3). There are 3 players competing to eat the most dots. Right now when one player eats a dot, on that player's screen the dot goes away (but only for a second) and appears again in the screen. The other player playing, doesn't see that the dot went away and reappeared.Using hitTestObject, when a player touches a dot, the dot should no longer be seen on the stage. I'm using shared object to create this multi-player game environment. I'm new in using SharedObject and also AS3.

public function PlayerSelect()
{
nc = new NetConnection();[code]....

View 1 Replies

Actionscript 3.0 :: Creating A Side-scrolling Action Game In Flash?

Nov 15, 2011

As you may have seen from my previous posts, I am creating a side-scrolling action game in Flash/Actionscript 3.0. Right now I am trying to get enemy objects to face the player's direction. Here is what I mean (dartD1 is an instance of the enemy character object. If its scaleX is 1, it's facing right; if its scaleX is -1, it's facing left):

[Code]...

View 2 Replies

Actionscript 3 :: Creating Irregular Shapes For A Jigsaw Puzzle Game In Flash

Aug 17, 2011

I want to make a jigsaw puzzle in flash. I know how to create square kind of shapes. But I want to create this kind of irregular shapes. See the live demo of puzzles in the links shown

[URL]

I just want to how to create the irregular shapes.

View 4 Replies

Actionscript 3 :: Creating A Flash Drag And Drop Jeweler Game - Rotating The Ellipse?

Nov 22, 2011

I'm trying to design a child's bracelet game, where they can drag and drop beads onto a string (circle) but I'm having trouble snapping the object onto my ellipse (circle), Currently the ball (bead) is stuck rotating around the ellipse, but I need it and multiples to be dragged from the bottom of the screen and then be able to snap to the ellipse once its closer, basically so that the child can choose a bead and drag it onto a string, to create their very own bracelet,

[Code]...

View 1 Replies

ActionScript 2.0 :: MX Simple Quiz Game?

Dec 12, 2003

I have developed a simple quiz game, but im having a slight problem with it.I have a variable set to myScore=0

Everytime you get a right answer it should increment 2points But when you get all 3 answers correct i get a final score of 4points

View 2 Replies

Pointers For Designing Simple Interactive Game?

May 13, 2009

I'm looking to build a very simple (hopefully!) interactive game.

- A number of balls are situated at the bottom of the stage.

- There are several dropzones which the balls can be placed in.

-Once a dropzone is occupied with a ball, its not possible to populate that the dropzone with another ball until the present one has been removed. -Depending on which balls are present in the dropzones, the balls animate differently. the red ball is placed in a dropzone.  There are currently no other dropzones populated with a ball.

[Code]...

View 5 Replies

ActionScript 1/2 :: Create A Simple Timer For A Car Game?

Aug 25, 2009

I just want to create a simple timer for a car game which notes the lap time each time you cross the finish line. I then want to be able to use the "gotoAndPlay (frame number)" once either a certain amount of laps have been completed or when the timer hits a specified number.I have exhausted tutorials, none of which actually work - what im looking for is 'i think' actually quite simple but i am having great difficulty.... The car game tutorial with 4 parts which seems to pop up everywhere does not help as it is very complex and can only be used when the game is designed in the way that the guys has made it.

View 3 Replies

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







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