This video explains melee combat in platform games, and how to install and use the custom Melee Combat module I made.
https://www.nesmakers.com/index.php?threads/melee-combat-module-4-5-9.9344/
00:00:00 Introduction
00:00:23 Looking at some example games
00:04:06 Explaining how the objects work together
00:06:13 Looking at the NESmaker forum page for the module
00:07:06 Installing the module
00:08:55 Making a test game
00:09:23 Setting up the player object
00:17:00 Setting up the weapon object
00:20:17 Setting up the input scripts
00:22:00 Testing the game
00:23:24 User Constants
00:24:12 Monster death object
00:24:50 The code that makes the weapon follow the player
00:28:26 The attack input script
00:29:50 Closing words