Spudnickator's Forum Posts

  • 5 posts
  • I've gone with the global per level approach and it all works good, thanks for the suggestions everyone! I'm curious as to how doing it this way wouldn't allow for adding more levels once the game is finished, surely I could just keep adding more variables? Not that I plan to anyway, this is just a first attempt at fiddling around with the program more than anything!

  • Gaah, tried that and a few other things and it works to start with, but then I run into a problem.

    If I beat one level it's fine, but when I beat a second level the changes to the colour of the first level revert to default, and then it shows the second level as it should, and it keeps doing that. Any help? D:

  • Ah okay! That makes sense, not sure why I didn't think of that. I'll try that now.

    Thanks :D

  • I have a simple level selection screen where if you click the name of the level you go straight to that level, and then when the level is finished you return to the level selection screen.

    My problem is that I want the colour of the box the level name is in to change after completion of the level. I have sprites set up so all I need to do for this is to make the right sprite visible when a level is completed, however I'm unsure how to do this.

    My first idea was to use a boolean on each of the sprites and then have that be set to visible when the level is complete, however this obviously doesn't work across separate layouts.

    I assume I need to use global variables, but I'm unsure how to do this. I can see it being easy to do if the levels had to be completed in numerical order, but they can be done in any order so I'm unsure how to accomplish this.

    Thanks in advance!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Apologies for the vague title but I'm not sure how to word my question without going into detail.

    I'm veeery new to this, and I'm just experimenting making a pretty basic platforming game. I have each level be its own layout, and I'm having each level share the same event page because there isn't much point, as far as I can see, in using separate ones.

    The problem I have is that when the character touches a certain block, I want them to move onto the next level. I can't find a way to specify what level to change to without creating an entirely new event sheet and saying "go to layout 'levelx'".

    I'm pretty sure there's a way to do this more efficiently than that but I don't have a clue.

    Thanks in advance :D

  • 5 posts