Log In  

Cart #33888 | 2016-12-22 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

Hey there! I'm working on a heavily Super Mario Bros. inspired side-scroller that uses procedural generation for its levels. Despite the appearance, it's not going to be entirely Super Mario, however. There's going to be unrelated characters and monsters, and the player character will use a three point health system instead of power-up tiers.

It's far from finished, obviously. The basic level generation is complete, but it lacks enemies and many stuff. Levels cannot be completed yet, and side areas like bonus rooms and the starting and ending areas for underground and underwater levels are not implemented.

If anyone would like to contribute some code, art, or sounds/music, feel free! At this point, the token count currently stands at 1426.

Arrows: Select choice; adjust seed
Z or X: Select option; hold either or both to scroll through seed quickly

Arrows: Move left or right
X: Jump

Additionally, at the level start screen, pressing Z and X will adjust the current world and level retrospectively, but that won't be in the final game. You can return to this screen through the pause menu.

General roadmap of planned features:
(): Not implemented
(-): Partially implemented
(+): Implemented

(-) Title screen
(+) Platforming engine (credit goes to mhughson)
(+) Screen generation
(+) Level types
(-) Chunk layouts
() Bonus rooms
() Underwater physics
() Block behaviours
(+) Coins
() Enemies
() Power-ups
() Sound and music
() Opening and finishing areas for underground and underwater levels
() Level ending cutscenes
() Warp zones
() Boss for castle levels
() Losing a life
() Game Over screen
() 2 player mode (alternating turns)

P#33890 2016-12-21 21:18 ( Edited 2017-01-27 10:18)

Nice game! I can't wait to see how this turns out. Also, the zoom effect works well for this game. I'm assuming you chose it so that you could fit more-whole screen chunks in the map, right?

P#33920 2016-12-22 07:27 ( Edited 2016-12-22 12:27)


Yes, that's why the screen is zoomed in. If it weren't, I would've only been able to fit in at least 3 level types for only a dozen screen chunks each (the first two screen chunks of the top row is reserved for the actual playing field).

P#33945 2016-12-22 10:05 ( Edited 2016-12-22 15:05)

This is great; I look forward to seeing where you go with it!

P#33959 2016-12-22 10:50 ( Edited 2016-12-22 15:50)

Looks neat! I'll keep an eye on this one. Good luck!

lol, falling through a bottomless pit apparently places you on the map 'below'? That could be an interesting mechanic; having levels inter-connected in some way.

Edit: Hey, I noticed you're saving levels chunks in the map data? This is a good way to test out ideas, but you could try using strings to store the tilemaps instead. You would just need to have it pull the needed chunks and place them into a table (2d array), and then update any mset/mget calls to instead search for offsets inside that map table if that makes sense. And then instead of a map() call, you would have a function that draws a sprite for each tile using the table as the map.

You could store them as tables directly, but loading them from strings is better, since a string only counts as 1 token.

P#33960 2016-12-22 10:50 ( Edited 2016-12-22 19:43)

Nice touch with the bushes using the same sprite as clouds ;)

P#33961 2016-12-22 10:56 ( Edited 2016-12-22 15:56)

I was thinking about doing a similar kind of thing... but just a little 4-level jaunt that scripts different obstacles/widgets each playthrough. Generally, levels 1 and 2 power you up, 3 and 4 whittle you down... then you can quit or take on another lap with different obstructions. Trick is, getting all the gameplay objects within two pages of sprites; since I plan to use the full map.

This is right up the alleyway of projects I'm working on, which include MegaMan and Metroid-inspired proc-gen stuff, too.

P#34336 2016-12-27 21:23 ( Edited 2016-12-28 02:25)


I just found this... any progress here?

I have started something similar:

P#36609 2017-01-24 17:25 ( Edited 2017-01-24 22:25)


For my project, I have been busy with other things over in other communities quite recently, so I haven't made much progress with this ever since, I'm afraid.

That does look super neat, however. I wish you luck on it!

P#36650 2017-01-25 09:11 ( Edited 2017-01-25 14:12)

That DOES look excellent, Sascha217!! Keep me posted, too!

P#36766 2017-01-27 05:18 ( Edited 2017-01-27 10:18)

Good game but why is there no level ending and why is the camera zoomed in?

P#88234 2021-02-27 01:57

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-13 03:52:28 | 0.021s | Q:29