Extra Melee length

dale_coop

Moderator
Staff member
By default, the sprite based sword is one sprite (8pixels)
You could modify the PreDraw script to use 2 sprites...
Or another possibility for an bigger or animated weapon would be to implement the use of an object based object. http://nesmakers.com/viewtopic.php?f=35&t=1777
 

dale_coop

Moderator
Staff member
The sprite based sword is just a sprite that is drawn next to your player when he’s in attack state (action step 2 or 3 depending of the module used).
The « PreDraw » script is the script that draws that sprite. And another script (handle sprite weapon) is in charge for dealing with the collision.
If you are using the sprite sword (by défaut in NESMaker 4.1) and you want a bigger weapon you’ll have to write custom code in those scripts...

An easier way would be to use an object melee instead of the default sprite based one.
 
Top Bottom