Zelda Hit Detection – Behind the Code

December 21, 2020 0 By retrogamingdev

Zelda Hit Detection – Behind the Code
Code walk through sword collision detection, sword/wand states, and the wand collision bug.

If you would like to support this channel, here is a link to the Displaced Gamers Patreon page – https://ift.tt/34dPhXG

Twitter: https://twitter.com/DisplacedGamers
Facebook: https://ift.tt/34ers2f
Instagram: https://ift.tt/35fTVVC

Music by Wolf and Raven:
https://www.youtube.com/channel/UC-PRsIpJXWpg3PtjfQLwiVw

Featured Game Genie Codes:
(Take note that I have not tested these with a real cartridge)

Sword Damage Boost: NNOLTIAO
White Sword Damage Boost: NNOLYIAX
Magic Sword Damage Boost:NNOUAIAK

Fast Sword: ZAOEUTPA

Sword Centering Mod (Vertical Sword): YAKUTTTA
Sword Centering Mod (Horizontal Sword): PAVLYTTE

Wand Melee Fix CMP: ZUSLIIAL
Wand Melee Fix BNE: ESSLTIEP

0:00 Intro
1:42 Item Usage Conflict
3:27 Overview and Emulator Helpfulness
6:00 Begin Code Trace
9:40 Sword States and Comparing Values
14:50 Resume Code Walk
19:04 Execution Time?
20:35 Enemy Size and Hitboxes?
24:47 The Wand Melee Bug
28:05 An Abandoned Sword Animation?
29:03 Fix the Wand Melee Bug
31:42 Removing Sword Wind-Up
32:57 Outro

#ZELDA #CODE #PROGRAMMING
via YouTube https://www.youtube.com/watch?v=FBk-QkzMeIk