Created over a weekend using GameMaker: Studio, this was me learning how to create random levels using HeartBeast's YouTube tutorial, then the GM:S documentation to figure out the Direct 3D functions.

The level generation code is modified from HeartBeast's own method - to accommodate the 3D functions each block of the wall is a separate object, whereas HB uses just one object to draw anything - but then he is only doing it from a top-down perspective!

I've uploaded the source code. Feel free to take it apart, use it and abuse it for any of your own games. No credit necessary. It's not exactly well commented, but have at it! All I ask is you show me what you've made.

But man oh man... GameMaker: Studio sucks for creating 3D games, no wonder people say don't do it!


In the 2D world, you'll notice a flag to represent a goal. This does nothing other than play a sound currently. There is no point to this "game".

The movement is meant to be reminiscent of old dungeon crawling games like Hired Guns, Captive, Bard's Tale or Whales Voyage. So you only move in "steps" and rotate 90 degrees at a time.


The controls are:

Left arrow - rotate anti-clockwise
Right arrow - rotate clockwise
Up arrow - move forward
Down arrow - move back

O - go back to main menu
P - generate a new maze
Esc - exit game

StatusPrototype
PlatformsWindows, HTML5
Rating
Rated 3.0 out of 5 stars
(2 total ratings)
AuthorBee Bush
GenreAdventure
Made withGameMaker
Tags2D, 3D, Dungeon Crawler, GameMaker, hot-mess, Prototype, random-generation, source-code

Download

Download NowName your own price

Click download now to get access to the following files:

Random lvl gen test-0.0.0.1.exe 2 MB
Random lvl gen test.gmz 753 kB

Comments

Log in with itch.io to leave a comment.

I think the compass direction is wrong. If I'm facing east, compass says I'm facing west.

Nice and simple. I was looking for exactly this.
Of course I found it by accident, but I'm glad I did! d(^^)
Thanks for sharing. :)

(+1)

interesting game bro.

I gotta say though, the controls are pretty awkward but getting use to them is funny. 

I laughed pretty loud at the flag sound. Nice job!