Log In  


Cart #k8_caves_v1_1-0 | 2020-11-02 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
5

I found a cool cave generation algorithm and I'm building a game around it. Currently you can only explore a single random level with 100 bats that fly randomly.

Features:

  • random 128x64 map that wraps around
  • rendering y-sorted mobs
  • Kate, who can run, dash and stand still

Todo:

  • damage system
  • attack for Kate
  • better sprites for the level (pls help, I suck at esthetics)
  • progression
  • more enemies
  • enemy AI
  • collision detection between mobs
  • more sounds
  • and a LOT more

Any feedback or suggestion are appreciated.

Versioin history:
1.1 (latest)

  • dash
  • stamina
  • less noisy walls


1.0
Cart #k8_caves_v1_0-0 | 2020-10-29 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
5

  • First release
5


:bat:
Sorry I didn't reply back sooner, love it so far!
IDK how much I could help with sprites but I would be down to help! for the solid/wall sprites I would mix in a lot of pure black sprites to make it less noicey but that's just me. like it!


Procedural generation is really interesting to see in pico8. I wanted to point out that you can put the map into a two dimensional table rather than using mset. This way you should be able to make the height and width more even. If your generation strategy is predictable you may not even need to do that. Just generate more as you go around.


@SmellyFishstiks with my current map generation only floor allows for randomness, but I will definitely revamp it to get some foliage on the walls and add what you said.

@Athas I have a board in a 2d table with 1 where the walls are and 0 where empty space is. I use mset to move the board to the map to make drawing things easier, although I guess I could be drawing it on the fly instead of using map(). I don't want to do that before I decide I need a bigger map or I run out of sprite space.

My generation algorithm doesn't allow for generating more content as you go. I need the whole level genrated from the beginning. I posted a showcase of the algorithm in an earlier post, you can visually see how it operates on the whole board at once.


I made a mockup;

I just meant that if you removed some of the detail it would look better since it woulden't be as noicy.
although adding more stuff would be cool!


1

@SmellyFishstiks To do what you did I'd have to add another (empty) version of the wall tile, so it's still adding :D

Edit: And it's done, along with a dash move for Kate. I would like to get such small updates every week or two.



[Please log in to post a comment]