can we make a single app in C3 to showcase and play multiple games?

Not favoritedFavorited Favorited 1 favourites
From the Asset Store
Create your own casino app and import it to Google Play and the App Store.
  • I thought about looking into this, and it looks like loading a website from a zip file into an iframe is way more complex than I thought XD

    I mean, it's possible but it's a bit ridiculous. The main issue is that since the files are not served from anywhere, you need to create in memory URLs to all of them and then update all the places that use URLs in your index.html with your in memory ones, so the iframe can find them.

    It seems like it might work for simple use cases, but a C3 export is not a simple use case and I wouldn't be surprised if the approach runs into problems.

  • Yeah, serving complex content like exported Construct projects requires being served normally. That means https: on the web, or in Cordova or desktop exports it internally uses a protocol like app: that works similarly. It doesn't even work properly on file:.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ah yes, no duplicate filenames does make this a bit tricky. The good news is we're planning to lift that restriction soon when the 'Flat' folder structure mode is removed. Until then I think you might have to do something a bit more hacky - perhaps you could export to Android Studio/Xcode, then add the extra files to the app. The idea is to add the extra files outside of Construct, but in a way that still bundles them with the app.

    I hope he don't forget and we'll get this update soon.

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