User Tag List

Results 1 to 6 of 6

Thread: Paid request - Some basic optimization

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)
    Literswater's Avatar
    Join Date
    Apr 2014
    Posts
    164
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Paid request - Some basic optimization

    I'm making a side scroller with lots of things your weird dodo (my avatar) can destroy or push over. The game is meant for Android phones. The more objects per frame, the slower it gets (regardless of them being outside the window).

    To this post is an attachment of my project with the heaviest level, minus many bells and whistles so there's a clearer view on the culprits (the physics objects). In the top right is a counter showing the FPS. On an Galaxy S Advance, It often drops to 30fps and I want it to stay above 50fps without having to sacrifice objects.
    There is not much code left, but I have too little experience to optimize it properly, or find which pieces of code require it. I'm sure there is much about my game that I made more complex than needed.

    I'm willing to transfer $10 to your PayPal if you could optimize my code (without deleting codes please, because for instance many values are necessary in the complete game), especially the way the objects are handled. I think that an array might be necessary to memorize the coordinates and place the objects once you're near. I understand that it will require more work to convert my game to such a mechanic, so in that case I will make it $15.

    Please take a look at the attached project to see if you can and would like to help me out here.
    Attached files Attached files

  2. #2
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)
    Literswater's Avatar
    Join Date
    Apr 2014
    Posts
    164
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Got the help, thanks!

  3. #3
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    Ryan's Avatar
    Join Date
    Nov 2008
    Location
    Australia
    Posts
    1,275
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Out of interest, how did you solve the problem? I might encounter something like this in the future so any tips would be greatly appreciated.

  4. #4
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)
    Literswater's Avatar
    Join Date
    Apr 2014
    Posts
    164
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry for the late reply. I didn't notice your post until now. I got a volunteer to help me.

    What I needed is solved in a completely different way for each app. I needed someone to look at my events and see what codes were unnecessarily long or inefficient.

    In the end it turned out that my game was simply too complex, so I just overhauled the entire gameplay. There is not even a physics engine in it anymore. You might be lucky though.. in the next Fusion update there's a performance improvement in general and (I believe) in the physics as well.

  5. #5
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    Ryan's Avatar
    Join Date
    Nov 2008
    Location
    Australia
    Posts
    1,275
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for this, I'm looking at doing some large scale physics stuff in the future but keeping everything running at a decent framerate is one of my top concerns. Your response allows me to get a feel for what my expectations should be which will help me (and others) in the future.

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    happygreenfrog's Avatar
    Join Date
    May 2011
    Location
    I.L.T.D.O.I.R (I.L.T.D.O.I.R's Location: The Dimension Of Infinite Recursion)
    Posts
    4,307
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    I personally don't have severe performance issues when using the physics object, even on already-laggy runtimes like Android (though I am trying to handle my levels in a way where it only loads small level segments instead of a full level all at once). However, I am using one of the beta versions of CF2.5 if I remember correctly, so that may have something to do with it, though I don't believe it was the latest beta.

Similar Threads

  1. PAID IOS EXTENSION REQUEST
    By egcapital in forum Paid Design & Development Requests
    Replies: 0
    Last Post: 2nd May 2013, 12:00 AM
  2. paid request pool
    By dascribe in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 24th August 2011, 01:19 AM
  3. Basic HTTP request / handling?
    By Hojimbo in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 18th November 2009, 11:43 PM
  4. [REQUEST] BASIC script extension /or other simple/
    By Darkhog in forum Extension Development
    Replies: 19
    Last Post: 4th February 2009, 06:07 PM
  5. [Request] A basic OpenGL extension
    By Zyx in forum Extension Development
    Replies: 9
    Last Post: 22nd September 2007, 07:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •