Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

EMI EMI GAMES

11
Posts
53
Followers
68
Following
A member registered Jun 19, 2024 · View creator page →

Creator of

Recent community posts

Hi!

This does not have a random level generator in it. What this does is convert layer tilemaps into 3D mazes, and use 3D billboard sprites for the items and enemies you place as instances in the room editor.

However, if you can code logical randomized tilemaps yourself, the conversion to 3D would apply as well.

A room is constructed mostly through 4 layers: Floor, Walls, Ceiling and "Wall pieces above doors". When you draw these layers in the room editor, these will be converted into the 3D maze. If you can figure out a way to consistently have these multiple 2D layers work together into creating a logical random maze, then that could theoretically work. Keep in mind that doors and key placement will probably be a bit tricky to setup.

Randomized levels is not in the scope of this template however since I am not too familiar with random level generation.

You should be able to change resolutions by going to the specific code blocks that sets the window size, application surface dimensions, and how those are resized in the fullscreen/window mode code block.

(1 edit)

All code is commented in the project.

What happens is that the tilemaps drawn in the room editor are sampled and turned into 3D cube shapes by constructing the 3D vertices when the level starts (but only if they should be visible). The tilemap itself is then used as a texture source for the generated polygons. The texture source is a surface on which the (animated) tilemap is drawn for each used layer.

The camera projection handles the rest.

It's done using Game Maker Studio 2's vertex/camera/matrix functions.


The hit detection is handled by checking collision boxes and collision lines (using Game Maker functions like for example collision_line).

There's also options where you can set the scale (in tile-size units) of walls, so you can make the walls higher or lower (same with ceiling,...).

As for how to add your own textures, once you understand how to assign texture coordinates to vertices, it should definitely be possible to add that yourself. In fact, the "exit" object, the "door" objects,... already do that!

(1 edit)

I think you mean that the camera swivels up and down while walking? :)

That is in there, altough it's subtle, and can be adjusted.

Glad to hear it! I certainly hope I made every line of code as clear as possible... I put a lot of effort in my templates, with more on the way!

Thank you, your comment made my day all the better :)

Now this is a very promising workflow upgrade tool! I will definitely be following your development on this! 

Really interesting twist on Pong!

I used one of the songs (Tough Consequences) as part of a demo in my Arcade Shoot'Em Up template for Game Maker Studio 2 - A template with a full playable demo, that is basically a near feature complete source code for making games like that. It's the only track used since it's just a demo meant to showcase how music can loop - but it works really well for that purpose :)

I made sure to credit you and link to this page - with recommendations to check out your work. Same for the video I made to showcase what the template can do :)

This is great!

Me too, so I decided to make it myself. Enjoy!

(2 edits)

Do whatever you like with them, it's only a few particle FX sprites. Since snow and rain are very common, I'm sure these can end up being used a lot :)

You don't need to credit me, but it's nice if you would.