Game Maker Studio 2 Platform Engine Part 13

Subscribers:
179
Published on ● Video Link: https://www.youtube.com/watch?v=R7mG_lzJ39A



Duration: 0:36
176 views
1


This is a pretty big addition: 3D! This opens up all sorts of neat opportunities for me.

Here's how it works: GMS2 has layers now, and you can choose to run scripts before and after a layer is drawn on screen. I thus created a script that changes the camera to a 3D mode just to render 3D tilemaps and objects, and then another script runs that swaps it back to 2D to run all of the 2D only stuff. Notice how the HUD and 2D level is drawn in 2D, while the 3D tilemap rotates around in 3D behind them and above the 2D background.