Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by Gamma

I was planning on working on a more simple game today, and I stumbled on a problem. The game is a simple platform game which aims to solve certain puzzles, but is it possible to make a level selection menu in which the player can go back and replay levels, and if so, how would I make one?

Ex: If you've played angry birds, you've already seen it a billion times (over exaggeration). The menu with all the levels is what I'm aiming for, and the ability to click on a level and head back to try it again.

Also, does anyone know how to push highscores to twitter accounts, or how to implement a score system that can be exported onto things like facebook, twitter, Google + ?

1 decade ago by Joncom

The way I did level selection in this game was by making the level select screen be its own level. And the title screen is a level to. Everything is levels, lol. Maybe not the best approach, but I found it to work quite well.

I maintained a boolean in main.js that was something like viewingLevelSelect. Then when a level is loaded and this is true, I'd spawn a bunch of buttons. They were not hardcoded into the level.

1 decade ago by Joncom

(For some reason I posted the same thing twice.)
Page 1 of 1
« first « previous next › last »