How do I combine multiple games

0 favourites
  • 6 posts
From the Asset Store
Be quick and choose the right answer for the shown equation.
  • I would like users to see a first screen offering multiple games and from there they can choose which game to play.

    Each game already exists independently.

    Does anybody know how I could do this?

    Thank you!

  • I recommend doing this outside of Construct 2. Using pure HTML you can just make images that are links so when a user clicks on an image go to game1/index.html, on the second image go to game2/index.html and so on. The index file is the file that is created when you export as HTML5 website. I never worked directly with HTML5 so I'm afraid I can't give ou an example.

  • I recommend doing this outside of Construct 2. Using pure HTML you can just make images that are links so when a user clicks on an image go to game1/index.html, on the second image go to game2/index.html and so on. The index file is the file that is created when you export as HTML5 website. I never worked directly with HTML5 so I'm afraid I can't give you an example.

    Definitely the easiest way to do this, your directory structure would be as follows in this case:

    ./
    |- index.htm
    |- game1.png
    |- game2.png
    |- game3.png
    |- Game1
      |- index.htm
      |- (Any other data exported by construct)
    |- Game2
      |- index.htm
      |- (Any other data exported by construct)
    |- Game3
      |- index.htm
      |- (Any other data exported by construct)
    [/code:15zzbltd]
    And then have your first index file contain a bit of html with links to each game and a picture representing it. e.g.
    
    [code:15zzbltd]
    <center>
        <table>
            <tr>
                <td><a href="./Game1/index.htm"><img src="./game1.png" /></a></td>
                <td><a href="./Game2/index.htm"><img src="./game2.png" /></a></td>
                <td><a href="./Game3/index.htm"><img src="./game3.png" /></a></td>
        </table>
    </center>
    [/code:15zzbltd]
    
    You can then make it look as pretty or ugly as you wish.
  • But I need to be able to export the whole thing as one big game, and if I understand right the way you suggest I will have a page linking to the different games, but not the whole thing as one big game, no? do I understand right?

  • Why do you need it to be one large game, exactly?

    (Either way, you could make a new project with a ''selection'' layout, that then leads to the appropriate opening layout for each existing game.. You'd need to manually add said game to the project though.. Bit by bit.)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • ok, thank you for your help.

    I need it because I need to make an app from it that must come from one united game.

    I will try it.

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