User Tag List

Results 1 to 7 of 7

Thread: Loops triggering each other (works on pc, not android)

  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)

    Unhappy Loops triggering each other (works on pc, not android)

    loops.jpg

    This is what it does:
    • Start of Frame > Start Loop "Starcount" 1 time
    • Starcount will calculate what value Starget should be (1,2 or 3 from INI), then directly start loop "Starapply"
    • Loop "Starapply" will process that number, add 1 to value Planetnr, then directly start Loop Starcount 1 time again (This causes the crash in Android)
    • This process will repeat 50 times (until planetnr = 50)


    It works perfect on PC. No lag or framedrop or any instabilities.

  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)
    I managed to sucecsfully worked around this by making some "artificial" loop (event turns on a flag. Other event tests if flag is on, then triggers and turns flag back off).

    It's a bit of an awkward way to work around this error, but it works. However, it could still be a bug to look into..

  3. #3
    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)
    Did someone say bugs? Because this is where you should be reporting bugs: http://bugbox.clickteam.com/

  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)

    Loops triggering each other (works on pc, not android)

    I wasn't sure yet if it is. Might as well be a consequence of a hardware related issue with mobile devices (like the calculation might be too heavy or something).

    I report all bugs but just am not sure if this is one.

  5. #5
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,080
    Mentioned
    138 Post(s)
    Tagged
    3 Thread(s)
    it is a endless loop between those two loops as I see, is very cpu demanding and in the meanwhile they are running there is no screen refresh.
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  6. #6
    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)
    The loops only go on until Planetstr = 50, so only 50 times. After 50, Loop Starcount is no longer triggered. Still could be quite a CPU heavy setup, even if it's for only 50 loops..

    The error only says "App has stopped working" so I'm given very little information unfortunately.

  7. #7
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,080
    Mentioned
    138 Post(s)
    Tagged
    3 Thread(s)
    build a release version and send me a link via PM, to se if I catch something here.
    Regards,


    Fernando Vivolo

    ... new things are coming ...

Similar Threads

  1. Android Object Works on Iphone!!??
    By Simflare in forum iOS Export Module 2.5
    Replies: 4
    Last Post: 4th August 2015, 04:08 PM
  2. Replies: 1
    Last Post: 7th November 2014, 07:16 AM
  3. [Request] Database that works with Android and iOS
    By Mantis in forum Extension Development
    Replies: 8
    Last Post: 11th June 2014, 11:26 AM
  4. Works on PC but not on Android phone?
    By ProdigyX in forum Android Export Module Version 2.0
    Replies: 8
    Last Post: 25th February 2012, 05:38 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
  •