All the Stars in the Universe
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?
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)
- "MOUSE CLICK": Shoot bullet(s) towards the mouse
- "A": Open/Close the menu
- "S": Save the game. (No feedback as to whether it was succesful or anything yet.)
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.
- The game can be saved. (It is saved in local storage, which means you shouldn't play in Incognito Mode, nor clear your browser settings.)
- You can shoot your gun, though it doesn't do anything yet.
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.
PRIORITIES: Gun system and AI entities.
- FEATURE: When a bullet hits an asteroid, the asteroid goes POOF? It expels stardust? Both of those?
- FEATURE: Hittest bullets against other creatures (once implemented)
- FEATURE: When do I delete bullets if they never hit anything? After a certain life time, or when they're too far out of view? Choices, choices.
- FEATURE: Let AI creatures roam around the galaxy. Step by step: create AI creatures randomly at start, teach them to hop on/off planets, and to walk in a random direction once on a planet.
- 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 (like what?)
- FEATURE: Figure out proper lighting and shadows within houses. I just cannot figure out how to do shadows in a way that doesn't just confuse the player even more. (Also, allow players to turn of lights, as Firefox really can't handle those performance-wise.)
- 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: 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 player has lost all his lives? I guess it's game over, OR, the player simply loses some items and goes back to where he started.
- 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):
- 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 planets+sprites on/off, or cache as bitmap and leave them on.
- Allow player to sit on chairs, open cupboards, and read/investigate books and stuff.
Leave a comment
Log in with your itch.io account to leave a comment.