Sound not working on some machines / Web game Stalling

  • #1, by doggiedaveThursday, 28. February 2019, 14:25 A year ago
    Hi

    I uploaded my first Visionaire Studio game to itch.io, and someone has reported that he had some trouble.

    1) Sound was not playing on his downloaded windows version.

    Has someone encountered this before? Or could it be an issue with the users computer?

    2) The html5 version in his browser stalled on the menu.

    The resolution of the game is 1920 x 1080. Could this pose issues in the browser for some people? It runs fine as a windows app on my laptop, but it runs with very choppy animation in a browser on the same computer.


    Thanks

    Dave

    Newbie

    2 Posts


  • #2, by afrlmeThursday, 28. February 2019, 15:12 A year ago
    Out of interest did you use mp3 audio files? I'm not super savvy on html5, & I don't know if this is true in regards to html5 games, but some browsers only have support for specific audio files. Ask them if they can try a different web browser & see if that also has no sound playing.

    Chrome has support for both mp3 & ogg. Firefox, I believe has no support for mp3. The recommended audio format for Visionaire Studio is ogg (vorbis). The reason for this is because ogg is an open container/open source audio format & requires no special licenses to use/distribute.

    Imperator

    6842 Posts

  • #3, by NigecThursday, 28. February 2019, 16:02 A year ago
    working fine here on Firefox, Edge strugles badly
    Simon updated HTML5 recently, but I'm guessing you are using v5.0.9,if you aren't I recommend updating (backup first!)
    1920 x 1080. seems a bit big for a webgame
    regarding sound there should be a messages.ini if its a desktop version
    C:\Users\******\AppData\Local\VisionaireStudio\game_name

    I just tried the Windows version and the sound is working

    Key Killer

    563 Posts

  • #4, by esmeraldaThursday, 28. February 2019, 16:32 A year ago
    I just had a go with Vivaldi, a Chrome based browser, works fine.
    In the windows version the sound is playing. No problem here.

    (fun litte game! I have a minor nitpick: he is walking a bit slow. There is some ground to cover, so this annoyed me a little, but I am of the impatient kind. ;-)  )

    Great Poster

    389 Posts

  • #5, by afrlmeThursday, 28. February 2019, 17:19 A year ago
    As Nige said, 1920x1080 is way too big for a web game. You have to think about optimization & web browser limitations. Web based games should be 1280x720 or lower resolution. Use webp image format instead of png to reduce total game size, which will decrease loading times/bandwidth usage. Use ogg for audio. Video isn't currently supported.

    Imperator

    6842 Posts

  • #6, by SimonSThursday, 28. February 2019, 18:53 A year ago
    If it can't run fullhd, it can't run 1280x720. You need a really recent version of the browser, chrome or firefox, and your computer shouldn't be too slow.

    Thread Captain

    1368 Posts

  • #7, by afrlmeThursday, 28. February 2019, 19:37 A year ago
    If it can't run fullhd, it can't run 1280x720. You need a really recent version of the browser, chrome or firefox, and your computer shouldn't be too slow.
    Either way, lower resolutions are better for web browser games.

    Imperator

    6842 Posts

  • #8, by doggiedaveThursday, 28. February 2019, 21:55 A year ago
    Thank you everyone for your great responses. Collectively, you have taught me a lot. I'll rethink the way I build it for web now.


    Newbie

    2 Posts

Write post