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
Similar Posts:
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
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
Jan 6, 2009
I have tried to create a simple Hangman game, it works great, but I have two problems. Number one, the course I�m taking requires that there should be an if else statement in the actionscript programming (in an appropriate manner in connection with the user interaction) and I realy don�t know how to fix that. I�m tearing my hair. Number 2 Preferably I would like the program, alternating between several different words.
stop();
okey._visible=false;
akey._visible=false;
pkey._visible=false;
[code].....
View 2 Replies
Feb 17, 2010
I'm looking to do a very simple spot the difference game using flash CS3 and actionscript 2 for a school project.
I have 2 images on separate layers on a timeline in the same frame, which has been paused using the 'stop' command. I am looking to have around 4 differences that, when clicked, will be recorded at the bottom of the screen.
The problem is, I am unable to find a way to get the differences recorded at the bottom in the order the user finds them, where each one is entered when the user clicks it, leaving gaps for those that haven't been found.
Being only a basic user, I am only familiar with scenes and basic timeline controls, and i'm hoping there's a relatively simple way of achieving this. However I am perfectly comfortable with using more complex actionscript, having done some programming before.
View 9 Replies
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
Oct 19, 2011
Is it possible to make game/application for mobile using flash?, I have been making flash interactive content and web using action script but never try it in mobile, if is possible, then how should i start, where thing should i take care of, like the screen size and swf file size, reloader and stuff? does the workflow the same as in doing for web? or u need other programming skill to do it? Or is there a simpler solution for making mobile game.
View 2 Replies
Dec 3, 2010
I created a Flash game using the accelerometer and want to install it into my HTC mobile phone that uses win mobile 6.1. How do I publish it so that I can use it for my mobile phone and access it through my phone like the other games?
View 8 Replies
Feb 14, 2012
I've recently tried FlashPunk for game development and it seems to be easy enough to comprehend, however, when me and a friend tested simple apps coded in it on the iPhone, it seems to be acquiring an unnecessarily large amount of memory plus dropping framerates.
Are there any other choices for game development with ActionScript 3 with frameworks that are optimized for mobile gaming?
View 2 Replies
Apr 5, 2011
I am looking to create a multiplayer game for both mobile devices (iPhone, Android, etc) and desktops. I have been looking at creating the game in Flash for desktops and writing the game in native language on the mobile device. Does anyone know of a good multiplayer socket server that work for connecting both the mobile and the desktop applications together.I have looked into SmartFoxServer (had a lot of trouble getting that working for some reason) and red5.
View 1 Replies
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
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
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
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
Nov 15, 2003
im trying to create a mobile phone in flash, so the user clicks the buttons and the numbers come up on screen. Im having trouble making it display the numbers i want, for referance ive used the code:
on (release) {
_root.screen = _root.screen*10 +1
}
on the button, and replaced the 1 where needed. It works so far, except for the 0, * and # buttons
View 3 Replies
Jun 30, 2004
I can't pinpoint or make up a set of calculus to determine the right formula which describes a curve that goes through 3 specific points...I'll try to say it with a more hand-on approach. I have a spaceship which can move vertically,located to the left.The enemies, obviously, arrive from the right. Now, when i click anywhere on the scene,I want a missile/plasma orb/projectile to be shot from the spaceship, but doing more than going in a straight line: imagine 3 points, one at the spaceship, one in front (therefore to the right) of the spaceship (5/10 units in front) and the third at the click location. How do I determine the formula of the curve that goes along these three points?
View 6 Replies
Jan 2, 2007
I have Macromedia flash 8.0 and i want to create a simple ticker which contains Text that scrolls right to left,over and over.
View 3 Replies
Oct 21, 2009
with the FLVPlayback component i can get a nice looking basic player for .flv files easily..is there some way to set up the same functions to create a very simple mp3 player with flash?
View 1 Replies
Nov 10, 2009
I go to create a simple navigation with a set of buttons in Flash. For some reason when I go to type the name of the buttons my font is messed up and not smooth.... I am not sure if this is a setting or what, totally confused.[code]...
View 1 Replies
Aug 20, 2011
How can create preloader in flash (AS2).
View 7 Replies
Jun 27, 2010
I really don't want something sophisticated, in fact I want the simplest animation for learning purpose:I just want to move a shape on a straight line.Is it possible to do so in pure actionscript (with flex sdk only) by creating a timeline programmatically or without creating timeline ?
View 1 Replies
Jul 13, 2011
When I create a simple button in flash with AS3, I get a "flash" when I click on the button that echos the background color (so if I am going from one bkg color to another, you can see it). The flash is the rectangular shape behind the button.If I create the button with AS2 code, it doesn't happen![code]
View 2 Replies
Jun 4, 2007
I am wondering how to create a basic flash counter.
As in, when something happens, I want a variable to equal 1, and then, if something else happens, I want that same variable to then be 2.
Etc .etc.
I think there is something to do with ++ , but I'm unclear about the syntax.
View 1 Replies
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
Oct 22, 2011
I am in the process of creating a vertical scrolling space shooter game for deployment on mobile platforms using AIR.I've used some excellent tutorials online, video tutorials on Lynda and several books, including Game Programming University.Something they all seem to gloss over are the various screens that will be used.
For instance, my game right now will use a splash screen, a main menu screen, a credits screen,a settings screen, a difficulties screen, an instruction screen, an end game screen and save/load screen...and a play game screen, where the actual game will be played.I've created the screens as seperate frames in the main timeline with stop commands in between and code on each page (I know... bad!... but easy).So basically,they can navigate through the menus using buttons (mouseclicks, which will work with touchs as well) and when they are How do I pass data between them? I was thinking of storing it in shared object.
View 1 Replies
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
Mar 31, 2009
I wanted to create a simple flash contact form for my flash website. I went through Lee's tutorial on how to create the contact form and PHP file to go with it. I've uploaded everything to my server and tested the form. My flash form consists of Name, Subject, Message, and Email fields. When I receive the email all that comes through is this with none of the actual message that was written IN the contact form:
Name: Subject: Message: Email: The 'From' field is also blank. I don't know if my problem is with flash, my PHP code, or with my server. Can someone take a look at this and tell me what's wrong? I can't seem to find any errors from Lee's tutorial with my code or labeling.
[Code]...
View 5 Replies
Aug 11, 2010
I want to create a flash game (a simple drag and drop, probably) and at the end of it, if the user wins, I wanna send him/her to a "certificate" page where there will be a certificate that I have designed. The user will then have the option of printing this certificate.
View 1 Replies
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
Nov 26, 2010
I am developing a Jeopardy-like game in Flash CS5. I am familiar with Flash CS5, but new to AS3. I don't know the language well, and to top it off my code hints don't work in Flash CS5. After researching this I've learned it is a bug that Adobe has yet to resolve. Anyway I am trying to program this game with very little knowledge about the language I am using. I've been watching tutorials and googling specific questions, but it comes down to the fact that I don't speak the language and don't have the resource (code hints) to make the language more available to me.What I am trying to do is simple:Imagine a Jeopardy game board.On the answer screen there is a button that takes you back to the gameboard. Here's the catch: the gameboard must remember which boxes have been chosen and not display those dollar values.
I understand how to program the buttons. I've been using gotoandstop for that. I am trying to figure out the best way to program this so the game remembers which boxes have already been chosen throughout the entire game.The specific question I have at the moment is how to reference an instance on another frame than the frame that has the code on it. For example: The gameboard is on frame 5. When the category A for $200 box (buttonA1) is clicked a Boolean var called 'chosen' is created and assigned the value of true. then the gotoandStop command moves the game to frame 10 which is where the question for category A for $200 lives. There is a button on frame 10 that takes you to the answer, which is on frame 11. And on frame 11, when you click on the button to take you back to the gameboard, I want it so that if chosen = true then buttonA1.visible = false. I get an error because buttonA1 doesn't exist on frame 11 - it lives on frame 5 and I have no idea how to reference it so that it will not be visible.
View 2 Replies