Platformer Engine created in Game Maker Studio 2. This is a Game Maker 2 project and it will contain all the scripts created to make the engine work.
Features - Platform collision - Jumping (short jump and full jump) - Gravity - Hurtbox - Hitbox (you can place multiple hitboxes around an attack on the same sprite frame and each with its own damage value, good for fighting games as well) - State machine (for hero and enemies) - Basic enemy ai - Cone of vision (for hero and enemies) - Gamepad support - Debugging scripts such as displaying hitboxes and con of vision during testing - Sandbox room - Doc on how to use the collision box scripts for hurtbox and hitbox and how to use the state machine
Demo at: https://www.dropbox.com/s/6os9b5f4x7zoc6u/Platformer%20Engine%20EXE.zip?dl=0
Art assets and music was not created by me, credits below:
Boxy Bold Font - By cemkalyoncu from OpenGameArt.org - Clint Bellanger - http://clintbellanger.net/ Tileset and background on the GameRoom - By ansimuz From OpenGameArt.org - Luis Zuno - https://www.patreon.com/ansimuz Red Skeleton - By MoikMellah from OpenGameArt.org Shirtless Hero - By Balmer from OpenGameArt.org Button and Keyboard icons - By Vreyll from itch.io Castle Village Song - Trent Mahaffey - email@example.com
You may use the scripts in personal or commercial projects. You may modify these scripts to suit your needs. You can NOT re-distribute this project