All the Stars in the Universe is a small game about a star thief. He receives messages from his friend asking him to complete quests for her, because she's, unfortunately,  tied up at the moment. These random quests take place in a randomly generated universe of planets. 

In the meantime, the police is on his heels (because, well, he is a thief), and his spaceship + weapon have been destroyed. During the game, you'll have to retrieve parts and restore your wealth and status. Eventually, you need to get back to your friend.

To make it even more difficult for myself (or perhaps not), the whole world consists of pixel art that is generated on the fly. It creates varied and colourful environments, but I have to see if performance holds up.

NOTE: The first time it loads, there might be nothing happening (even after 10-15 seconds) because of connection timeout. Wait a few seconds, reload and it should work. 

Otherwise, try this URL:  All the Stars in the Universe

If all of that doesn't work, tell me, and I'll try to find another back-up URL.

On random generation

Yes, I've seen how things played out with No Man's Sky :p It's not my intention at all to create the biggest random universe ever. (The game will probably be about one solar system with ten planets or so.) 

This game is more of an experiment to see how procedural generation can be done right. How I can make a game with high variety and replayability, but also with a strong foundation that is the same in every game.

Even though everything is randomly generated, the story of the game is not (for the most part). 

What engine are you using?

The game is completely HTML5 + JavaScript, and created using the awesome Phaser framework.

Controls

WHEN ON A PLANET:

  • Left/Right arrow keys to walk around
  • Up arrow key to jump off the planet
  • Down arrow key to interact with an object (if you're close by, and it can be interacted with)

WHEN IN SPACE:

  • Arrow keys to help steer the player to a certain extent

Already in the game

  • Random planets are generated. Each of them has an information sign (with the planet name and catchphrase), several houses (which you can enter), and landmarks (which are just for visual effect)
  • The player can move around the universe. It will be attracted to other planets (the force is based on the size of the planet and the distance to the player), but you can adjust its course with the arrow keys.
  • The player can land on planets. Once landed, it can walk around it (by pressing the left/right arrow keys). It can interact with objects when in front of them (by pressing the down arrow key). It can leave the planet ("jump off") at any time by pressing the up arrow key.
  • Stardust flies around randomly, and can be collected by touching it. They are repelled by planets, instead of attracted.
  • Meteorites fly around randomly. When you hit them, you bounce back, and lose a live.
  • The player can enter houses and explore them.
  • A sample menu is available. It can be open/closed by pressing "A"
  • The game can be saved by pressing "S". (It is saved in local storage, which means you shouldn't play in Incognito Mode, nor clear your browser settings.)

To-do List

This game is an experiment into meaningful, story-driven tiny games. It is and will always be free and open source. That's why I'll keep track of my to-do list here. If you have any ideas, just tell me and who knows what can happen.

  • BUGFIX: The player gradually moves more and more away from a planet (when you walk around it). This is a result of movement vector errors - can be fixed if I use a different system.
  • BUGFIX: Checking whether a planet is in camera view doesn't work perfectly. (But, I'm thinking about using a different method which might be better for performance, so I don't know what to do here.)
  • FEATURE: Give the player more animations (?)
  • FEATURE: Figure out lighting and shadows within houses. (And make more stuff for within the houses.)
  • FEATURE: Re-think how stardust and meteors behave. Now they just move around randomly.
  • FEATURE: Everything for Artificial Intelligence and other aliens in the game.
  • FEATURE: Everything with quests, messages, and the storyline.
  • FEATURE: Create more (types of) houses and landmarks to populate the planets.
  • FEATURE: Create gun + shooting mechanism
  • FEATURE: Find out exactly what to do with the large sun in the center of the solar system.
  • FEATURE: Expand the save-game function to also save player appearance, quest progress, etc. (and give visual confirmation of saving)
  • FEATURE: What happens when a players has lost all his lives?
  • FEATURE:  Invent a mark-up system for conversation text. (Something like, when I say [grey]text[/grey], the text becomes grey instead of black.)
  • Other things I'm forgetting right now, probably.


Very specific to-dos (mostly here to remind myself):

  • Prevent furniture from using a color too close to the background wall
  • Create more furniture. (Also small things, like vases and lamps on tables, or books in closet.)
  • Start outlining general storyline, and quest types (and how to implement them)
  • Make general createHSL an createHSLA functions for easy colors
  • Give houses their own ID, so that we can just retrieve them from the save file? (Instead of copying it with the curHouse variable)
  • Performance: either keep turning plantes+sprites on/off, or cache as bitmap and leave them on.
  • Make player wink from time to time.
  • Allow player to sit on chairs, open cupboards, and read/investigate books and stuff.





More information

Published 20 days ago
StatusPrototype
PlatformsHTML5
AuthorPandaqi
GenreAdventure
Tags2D, adventure, Pixel Art, planets, quests, Space, stars, star-thief
Average sessionAbout a half-hour
LanguagesEnglish
InputsKeyboard, Mouse

Development log

Leave a comment

Log in with your itch.io account to leave a comment.