Was working on a game for Steam. Tried to build for web and music stops.

Not favoritedFavorited Favorited 0 favourites
  • 4 posts
From the Asset Store
HTML5 Game Bundle (7 Games) – Created with Construct 3
  • For a variety of reasons it looks like I will have to abandon the game I was building for Steam. Out of curiosity I decided to see if it would run as a web app. The framerate dropped in half but the game worked... mostly.

    I ran into two issues:

    1. One of my tweens sometimes didn't finish "tweening". (This never happened with the PC version.)

    2. Some of my music would suddenly stop playing and never start again.

    Any idea why these things were happening?

  • What do you mean by web app? Are you using NWJS? That's the only option I know that works with steam.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Sorry for being unclear. I was working on a game for Steam but for a variety of reasons that's no longer an option for me.

    So I took the current game and instead of exporting with NWJS I exported for Web and put it on my website. The game runs, but sometimes tweens don't finish and the music just suddenly (and seemingly randomly) stops mid-play and never starts again.

    Could be memory maybe? My screens are 1920x1080 but each background is significantly larger to handle different resolutions and aspect ratios.

  • If you're running in Chrome or Edge, then Construct is running the same code in the same browser engine, and there's no reason for any compatibility differences on Construct's side.

    It's entirely possible your own project has a race condition (i.e. inconsistent timing between different tasks due to a mistake in your project logic) which only happens in certain circumstances that happen to align with which export option you use. That sort of thing happens a lot in software. However it's impossible to say without knowing more details or seeing the project.

Jump to:
Active Users
There are 0 visitors browsing this topic (0 users and 0 guests)