GML Platformer Mechanics Made Easy

The following is a simple bit of script which gives a game similar mechanics and physics to classic platformers like Mario or Mega Man, just add your own solid objects!  Eventually, I’ll repackage my physics as a stand alone function so that it can be applied to random environment objects or enemies.  This code can reworked to run in any language,…

Top Down Adventure Style Movement and Attacks

Heres some very early GML code for movement and attacks in a top down adventure game.  I suppose that I could have used some sort of constructor function for assigning attributes to obj_sword, but thats not always easy to read and can get very messy if you change the function to add paramaters so, as…