User Tag List

Results 1 to 8 of 8

Thread: Bug report: Crash when using tokenizer - Start of frame - Fade in

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Location
    Norway
    Posts
    342
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Post Bug report: Crash when using tokenizer - Start of frame - Fade in

    Hello,

    I seem to encountered a bug with the latest build of Fusion 2.5+

    When you have a fade in on your frame and then have an event with the start of frame condition that will split a string and then set a string to those elements and then sets other strings to one or more of the elements, then the application crashes.

    You can replace the "start of frame" condition with "run only once" but then it will happen after the fade transition is complete.

    I have tried both the String Tokenizer and String Parser 2 and the same thing happens with both of them.

    I would really like to use the String tokenizer on start of frame before the fade in transition starts.

  2. #2
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Volnaiskra's Avatar
    Join Date
    Jan 2014
    Location
    sprykethegame.com
    Posts
    3,209
    Mentioned
    133 Post(s)
    Tagged
    0 Thread(s)
    I can confirm this crash, though I can't get it to crash with run this event once. With Start of Frame, this is enough for it to crash on my machine:







    If you're desperate, then you may be able to replicate the functionality using the native string functions, depending on what you're trying to do. For example, this splits a string into 3 parts using a comma as delimeter. It's clumsy, but it works:



  3. #3
    Clicker Install Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)Firefly 3D Module (Steam)
    defisym's Avatar
    Join Date
    Jun 2017
    Location
    Asia
    Posts
    612
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Have you tried this object?

    https://github.com/defisym/OpenFusio...oInstall/Files

    It’s a tokenizer based on regular expression, but you can safely use normal texts with escape.
    Please check if it has the same issue, if so, I can fix it asap, or you can fix it then PR.

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Location
    Norway
    Posts
    342
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you very much for your help.

    I have tested your extension defisym, and it works perfectly. It does work at start of frame before the fade in starts and it does not crash the application. String tokenizer and string parser 2 must do something differently that causes the application to crash if it is used before a frame fade in.

    I really like your idea Volnaiskra to use find string as a way to parse text. Since I am only parsing simple text with 2 elements, I think I will go with your idea instead, then have a extensionless design for this.

    Thank you so much for your help.
    I'm not sure if the bug with string tokenizer and string parser 2 is on Clickteams side or the extension developer design, but using Find String or defisym extension StringSplitter it will work fine.

    I would definitely use the StringSplitter for more advanced parsing, but for simple 2 elements parsing, I'll go for Volnaiskra Find String idea.

    Thank you all
    Attached files Attached files

  5. #5
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Location
    Norway
    Posts
    342
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Seems like there are more problems with the fade in and start of frame actions.

    When using a list object, you can not set any variable etc, from a line in a list at the start of frame if there is a fade in transition.
    This also have to be done after the fade in (run only once) just like string tokenizer and string parser 2

    I hope Clickteam can fix this issue.
    Attached files Attached files

  6. #6
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Volnaiskra's Avatar
    Join Date
    Jan 2014
    Location
    sprykethegame.com
    Posts
    3,209
    Mentioned
    133 Post(s)
    Tagged
    0 Thread(s)
    Until it's fixed, you might be better off making your own fade (eg. placing a giant rectangle over everything at start of frame then gradually increasing alpha to 255)

  7. #7
    Clicker Install Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)Firefly 3D Module (Steam)
    defisym's Avatar
    Join Date
    Jun 2017
    Location
    Asia
    Posts
    612
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Decal View Post
    Seems like there are more problems with the fade in and start of frame actions.

    When using a list object, you can not set any variable etc, from a line in a list at the start of frame if there is a fade in transition.
    This also have to be done after the fade in (run only once) just like string tokenizer and string parser 2

    I hope Clickteam can fix this issue.
    Have you checked the property "create before fadr in"?
    Or those objects doesn't have this prop?

  8. #8
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Location
    Norway
    Posts
    342
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How on earth have I never noticed this property before.
    I have gone through all of the properties tabs a million times for pretty much all the objects for many many years, and I never knew about this.
    I rarely use fade in/out transitions at all, so I have probably just glanced over it, but this fixed everything.

    Thanks defisym!
    Not only did it fix the list, but I can also use string tokenizer as well because it also has this property.
    It was never really a bug to begin with, it was just me not knowing about this property.

    Thank you very much

Similar Threads

  1. Another Odd Crash On Start-Of-Frame
    By durdgeo in forum Fusion 2.5
    Replies: 1
    Last Post: 16th January 2021, 11:02 PM
  2. Replies: 1
    Last Post: 8th June 2015, 09:11 PM
  3. Android game crashes at the start + crash report
    By Xsoul in forum Android Export Module 2.5
    Replies: 4
    Last Post: 22nd August 2014, 08:05 AM
  4. Bug : Fade start frame transition crash
    By waw_demmon in forum Android Export Module Version 2.0
    Replies: 6
    Last Post: 2nd April 2013, 10:42 AM
  5. Fade in effect and Start of frame event
    By haora in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 22nd September 2007, 05:20 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
  •