Usage of multiple Construct 3 subprojects into the main project

0 favourites
  • 3 posts
From the Asset Store
Casino? money? who knows? but the target is the same!
  • Hi All,

    I am new to construct 3. My requirement demands multiple small games in a single view. Its basically for a mobile and Web. So, I was exploring Construct 3 and found it would be a good fit, except, I am not sure how to load multiple small games separately. To understand it better.

    Requirement

    MainConstruct3 Project

    - Sub project 1 (separate C3 projects)

    - Sub project 2

    - ...

    Web Server

    Main Construct 3 (url path : http://xyz.com)

    - Use Iframe to load

    - Sub project 1 (url path : xyz.com/subproject1)

    - Sub project 2 (url path : xyz.com/subproject2)

    Problem

    1. Sharing of data between projects is a bit complex. Need to send the data to the server and get the data back from server. Local storage cannot be used. Session storage can be used temporarily.

    Are there any other method to achieve my requirement?

    Reason why I want this setup

    1. Scalability - the requirement demands lots of small games. Using multiple layouts in a single C3 file may not be scalable.
    2. I wanted to minimize the effort for web and mobile development as I am developing it alone.
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • A single page is not advisable as it can bog down the users system.

    You can use QueryParam, and QueryString to load separate projects in separate pages with params used to transfer data between games.

    It would require a page with links to those html pages.

    construct.net/en/make-games/manuals/construct-3/plugin-reference/browser

  • Interesting thought!!. Basically, the blocker is how to pass the data between the games . If I send it via Post request to the parent C3, I should be able to handle it and store the updates.

    Let me check the feasibility. Thanks.

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