Puzzles in Platform Games

0 favourites
  • 4 posts
From the Asset Store
An amazing and interesting puzzle game for kids!
  • Hey Constructers;

    this is my first time here, although I've been thinking very hard lately about a game idea. I have art, music, almost everything, so I need to get this thing working.

    Basically, I just need directions to tutorials or if it only takes a short answer, than please somebody elaborate here. :)

    Now, I sort of figured out some of the simple elements, but where I need help:

    • How to make doors and correspondent switches / levers? I would have also some hidden switches, maybe a puzzle where a switch opens one door but closes two at the same time. By door I mean an obstruction into which the avatar bumps into horizontally.
    • How to create readable signs? Like in Lost Vikings: you approach a terminal / sign, press the "use" button and a text pops up.
    • Collecting keys, optional treasures, I want to keep the player interested.
    • Building a set of levels instead of one long scrolling screen, with an exit and points of no return.
    • Saving.

    These are the first I'd like to implement, but I have many more features in mind. But first I want to learn these basic things.

    Thank you!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • That's a lot of little question with big answers.

    The manual and search the tutorials would be best place to go and deal with each issue on a one at a time basis, then post again with a more specific problem,if you get stuck.

  • I will try point you around the best I can, but without some tiny bit of knowledge in how games work exactly, this could get difficult.

    How to make doors and correspondent switches / levers? I would have also some hidden switches, maybe a puzzle where a switch opens one door but closes two at the same time. By door I mean an obstruction into which the avatar bumps into horizontally.

    There are many many things going on in this paragraph.

    Firstly, for the ow to make doors and correspondent switches / levers? I would have also some hidden switches, maybe a puzzle where a switch opens one door but closes two at the same time. you will need to use event and array to get the job done. The array will keep the states of the door. You can use value like 0 or 1 to imply whether it's open or close in the array, and you can put the logic of these doors in the event.

    Secondly, when your avatar bumps into an obstruction that you called "door" there, you can check for a sprite collision in your event sheet. There is a similar thing called "overlap", but let's not talk about it right now.

    How to create readable signs? Like in Lost Vikings: you approach a terminal / sign, press the "use" button and a text pops up.

    In C2, you can create Text object in your layout. In your event sheet, in EVERY TICK, you can check FOR EACH of these Text object whether the player object is near to these Text Object or not. If the player is in certain distance, make the Text Object visible, else, make it invisible.

    Collecting keys, optional treasures, I want to keep the player interested.

    Once again, in your event sheet, have your player Object check for collision against your shiny items objects. If collision is detected for a treasure, you could use a global variable for, for instance, keeping score.

    To create a global variable, right click on an empty area of your event sheet, and you should see global variable listed as one of the right click option menu.

    A global variable can be named anything, and could be used to store a number, text, etc. In this case, you can go for number. If the player collided with a golden coin, you can add some values to the value of the "score" global variable. Something along these lines.

    Building a set of levels instead of one long scrolling screen, with an exit and points of no return.

    For this, you can create more layouts. When you have your C2 project opened, on C2's usually right panel, the one with "Projects" text label on it, do you see something like a folder with the word "Layouts" next to it? Right click on it, and you should see "add layout" as one of the right click option.

    Saving.

    To save a game, C2's newer version has these cool built-in save feature. Please read scirra.com/tutorials/526/how-to-make-savegames

    I don't think you may be able to understand all of these in one go, but here are some general guidelines and after this, it shall be technical details. Post more in the forums one subject per one forum topic to get better further technical assistant. Everything you have requested so far could be done in C2 and it's not so difficult, once you get the hang of how C2 work. You can do this, my friend.

  • Thank you, it's very helpful! :)

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