Actionscript 3 :: Develop High-performance Flash Game?
Apr 15, 2011
1.How to load image resources? And in which case we should use "[Embed]" to insertresources?2.which technology can improve the performance of the game flash game development ?
View 3 Replies
Similar Posts:
Oct 11, 2003
how can i make a high score table for a flash game where EVERYONE see's the same high scores?
eg.
Bill gets 1000 in USA
Ben gets 1002 in UK
they can see each others scores on a high score table.
View 7 Replies
Dec 1, 2009
When looking for encryption related classes/functions in action script / air / flash, I saw the as3crypto project. This one provides a v. nice set of options, but I am a bit concerned on what the numbers presented means when these are used to decrypt a local media file when its selected about to be played. I am looking for security vs. performance balance.
For video/music, it needs to decode at a fast enough pace so the player plays it smoothly - which is something that depends on the format used, but is in all cases less than the delay of having to wait to decode the whole file.
[Code]...
View 4 Replies
Jun 11, 2009
I am in the planning phase of a new multi-user client/server app using Flash via Flex and AIR. I am trying to decide which web platform/stack is the best suited for this? I have used RoR in the past, but as i understand, RoR is single-threaded, and is therefore not the ideal choice for handling potentially thousands of simultaneous requests. I have done some reading about Scala and Lift and that is an intriguing option, but i was wondering if there are other languages/frameworks out there that would work well for my project?
View 3 Replies
Jan 4, 2010
I'm running Flash CS4 on a laptop and find it gets sluggish. I find when I restart my computer, I can work at a good speed for a while, but eventually it becomes very laggy - why is this?
Can I dump the cache files or something to simulate the restart? I've reduced the undo history to 10 - any other tips for CS4 on a mediocre machine?
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
Jun 27, 2011
I am trying to develop a sidescroller game in as3. Most of my confusion is coming from my lack of knowledge on the best way to strucutre the classes that control the games flow.For example, what would be the best way to change the game state from the main menu, to the in game state, WITH VISUAL TRANSITION INCLUDED?
The way I'm thinking of doing it now is adding event listeners to buttons, which remove the main menu MC and add a transition MC. Then I add an event listener to the transition MC to watch for the frame label "end of transition". This removes the transition MC and adds the GameContainer MC.
View 1 Replies
Nov 7, 2011
I want to develop a car racing game using flash and actionscript3.
View 1 Replies
Jun 6, 2010
I have a simple flash based quiz game with simple score var and percentage var. I am wanting to a high score function to it as motivation to my kids by creating healthy competition with high scores. This is not a web based game. I found many PHP high score tutorials but wont work for me.
View 7 Replies
Nov 29, 2010
I'm trying develop small iphone game with flash cs5, the first step i'm trying to do is scrolling big background with my finger .. the iphone application document size is width 320 x height 480 px, on the stage there is a big image 1280x800 px i want start scroll this big image with touching iphone screen in any direction to make the hidden parts appears ..
View 2 Replies
Sep 29, 2010
I know this is a subject that gets covered a lot as i have found a ton of tutorials that show a million different ways to create a high scores board on a flash game. So I decided to go out on a limb and pick a tutorial out to try. Well I have now tried 3 different ones and have yet to get a working high scores board with my game. [URL]
That is the link to the most recent attempts to creat my high scores board. When I finished everything the way the tutorial said it seemed like everything would work and then it just didnt. After spending oh about 40 plus hours trying to make a high scores board I am getting very frustrated. My game is scripted in AS2 and I have access to mysql and can set up unlimited databases.
View 7 Replies
Jan 1, 2010
is it possible to use graphics (the numbers 0-9 in one png-file) instead of a Textfield to show the high score of a game to the player? With a TextField it is easy to "refresh" the score but what can I do, if I want to use my png-files for the score? Is there a simple way to do this? How are other flash game designer do it?
My current solution (not tested, just in my head) is, to create 10 bitmaps (numbers from 0-9) or 1 bitmap with all the numbers in it and then convert the current score into a string, split this string and for every digit show the matching bitmap. Update: or should i try to use filters on the textfield to create a "more beautiful" score?
View 2 Replies
Oct 11, 2003
how can i make a high score table for a flash game where EVERYONE see's the same high scores?
eg.
Bill gets 1000 in USA
Ben gets 1002 in UK
they can see each others scores on a high score table.
View 7 Replies
May 16, 2011
I've been asked if I can build a game, which lots of people will play and the overall winner will get a prize.The game part is simple enough, and I know enough PHP/MySQL to put something together to store the results etc. But is there something already available which could do this part for me, it would save a lot of time, and would probably be better than something I build myself.
View 1 Replies
Feb 21, 2012
How does Flash deal with elements that are off-stage?Obviously Flash doesn't actually render them (because they don't appear anywhere on-screen), but is the process of rendering them still existent, slowing down my game as much as it would if the elements were on-screen?
Or does Flash intelligently ignore elements who don't fall into a renderable area?Should I manually manage removing objects off the DisplayList and adding them back on as the exit and enter the stage, or is this going to be irrelevant?
View 2 Replies
Oct 17, 2011
We have a flash game being developed in actionscript 3 and it runs much more slowly on our remote server.The game specs:-8 different movie clips, all 1 frame static png files from 10x10 to 100x100anywhere from 10 to 60 instancesof those MCs on screen at any given timeevent loop is run from a flash Timer at 25msall interaction is via the keyboardThe strange thing is, we publish the swf file and run it locally and everything is fast.We copy the swf to a remote server and everything runs much more slowly. The music plays at normal speed, but the movieclips all move around the screen at about half speed.
Why would the file run differently when fetched from a remote server? Isn't the swf always being run locally anyway? Also, we ran it locally and remotely with the task manager running and it does not seem to consume much CPU or memory.EDIT: Ok, this is really weird. I added a framecounter textfield to the game. It reports the number of ms since the last timer tick. It consistently reports 50ms. My timer is clearly set to 25. This explains the half speed, but what explains this? I also added a check on the timer.Interval property to see if it had changed and it hasn't; it's still set to 25 while the game is running.ode to use ENTER_FRAME instead of timer, and it works. I get the full 40fps, give or take a few %. Still not sure what's wrong with the timer though; if it was being delayed by the time spent in my loop it would fluctuate, but it doesn't. It's 50ms every time no matter how much is going on.Here's the code I'm using(more or less):
t = new Timer(25);
t.addEventListener(TimerEvent.TIMER, timerTick);
t.start();
[code]....
View 2 Replies
Dec 6, 2008
I want to develop a "Join the Dots" game. I am anewbie in flash. I want to let the users join the dots to form alphabetical letters. If they do it correctly, they gain scores.
View 1 Replies
Mar 31, 2010
Develop Blackjack card game.
View 1 Replies
Jun 10, 2010
I'm trying to develop an augmented reality game on an action script project in flex and I have a small problem, I need to load a png image on the stage so I have put it into a swf but when loading the swf with the pngs do not show me anything.
[Code]...
View 1 Replies
Jul 11, 2010
I've been looking on the net for some time now (about 4 weeks on and off) and i've come across various ways of producing high score tables for both online and offline games. My query is:
Is it possible to produce a high score table for an online game using a document in the same location as the swf without using a PHP, SQL or any of the like languages? Either using a text document, xml, another swf or something else like that?
View 1 Replies
Sep 12, 2011
this is what i'm trying to accomplish; With a click on a movieclip (cannon_mc)a shot is being fired (ball_mc)
The longer mouse is down, the speed of wich the ball is fired with should increase.My question to you is;
What is the most efficient way to accomplish this? With a timer or something like this;
[Code]...
View 2 Replies
Jan 11, 2011
I'm devloping some library classes for flocking/steering behaviours on large numbers of objects (2000+). I'm finding that at < 500 instances, performance is reasonable. As the numbers increase, framerate bogs down.
I've seen remarkable performance with libraries such as Flint or Box2D with ridiculous #'s of particles / objects, so it should be possible to optimize / refactor my code to be a bit better.
I'm aware of the basic optimizations, such as bitwise operations and optimized for loops. Are there any more fundamental approaches I should be considering? For example, currently each instance is a vector-based MovieClip. Would working with BitmapData be more efficient?
View 1 Replies
Nov 4, 2011
Will I take a big hit in performance using nested ViewStacks? Should I strive to handle all navigation in one ViewStack and push children manually or will the affected performance be negligible?
eg.
<viewstack>
<tabnavigator />
<tabnavigator />
<tabnavigator />
</viewstack>
View 2 Replies
Mar 19, 2012
We have a medium size Flex 3.6 application that contains around 20 different page views (managed via a single lazy ViewStack) each having multiple components. Most use custom renderers.All model data is loaded at startup and changes to model instances are communicated via binding and/or collection change events.Once the user has viewed each page at least once, all page views are instantiated and happily listen to update events.Which in effect means that each time a model instance changes, all interested views receive that event and compute derived data or trigger item-renderers.I have tested and confirmed this behaviour in a proof-of-concept application. Even when setting a list to being invisible, it still listens to collection change events and invalidates any renderer affected.What would you do?
View 1 Replies
Jun 18, 2009
I am new to adobe product but i want to know how can we develop web page in flash?
View 2 Replies
Jan 12, 2010
How can I make a doodle pad like this for a website? Is flash the only option? I wanted to make one for advert design.Edit Basically, I want to provide features like customized text (font/color/size) and placement, option to put any image with scale/rotate/transform option etc so that he can design advert himself. Edit2What could be alternative approaches to design this kind of editor?Edit3I've also seen options like o3d and webGL but it seems they won't work on most of the browsers.
View 2 Replies
Mar 19, 2009
I'm trying to develop a flash website with a scrollbar. how I make a scrollbar. [URL]I wan't to scroll the pictures.
View 4 Replies
Jul 21, 2010
I was wondering if anyone would be able to help me with a problem I am having. I am trying to develop a simulation of a browser in Flash, and need to have a button which allows users to be able to go back to a previous screen (e.g. another .swf file) which means I need the window to be to move between .swf files.
I have tried various methods I have found online, but none seem to be working.
View 2 Replies
Oct 1, 2010
Would it be legal for me to develop fla files with the demo version of Adobe Flash CS5 and have my friend, who owns a full copy of flash pro, to export them to swf? This would be much like using the developer version of ColdFusion.
View 10 Replies
Oct 9, 2010
Is there anyway to develop within CS5 and export as HTML5 rather than a .SWF?
View 1 Replies