User Tag List

Results 1 to 7 of 7

Thread: Game Freezes

  1. #1
    No Products Registered

    Join Date
    Jun 2006
    Posts
    1,630
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Game Freezes

    I'm getting freeze everytime I enter a frame.. not sure why. I managed to reproduce it even restarting both Mac and ipad. Let me know who should I PM with the source file.
    Thanks,

    ---------------------
    warning: Unable to read symbols for /Users/mario/Library/Developer/Xcode/DerivedData/sl2-ios3-envtwefqkaxdzgfswgwnmbailczn/Build/Products/Debug-iphoneos/toque.app/sl2-ios3 (file not found).
    AudioStreamBasicDescription: 2 ch, 44100 Hz, 'lpcm' (0x00000C2C) 8.24-bit little-endian signed integer, deinterleaved
    warning: check_safe_call: could not restore current frame

    warning: check_safe_call: could not restore current frame

    warning: check_safe_call: could not restore current frame

    warning: Unable to restore previously selected frame.
    warning: check_safe_call: could not restore current frame

    warning: Unable to restore previously selected frame.
    warning: Unable to restore previously selected frame.
    warning: Unable to restore previously selected frame.
    (gdb)

  2. #2
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Game Freezes

    A source file would be nice

  3. #3
    No Products Registered

    Join Date
    Jun 2006
    Posts
    1,630
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Game Freezes

    PM Sent

  4. #4
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Game Freezes

    You have a counter somewhere that is set to "DisplayMode". This expression is not implemented it seems and crashes your game.

    There are a few expressions there that will actually crash games if used since they aren't greyed out. Some of them might be useful though. I will implement some of them and make the rest return 0.

    If that doesn't fix your game freezing then I will continue searching.

  5. #5
    No Products Registered

    Join Date
    Jun 2006
    Posts
    1,630
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Game Freezes

    Thanks Andos. As I said, I'll have to rewrite the code anyway because iOS will not handle all that in an acceptable speed so it is better to keep it to a minimum. If you can have the expressions grayed out or at least give some warning during the build this may help to reduce the amount of clueless users when an app freezes or something.

  6. #6
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Game Freezes

    Having around 3700 events in one frame along with 150 unique objects on the screen at one time doesn't really help performance one bit. I see tonnes of code that could easily be rewritten and be many times faster

    It is an interesting game to profile and do performance tuning on though

  7. #7
    No Products Registered

    Join Date
    Jun 2006
    Posts
    1,630
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Game Freezes

    Yes,.. in fact, there is a ton of code that seems to be unnecessary on iOS such as profile management, most of the options. iOS port should be easier to debug as well since there is much less code
    edit: forgot to mention.. I wrote this code back in 2008, 2009. I'd definitely make it different now :P

Similar Threads

  1. Sub App freezes my game
    By JoKa in forum SWF/Flash Export Module Version 2.0
    Replies: 2
    Last Post: 16th July 2010, 02:41 PM
  2. Game Still Seemingly Freezes at Random
    By Corlen in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 1st June 2010, 04:57 AM
  3. Game freezes?
    By Corlen in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 8th May 2010, 02:08 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
  •