- Joined
- Sep 30, 2016
- Messages
- 20
- Reaction score
- 2
- First Language
- English
- Primarily Uses
Hello. So I've ran into a problem with a game I'm making and i have no idea what has caused this issue to happen. The issue being that whenever I use an item in battle, the game just crashes.
Here's the error message I get:
https://gyazo.com/1b05c0f856a2fc64c26b2e284ee4524d
Here is also the console log I get when the error happens:
TypeError: Failed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': float parameter 3 is non-finite.
at TypeError (native)
at Bitmap.gradientFillRect (file:///D:/RPGMakerMV/Games/TNQ/js/rpg_core.js:781:24)
at Bitmap.gradientFillRect (file:///D:/RPGMakerMV/Games/TNQ/js/plugins/YEP_CoreEngine.js:622:41)
at Window_BattleStatus.Window_Base.drawGauge (file:///D:/RPGMakerMV/Games/TNQ/js/plugins/YEP_CoreEngine.js:1449:17)
at Window_BattleStatus.Window_Base.drawActorHp (file:///D:/RPGMakerMV/Games/TNQ/js/rpg_windows.js:555:10)
at Window_BattleStatus.drawGaugeArea (file:///D:/RPGMakerMV/Games/TNQ/js/plugins/YEP_BattleStatusWindow.js:498:10)
at Window_BattleStatus.drawItem (file:///D:/RPGMakerMV/Games/TNQ/js/plugins/YEP_BattleStatusWindow.js:468:10)
at Window_BattleStatus.processStatusRefresh (file:///D:/RPGMakerMV/Games/TNQ/js/plugins/YEP_BattleEngineCore.js:5021:10)
at Window_BattleStatus.updateStatusRequests (file:///D:/RPGMakerMV/Games/TNQ/js/plugins/YEP_BattleEngineCore.js:5012:50)
at Scene_Battle.updateStatusWindowRequests (file:///D:/RPGMakerMV/Games/TNQ/js/plugins/YEP_BattleEngineCore.js:4283:24)
If anyone knows how I can fix this then I really appreciate any help.
Here's the error message I get:
https://gyazo.com/1b05c0f856a2fc64c26b2e284ee4524d
Here is also the console log I get when the error happens:
TypeError: Failed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': float parameter 3 is non-finite.
at TypeError (native)
at Bitmap.gradientFillRect (file:///D:/RPGMakerMV/Games/TNQ/js/rpg_core.js:781:24)
at Bitmap.gradientFillRect (file:///D:/RPGMakerMV/Games/TNQ/js/plugins/YEP_CoreEngine.js:622:41)
at Window_BattleStatus.Window_Base.drawGauge (file:///D:/RPGMakerMV/Games/TNQ/js/plugins/YEP_CoreEngine.js:1449:17)
at Window_BattleStatus.Window_Base.drawActorHp (file:///D:/RPGMakerMV/Games/TNQ/js/rpg_windows.js:555:10)
at Window_BattleStatus.drawGaugeArea (file:///D:/RPGMakerMV/Games/TNQ/js/plugins/YEP_BattleStatusWindow.js:498:10)
at Window_BattleStatus.drawItem (file:///D:/RPGMakerMV/Games/TNQ/js/plugins/YEP_BattleStatusWindow.js:468:10)
at Window_BattleStatus.processStatusRefresh (file:///D:/RPGMakerMV/Games/TNQ/js/plugins/YEP_BattleEngineCore.js:5021:10)
at Window_BattleStatus.updateStatusRequests (file:///D:/RPGMakerMV/Games/TNQ/js/plugins/YEP_BattleEngineCore.js:5012:50)
at Scene_Battle.updateStatusWindowRequests (file:///D:/RPGMakerMV/Games/TNQ/js/plugins/YEP_BattleEngineCore.js:4283:24)
If anyone knows how I can fix this then I really appreciate any help.

