Matrix_set(matrix_world, matrix_build_identity() ) * Reset the world matrix afterwards for safety */ Keeping things simple with 3D in GameMaker means you really only need a handful of functions and variables to maintain everything.ĭraw Event /* To manipulate the position of vertex buffers, modify the world matrix */ *When exporting an OBJ from Crocotile, you'll want to set the scale to x16 since Crocotile works by 1 unit = 16 pixels but GameMaker works by 1 unit = 1 pixel.Ī legally-distinct mushroom modeled real quick in Crocotile If your player sprite is 16x16 pixels, you can expect a 16x16 tile in your Crocotile model to be the same size*. Crocotile's 1 unit = 16 pixels design + GameMaker's default orthographic camera means that it's quite easy to maintain a 'pixel perfect' appearance when your 3D model is thrown into the 2D scene.
It's purely visual and works almost entirely off of GameMaker-provided functions. This is one of the simplest ways you could use a 3D model in your GameMaker game. This is just a handful of ways to use the tools together, and I encourage you to get creative/experimental with it in your own projects! 1. Here, I'll share some ideas and advice on how you can use Crocotile and GameMaker together that plays to both programs strengths. ) How Can You Use Crocotile With GameMaker? ( If you decide to buy Crocotile, I urge you do so directly through the developer's site.
While the free demo doesn't let you export your models, I strongly recommend trying it out first to see if the tool feels right to you. If you have the experience to utilize the tool well, or you don't mind dropping a little cash into a new hobby, then the price is more than worth it. It's worth mentioning that Crocotile costs money, $25 (USD) to get the license. Coincidentally, since GameMaker offers only the barest built-in support for 3D rendering and logic - and thus lacks many of the optimizations a built-for-3D engine would have - using a low-poly style is also a great way to get into 3D without immediately tanking performance.Ĭrocotile can also be used for more than just making static models, which I'll talk about more later in the post.Ī character and scene I made in Crocotile, imported and rendered in GameMaker Studio 2 If you're into visuals like those of Minecraft, the Playstation 1, or the Nintendo DS, Crocotile is fantastic for that. Why Would You Use Crocotile With Gamemaker?Ĭrocotile is great for retro, low-poly visuals. Even for those unfamiliar with GameMaker's Room/Tile editor, I think Crocotile is pretty straightforward and accessible. It reminds me of my earlier days grabbing tiles from SMB3 tilesheets and making entire levels piece-by-piece. Coming from a GameMaker-heavy background, the ability to just throw down tiles in a scene feels very familiar. I find it to be very fast, functional, and - most important, in my opinion - easy. The Crocotile3D mascot in-program What is Crocotile?Ĭrocotile3D is a 3D modeling program where you use 2D tilesheets to build low-poly scenes and objects. In theory, you should be able to do any of this stuff as long as you're using a version of GM that lets you open external files and build vertex buffers.
I'll save the generalized discussion of 3D math and rendering in GameMaker for another time. It's really just me rambling about a handful of ways you can use Crocotile with GameMaker.
Overviewīefore we get into it, I want to emphasize that this post is not generally about doing 3D stuff in GameMaker, nor is it a guide on how to get started in 3D programming. Sometimes people will ask me questions about these tools or how I make my stuff, so I'm hoping this post can give some insight into how and why I use these programs together, as well as provide some ideas on how YOU can get started if you're interested. Since then, I've found that I'm far from the only person using this combo of tools. Using Crocotile3D with GameMaker 24 January 2021 This post is not sponsored in any way, I just really love Crocotile lolĪs a GameMaker user building games in 3D, I replaced Blender with Crocotile a few months back and it has made the whole process quicker and much more enjoyable for me.