Why Nostr? What is Njump?
2023-10-13 17:35:40

Raspberry Jam on Nostr: Wishlist the game on Steam! Here's how my Rogue-like generates its levels 1. Start ...

Wishlist the game on Steam! https://store.steampowered.com/app/2372450?utm_source=mastodon&utm_campaign=levelgen

Here's how my Rogue-like generates its levels
1. Start with a randomly sized rectangular room
2. Make another rectangle sharing an edge with the first
3. Make a list of the corners formed by the two rectangles
4. Pick a random corner and fill it with a new rectangle
5. Add any new corners formed to the list
6. Repeat from step 4

How do you generate levels in your game?

#roguelike #gamedev #indiedev

Author Public Key
npub12s872pwwqaspfzxs2wff9zrj4xlx4dkwl2ddxxzz5l4kxnpjjh8s45rcar