Game Maker Studio 2 Platform Engine Part 13

Опубликовано: 16 Июль 2026
на канале: SQGTDev Fun Channel!
212
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.