Bugs/issues when Building Game

  • #1, by ianfoxSaturday, 16. March 2019, 22:27 A year ago
    Hi,

    I've completed a demo version of my game and while trying to run 'Build Game' I've run into a couple of issues.  If anyone could help with my questions I'd be grateful.

    When I run 'build game' (mac version) I'm not entriley sure what difference the 'export sounds/scenes/character seperate' options make, except that when I use them various things don't work - like the first scene starts with no music and is panned to the wrong area.
    (Running the game in the editor works absolutely fine by the way). 

    Also, the build seems to be really picky about whether it wants to play the intro video or not depending on which of these options I choose.

    I've built the game several times without selecting any of these 'export seperate' options, but I've noticed that a lot of my background artwork seems to be old versions from months ago before I updated various details in them - has Visionaire somehow cached a previous version of the jpegs I used for the backgrounds and is using these, despite the fact I've updated them in the editor?

    I managed to fix the background issue on one scene by going into the editor, deleting the background, and then re-assigning it.  Will I have to do this for all the artwork that I've updated at somepoint?

    All help appreciated,

    Ian

    Newbie

    24 Posts


  • #2, by afrlmeSunday, 17. March 2019, 00:20 A year ago
    Have a look in your projects root folder & see if their is a folder named "tmp", delete it, if there is. I believe that was the solution for when it includes old stuff in your builds.

    As for mac, it's best to compile for mac directly on a mac machine. I also think it's best to include everything in the same vis file on mac, rather than separately, though separate is better for when you want to update the game as it means they don't have to redownload the entire game again as you just need to include the main vis file & updated files.


    Imperator

    6773 Posts

  • #3, by ianfoxSunday, 17. March 2019, 05:53 A year ago
    Thankyou AFRLme,
    That's helped a lot.  

    All the backgrounds seem to be correct now, though - do you know about the compression of background jpegs when building the game? There's a slight but noticable compresison on all the backgrounds in the build compared to the crisp visuals shown when running in the editor.  Is there a way to counteract this?

    Newbie

    24 Posts

  • #4, by SimonSSunday, 17. March 2019, 09:06 A year ago
    The engine converts jpegs to webps, because jpegs are not always portable (was this way at least before). This can of course increase artifacts.

    Thread Captain

    1314 Posts

  • #5, by afrlmeSunday, 17. March 2019, 11:31 A year ago
    Should always use png, or better yet webp (for optimizaton reasons) while working on your game projects. wink

    Imperator

    6773 Posts

Write post