ActionScript 2.0 :: Possible To Make Game Without OnEnterFrame?
Dec 26, 2008
is it possible to create a game without using onEnterFrame?I read that using onEnterFrame lags the game when there are too many codes running inside that particular function.is there any example of games that does not use onEnterFrame?
View 2 Replies
Similar Posts:
Mar 29, 2008
onEnterFrame=null, onEnterFrame=undefined & delete onEnterFrame....
Which one to use??? What are the performance considerations. If all my movieclips on-stage are running a MovieClip.prototype.onEnterFrame = function() {run initial stuff before setting onEnterFrame=null/undefined... }, will there be performance hits? It's sad that delete onEnterFrame doesn't work unless I delete the prototype enterFrame as well, which would make the clips reinitailise itself again once you declare the enterFrame prototype again (i need to do this since there's more movieclips that end up appearing on-stage, and they need to automatically initialises themselves the moment they appear).
[Code]...
View 5 Replies
Dec 2, 2005
Is there a way to make a preloader base on onEnterFrame function and then delete it after the content has finished loading? I'm asking this because I used this method for some thumbnail preloader movie but the thing is that when I end up with 30 generated thumbnails they eat up processor power because each thumnail's onEnterFrame function is running endlessly..The code I used is this one and it's placed inside the tumbnail clip where the preloader components are:[code]Now, when I want the onEnterFrame action to stop (whe teh content has finished loading) I add the following line inside the else tag:[code]but I know it's not right because the preloader doesn't show anymore...it displays for a split second at the begining of the download and then it disapears and at the end the content is displayed..
View 1 Replies
Mar 13, 2006
How can I make a function go on without an onEnterFrame?
View 3 Replies
Feb 1, 2010
i'm very new to Flash (although have plenty of experience in Java, C++, PHP, etc). For a University assignment, I am creating a World Cup Guide and i'm creating a countdown to the tournament. I've followed a tutorial and modified it slightly but i'm receiving an error message. The error message is:
[Code]....
View 1 Replies
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
Dec 11, 2011
am trying to make a class file Event.Enter_Frame inside a class file function with inside an if statement that would enable key down presses. but i have no idea how i could get it to work cuz i get constnt errors. this is what i tryed
this is a snipet of the code:
package Classes{
import flash.display.Stage;
import flash.display.MovieClip;
[Code].....
View 4 Replies
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
Sep 26, 2008
any consise methods to restart a deleted onEnterFrame that has been deleted?
View 3 Replies
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
Apr 27, 2008
I am trying to make a car game, but my car movement is mucked up and I'm not sure why.It also needs brakes and acceleration.
View 7 Replies
Sep 29, 2011
where to get some corresponding information of how to make a flash game.Preferably with some examples of little flash games
View 1 Replies
Feb 16, 2012
I am developing a ipad game using flash CS5. When I run it in flash or web browser, it run quite smoothly but when I published it into ipa file and run it on my own ipad, it became very very slow. Since my game has many stages and characters, the amount of symbols may up to more than 50. That makes the flash file more than 100mb (but the ipa is only 11mb) All of the symbols are exported in frame 1.
1)if I used preloader and exports the symbols in frame 2, will my game run more smoothly? is one preloader when the game is loaded enough? or it is need for every game scenes?
2)Is there any other technique that a big game developed in Flash has to follow in order can be run in low configurations devices?
3)Why many other big game can run so smoothly although it contains a lot more characters and background than mine?
View 3 Replies
Feb 4, 2010
I have to make a game in flash, and this game is the equivalent of 'Millionair' tv-game, so it's not so complicated and I have to give a badget to my Client.
View 1 Replies
Jan 9, 2006
I was wondering if it were possible to make an RTS game in flash, and if it was, are there any tutorial on that?You know, like get the more cash than the enemy, buy guys with it, and kill the enemy first?
View 1 Replies
Aug 3, 2009
Today I will show how to make your own cursor for your game. It's very simple. Draw your cursor and convert to symbol. On the Action Script bar write this code:
[Code]...
View 2 Replies
Oct 8, 2010
I've messed around a bit in Java and Visual Basic. For our class we've been assigned to make a flash game in groups, and our group has decided they want to do a base defense game. I've been looking hard for open source/tutorial versions of a simple base defense game, but all I've found are tower defense games.
View 1 Replies
Jul 14, 2011
I want to make a 3D Racing game, becuase i only see crappy overhead one's that are tooo simple to make. so I was wondering the best approach on how to do this. i was thinking of make the race track, as a animation then adding events so when arrow key is moved play event act but then how would the bike react at the same time?
View 15 Replies
Dec 15, 2011
so how would I go about making a DVD game like player 1 vs. player 2 or just player 1 solo in action script 3.0? i know 2.0 well enough and i know a little 3.0 but i am not an expert i am not looking for a complicated game just something simplistic with one question after another I just don't know how to make the options like a right answer a wrong answer and how that would effect scores. or how would i go about if player one got the question right it would go to the next question and if they got it wrong replay the question for player 2 and the points would reflect appropriately also how would i make a time limit for each question? I know you probably wont be able to answer all question I just wanted to convey what I am trying to do.
View 1 Replies
Dec 17, 2004
I wont to make a multiplayer game and the problem is that i don't know how to make it multiplayer.
View 14 Replies
Nov 26, 2005
how can i make someone input their name and make the name be used throught the game
say if i want some one to to say
"hey (name here)" i want to replace the name here bit with what they inputted at the beggingin with their name
View 2 Replies
Jan 2, 2006
I wan't to know how to make a timebar for a game. Who knows how to do this? or is there a good tutorial for it?I want that the time stops at 1 minute (60 seconds). and the bar must go from te right (60 sec.) to left (0sec.)
View 3 Replies
Mar 2, 2011
Is there a tutorial or anything on making a coloring book game like this?
View 1 Replies
Dec 17, 2004
i wont to make a multiplayer game and the problem is thet i dont know how to make it multiplayer
View 14 Replies
Mar 1, 2010
I am trying to create a memory game, where about five or six (doesn't matter how much) different colours com up and flash for a second and disappear in a random order.
Then the user has to try to match them again buy clicking on the colours that they have infront of them in the same sequence as the lights went.
Is there a way to make this game so it will tell you when you are wrong or right, and also is it possible to make the flashing colours random each time you play it?
View 1 Replies
Mar 15, 2010
want to make a game where if someone presses tab they go to a different frame. I have made many approaches to this. and btw im using AS2Here are my tries:
Code:
on(keyPress "<TAB>"){
gotoAndStop(2)
[code].....
View 1 Replies
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
Sep 4, 2011
i want to make electronic lock for my flash game (like in sci fi movies).whole game is written in AS2.it should look like this At top thers dynamic text box, under it there are 10 buttons labeled from 0 to 9 and at bottom there is button labeled ENTER.when you press any of the buttons it should write numeric value at dynamic text box( 6 digits code), and when enter is pressed it should check if code is ok.First part of the problem is how to make buttons to write series of numbers into dynamic textbox.Second is to write if loop which will on enter button press check dynamic textbox content and trigger some action if correct or clear textbox and allow another try.
View 4 Replies
Nov 7, 2011
How can I make it so that players of my game can customize the keys to their liking?
View 3 Replies
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