AS3+PHP Game Development Speed

Dear All,
I'm an As2 game developer but my new prj need to done with as3.So one thing that I want to make sure is 
" Will the game speed slow if I place the contents and imgaes into the stage as in AS2 ?"
As I planned to use OOP class.And confused that all those mcs should be place directly into timeline or should attach from as files?
Thanks in advance!

It depends.
If there are moments in your game were 50+ objects are getting animated, faded etc. on stage and your game runs fullscreen and uses bitmaps it certainly will slow down if you put all things on the timeline.
Then you could use something like the copyPixels method (google it) to speed things up or even go further and use a framework like flixel

Similar Messages

  • Wanna learn Actionscript.3.0 along with game development?

    hi guys, i am sharing some best books to learn AS.3.0 along with game development including box2d.
    best books ever.....(over 7 large pdf books)
    you can build complete games from these pdf books.
    you need flash professional CS4 or above. you can still use it with CS3...
    see this video for links and book covers:
    http://www.youtube.com/watch?v=fHzVBud3ah4

    Dave,
    > OK, so that sort of helps. I downloaded and installed it
    > but when I went to create components like I have in my
    > Flash 8.0 application I am writing, there are none
    available.
    Those are the v2 UI Components, which means they're written
    in
    ActionScript 2.0 and are therefore incompatible with AS3.
    Using that
    special version of Flash, you may still publish in AS2 if you
    like (see
    Publish Settings), in which case those Components will
    reappear.
    > Is this a watered down version so you can't do anything
    > with forms.
    What you have is not a watered down version at all. Rather,
    it's a
    souped up version of Flash 8, which is otherwise not capable
    of publishing
    for Flash Player 9 (in other words, ActionScript 3.0). The
    title is a
    mouthful, but Flash Professional 9 ActionScript 3.0 Preview
    is a *preview
    release* of Flash 9, which gives every indication that the
    next full release
    of Flash will support ActionScript 3.0, and presumably new
    AS3-based
    Components to match.
    > Does this force me to have to get Flex2? I hope not.
    Of course not! ;) If you want to develop with AS3 now
    already, then
    you'll have to do it with something that can compile Flash 9
    SWFs. Flex
    Builder 2 is an IDE and costs money, but the compiler (Flex 2
    SDK) itself is
    freeware.
    http://www.adobe.com/products/flex/sdk/
    If you can wait for Flash 9, then that could be yet another
    choice --
    presumably improved upon the preview release in your hands.
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Nokia 7610 game running speed

    I am an J2ME games Developer.
    I use the Sony Ericsson K700i, Nokia 3230 and Nokia 7610 of my testing devices.
    I use the computer emulator of my game running speed standard.
    The game running speed of Sony Ericsson K700i is near to the computer emulator speed.
    But the game running speed of both Nokia phone is very slow.
    Why is it happen?
    Will i need to use any of nokia api to let it speed up?

    you may want to try cleaning up the phones memo by deleting unwanted images and videos etc also its not good to store alot of text in the phone either as this can slow it down
    If  i have helped at all a click on the white star below would be nice thanks.
    Now using the Lumia 1520

  • Where can I find a good tutorial for mobile game developement with J2ME ?

    Hi All,
    I'm completely new to J2ME programming. But I have past experience on J2SE developement. Now I would like to know that where can I find a good tutorial for mobile game developement with J2ME ?
    I'll be very greatful if I can find a useful step-by-step tutorial (eg. "The Java Tutorial" for J2SE)
    Please point me ot the direction.
    Thanks
    ZuriJAckshoT

    ibook-widgets.com    have a free tutorial book in the iBooks store.  Search for "Create your first interactive book using iBooks Author"   they also  sell widgets.
    I  dont have any connection - I  found their eBook in the store long ago  and used it to learn more about iBA.
    The best advice though, is be patient,  go back over the process step by step, I cannot  access the Help files for some reason.. but i am sure its in their.

  • Where can I learn Flash CS5.5 basic + Game development?

    Hey where can I learn Flash CS5.5 basics along with game development with the Adobe Gaming SDK?

    By the way i own the site 02geek.com its an online school for programing and we do focus a lot of our time in flash. if you want a step by step from 0 to geek type of training give my site a try

  • Open GL Vs Quartz - Which is better for 2D game development?

    Hi,
    I am new to iphone game development. I want to create 2D game. Simple game with objects moving around.
    I never used Open GL as well as Quartz. For this game I am planing to study that.
    I want to know which is better from OpenGL or Quartz?
    And where I can learn more on that?
    Thanks,
    Ganesh Pisal

    I would recommend against OpenGL for a 2D game. Quartz does a lot of work to avoid updating parts of the screen that haven't changed, something OpenGL doesn't do. The iPhone's implementation of OpenGL has other serious performance issues.

  • Director MX 2004 Games - Game Development with Macromedia Director examples

    hi,
    do you know where can I get examples for Director MX 2004
    Games - Game Development with Macromedia Director from?

    Hi,
    Look at the Inspriation Macromedia Direcor Games and
    Entertainment links at:
    http://www.adobe.com/products/director/special/inspiration/games/
    I have cool Director content links at:
    http://www.fbe.unsw.edu.au/learning/director/resources/#cool
    regards
    Dean
    Director Lecturer / Consultant
    http://www.fbe.unsw.edu.au/learning/director
    http://www.multimediacreative.com.au

  • Find Address of Server (link to Game Development OP)

    This question was posed here:
    Find Address of Server
    but linked here for those that do not check the game developer board.

    Thank you for the response.  After checking my router and looking around a bit, I see the UDP block operations are disabled on my router, so I do not think I will be persuing that avenue, and realistically this is going to be me and my family and maybe a few friends sitting around the house with our laptops and somebody says: Hey, let's play XYZ game so the lookup server options is not a good scenario either.
    It did give me a reality check though -- I realistically can expect to only have to check the first few local IP addresses for this type of implementation, so the bruit force approach will work ok on the scale I'm implementing.
    Thank you for your input!

  • How to implement "colorise" hue/saturation in game development.

    I am  a game developer,
    recently the art desiginer give me lots of image ,whitch changed color use photoshop colorise hue/saturation from one garyscale image .
    In order to reduce the image size. I have google for a lot time, I awalys do not konw the photoshop  "colorise" hue/saturation algorithm.
    the common  hue/saturation change can use colormatrix ,
    but how to  implement "colorise" hue/saturation in source code.

    Thank You for the help.
    As you said, I have change the color from garysacle to colorise.
    Ignore the image quality that my code gen.
    I have check my code many times,
    but why the image center is Not (255,255,255).
    this is My Source Code:
    protected function onComplete(event:Event):void
                                  var b:Bitmap=event.target.content;
                                  this.addChild(b);
                                  for (var i:int=0; i < b.width; i++)
                                            for (var j:int=0; j < b.height; j++)
                                                      var c:uint=b.bitmapData.getPixel32(i, j);
                                                      if (c != 0)
                                                                var a:int=((c >> 24) & 0xff);
                                                                var hsb:HSBColor=HSBColor.convertRGBtoHSB(c);
                                                                hsb.hue=0;
                                                                hsb.saturation=1;
                                                                b.bitmapData.setPixel32(i, j, HSBColor.convertHSBtoRGB(hsb.hue, hsb.saturation, hsb.brightness) + (a << 24));

  • AS3 / PHP / MySQL - login form

    Hello,
    I'm trying to create the most basic example I can of an AS3/PHP/MySQL interaction.  I want a Flash movie to check a user's login/pass against a DB.  I've tested the PHP code and know it's correct.  The problem must lie in the AS.  I've traced everything to make sure it goes out correctly, but it comes back as the variable names $user, $pass...and some other garbage... not the variable values I am expecting... see below.
    The PHP code correctly returns the following when tested in browser:  user=dan&pass=danpass&err=Success!
    The traced variables $user, $pass, $err return the following in Flash:
    undefined
    $pass
    $err";
        echo $returnString;
    ?>
    Here's the ActionScript:
    import flash.events.*;
    import flash.net.URLLoader;
    import flash.net.URLRequest;
    import flash.net.URLVariables;
    import flash.net.URLRequestMethod;
    logbtn.addEventListener(MouseEvent.CLICK, login)
    function login($e:MouseEvent){
      var myVariables:URLVariables = new URLVariables();
      var myRequest:URLRequest = new URLRequest("login.php");
      myRequest.method = URLRequestMethod.POST;
      myRequest.data = myVariables;
      var myLoader:URLLoader = new URLLoader;
      myLoader.dataFormat = URLLoaderDataFormat.VARIABLES;
      myLoader.addEventListener(Event.COMPLETE, completeHandler);
      myVariables.user = loguser.text;
      myVariables.pass = logpass.text;
      myLoader.load(myRequest);
      function completeHandler(event:Event):void{
        trace(event.target.data.user);
        trace(event.target.data.pass);
        trace(event.target.data.err);
    And here's the PHP:
    <?php
      include_once "dbconnect.php";
      $user = $_POST['user'];
      $pass = $_POST['pass'];
      $sql = mysql_query("SELECT * FROM users WHERE user = '$user' AND pass = '$pass'");
      $check = mysql_num_rows($sql);
      if($check > 0){
        $row = mysql_fetch_array($sql);
        $user = $row["user"];
        $pass = $row["pass"];
        $err = "Success!";
        $returnString = "user=$user&pass=$pass&err=$err";
        echo $returnString;
    ?>
    Does anything stand out as being wrong?  I've gone over this for probably 10-15 hours trying different variations, tweaks, and reducing it in complexity.  I will really appreciate any help you can offer!  Thank you.
    -Eric

    Thanks Birnerseff! 
    I've been running the SWF from the same directory as the PHP script.  I just tried viewing it through my localhost and it worked!  I guess I'll have to do all my testing that way, but that's fine.
    Thank you very much.  I probably wouldn't have messed around with that for a long time otherwise.
    -Eric

  • Is java worth learning for game developement?

    Please dont take this as an insult to the java language, im having a blast learning this language and love it more than any other that i have learned so far.
    I just have one creeping issue, ive heard that the game development aspect of java isnt quite there yet, and is quite "slow".
    so id just like to ask. Is it possible to write a good 3d game using java(simple FPS or RPG) using java? what is its limitations when it comes to programming games?(is it just slower? does it have the same potential in creating games like python does?)
    thanks if you can answer these questions for me!

    "Serious" game development has been pretty much C++'s domain for ages.
    However you have things like Minecraft, which is done in Java and racked up a few million for the author. Then you have Android game development, which is pretty much Java...

  • Game development strategies

    Does anyone have any good strategies or articles on how games are developed? I am very weak in the area of game development with Java. I have only got into a simple area of Java2D but I need more material. So, if you have any great articles or thoughts on Java Game Development and the strategies that you use please feel free to share them...
    Thanks in adavance...

    Have a look at the javagaming forums at:
    http://www.javagaming.org/cgi-bin/JGNetForums/YaBB.cgi

  • Game Development Technical Materials

    Hi,
    I collected a great deal of Game Development Technical Materials
    http://www.freewebs.com/gamedev_res/

    Why not share your materials

  • [Game development] iphone game development

    Hi All,
    I am newbie to iphone game development. I am looking for third party game engines like Allegro.
    Please suggest me best open source game engine for iphone game development.
    Thanks,
    Ganesh Pisal

    Hi There
    You can only use the iPhone Development kit from Apple to develop iPhone Games as far as I am aware, the Allegro game programming library for C/C++ is used for programming on operating systems. The iPhone is based on Objective-C which I believe is fairly different from C and C++.
    Hope this helps
    J.C
    Message was edited by: J.C

  • Windows Game Development Contest - Is that an official event or should I be suspicious about it?

         Hi Everybody!!!
         Someone posted a link in a forum about a contest, similar to the DreamBuildPlay event that used to happen every year around these days. The name of the event is the "Windows Game Developer Contest". It's about
    porting an existing App from other platform to the Windows Store. The thing is that I have not been able to find if this is a real thing or just a hoax. I thought about asking, just in case - one can never be too careful with the Internet.
         Thanks!!!
         Tarh Ik
    Tarh ik

         Hi Rob!!!
         Thanks!!! I thought about pasting the link, but, if the link is a hoax as I suspected, I'd be liable for damages to those who followed it - I rather be too careful when it comes to the Internet.
         Thanks for your feedback!!! Your link "blogs.windows.com" is the only official URL that I've found!!! I'll proceed to join now! 
         Thanks again!!
         Tarh Ik.
    Tarh ik

Maybe you are looking for

  • Project Management Wishlist (hoping for software or online solutions)

    hi all. i've converted the office to mac over the last two plus years and need to put a second level of organization to bed. would anyone mind helping me find other websites and/or suggestions on how to get this finalized? apologies for the length an

  • How to write Boolean function (If Then Else)?

    Hi all, I have a logic to write in the query. It is: If (A = 0 and B = 0) Then 0 Else         If (A = 0 and B > 0)         Then 100         Else                A/B  (we want to show %) How to use boolean function to write this Netted If Else statemen

  • Lightroom 1.2 not visible in Windows Explorer

    I had Lightroom 1.1. and had no trouble assigning Lightoom as the program to open .jpgs. Since I've upgraded to 1.2 Lightroom does not appear as a choice in the file type selection list in Windows Explorer. When I browse to the Lightroom .exe file lo

  • RuntimeException during appliction Java mapping

    HI, We are facing issue in Interface Determination in  PI Quality system . Step1:We developed all IR ID objects in DEV system and tested , it is all working fine. Step2: We moved all our developments into QAS. Step 3: Tested one of the objects in QAS

  • IPod Shuffle does not switch on

    Hi there, Hope someone can help me cuz what happenin is a bit wierd! Well basically at the moment my iPod shuffle (1st Gen) works perfectly on iTunes and seems to get charged (Green and Yellow lights do get on) but once I remove it (safely) from my P