Uploaded February 2024 | Updated September 2026, 18 hours ago
Multiplicative Damage Formula
- Asset Used -
Free Human Sprite - fatcatgamesstudio.itch.io/10-human-warriors-jrpg-battlers
- Code -
Enemy - pastebin.com/JSdRH8Qt
Bullet - pastebin.com/ZJYsChMY
Player - pastebin.com/GcDcjy0c
- Time Stamps -
0:00 - Preview
0:10 - Introduction to Multiplicative Damage Formula
0:25 - Setting up properties/modifiers for the Enemy
1:02 - Defense Modifier & Effective Damage
2:04 - Crit Chance
2:42 - Randomness
3:21 - Elemental Resistance
4:30 - Elemental Effectiveness
5:34 - Setting up Animation for Resistant & Effective
9:19 - Floating Damage Number / Damage Popups
12:24 - Bullet
13:27 - Refactoring for external ATK (damage from bullet)
14:25 - Player
16:07 - Final Result
- Discord -
discord.gg/AYv8FRz5ag
- Music Used -
- ENRA – Virginia
- Provided by Lofi Records
- Watch: youtube.com/watch?v=CnSo18t2APY
- Download/Stream: fanlink.to/InMotionEP
Multiplicative Damage Formula
- Asset Used -
Free Human Sprite - fatcatgamesstudio.itch.io/10-human-warriors-jrpg-battlers
- Code -
Enemy - pastebin.com/JSdRH8Qt
Bullet - pastebin.com/ZJYsChMY
Player - pastebin.com/GcDcjy0c
- Time Stamps -
0:00 - Preview
0:10 - Introduction to Multiplicative Damage Formula
0:25 - Setting up properties/modifiers for the Enemy
1:02 - Defense Modifier & Effective Damage
2:04 - Crit Chance
2:42 - Randomness
3:21 - Elemental Resistance
4:30 - Elemental Effectiveness
5:34 - Setting up Animation for Resistant & Effective
9:19 - Floating Damage Number / Damage Popups
12:24 - Bullet
13:27 - Refactoring for external ATK (damage from bullet)
14:25 - Player
16:07 - Final Result
- Discord -
discord.gg/AYv8FRz5ag
- Music Used -
- ENRA – Virginia
- Provided by Lofi Records
- Watch: youtube.com/watch?v=CnSo18t2APY
- Download/Stream: fanlink.to/InMotionEP










