User Tag List

Results 1 to 5 of 5

Thread: Font size crashes my game

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5+ DLC (Steam)HTML5 Export Module (Steam)

    Join Date
    Mar 2022
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Exclamation Font size crashes my game

    Hi!

    So basically i'm currently working on a project for a few months now and wanted to have a version on HTML5, bought the export module and tested if everything worked correctly.

    I have currently 3 frames, 1 for the fullscreen mode via Ultimate fullscreen object, 2 the main menu and 3 the level.

    Everything until the menu worked fine, no problems, maybe that there is no pixel outline shader but i already knew that the export would ignore the shaders. So when i click to go to the next level it makes the transition (which is a

    fade effect) and then it stays in a black screen until i close the tab (a crash basically if you look in the browser's console).

    I asked on discord and Phi told me to check the development export, there he realized that it was the font size parameter conflicting with a counter (i have a combo system where it adds up the more you hit enemies, having a little

    animation of getting bigger and then shrinking). i deleted the object and the export worked fine.

    So i wanted to ask here if there is a way to work around this, i have some ideas, but wanted to make sure, and also to ask the developers to fix this bug please and thank you for your time!

    (Here i edited the post to add an example of what i'm talking about)

    Counter_bug.mfa

  2. #2
    Clicker Fusion 2.5
    Gigatron's Avatar
    Join Date
    Jun 2020
    Location
    France
    Posts
    349
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    I can help you if you post a little .mfa example;

    Regards

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5+ DLC (Steam)HTML5 Export Module (Steam)

    Join Date
    Mar 2022
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Gigatron View Post
    Hi,

    I can help you if you post a little .mfa example;

    Regards
    there i added an example

  4. #4
    Clicker Fusion 2.5
    Gigatron's Avatar
    Join Date
    Jun 2020
    Location
    France
    Posts
    349
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Relatif View Post
    there i added an example
    Ok , the error is on getFont function on Object.js , can you try to change line 914 ?

    Code:
    914  : var nFont = rsFont;
    Like so :

    Code:
    914  : var nFont = this.rsFont;
    Save the file Objects.js and test your .mfa ; let me know if it's ok ;

    Regards

  5. #5
    Clicker Fusion 2.5 (Steam)Fusion 2.5+ DLC (Steam)HTML5 Export Module (Steam)

    Join Date
    Mar 2022
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Gigatron View Post
    Ok , the error is on getFont function on Object.js , can you try to change line 914 ?

    Code:
    914  : var nFont = rsFont;
    Like so :

    Code:
    914  : var nFont = this.rsFont;
    Save the file Objects.js and test your .mfa ; let me know if it's ok ;

    Regards
    YES! IT WORKED! thank you so much, kindof strange it misses that simple keyword there but i can work around it now

Similar Threads

  1. edit box font size
    By Chokito in forum HTML5 Export Module 2.5
    Replies: 2
    Last Post: 21st August 2021, 10:58 PM
  2. Keyboard size and system font size
    By Ls2 in forum Android Export Module 2.5
    Replies: 0
    Last Post: 30th April 2014, 12:26 AM
  3. Font size / Object size ration?
    By ratty in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 21st January 2014, 12:42 AM
  4. Set font size
    By Dafydd in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 17th September 2007, 10:27 PM
  5. ASB Font size bug?
    By Flava in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 8th September 2006, 08:10 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
  •