PLEASE NOTE: This demo file was created using GameMaker: Studio 2, though all of the code can be utilised for GameMaker: Studio projects.
Requires intermediate knowledge of GML
With the Fake Z Axis - Scripts Demo, you can see how to add a fake 3D effect to your games and projects! This effect works best when used in a game with a semi-top-down perspective.
This pack includes a working project room, set up to demonstrate the Fake Z Axis effect, as well as some scripts that you can use in your own projects to duplicate the effect.
The scripts included can:
Initialise objects to use the Fake Z Axis system.
Detect collisions between the new 'floor' and 'ceiling' of the game room.
Detect collisions between objects that use the Fake Z Axis system.
Handle the drawing of sprites and scaled shadows to complete the effect!
All scripts are thoroughly commented so that they are easy to understand, use and tweak as you please!
If you have any suggestions for improvements to this pack or if you need any help with the scripts, please don't hesitate to get in touch!