Everytime I playtest my game and I encounter a troop I Get this error
Error
Uncaught TypeError: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': Value is not of type 'long'.
can anyone help me?
that's not enough information.
When you get the error hit F8 (or F12?) to open the developer tools. Go to the Console tab. Grab a screenshot of that and post it here.
I think I might have found the problem myself I think it could be that some of my plugins are outdated
updating the plugin didn't work so I did what you said too so here
The "not of type long" error usually comes from passing the wrong kind of object as an argument into a function.
What is that PassiveSkills.js plugin? Do you get the error with that plugin turned off? Is it an MZ plugin?
additionally, please give a screenshot of your plugin manager so that we can see the order of your plugins as that is also important.
and you have another error in the configuration of Galv's projectile plugin
The passive skills plugin is just a plugin that makes making passive skills easier and it should be for MZ because that's what it said it was for on the website I got it from.
I just tried them without the passive skill plugin and I don't get the error anymore
Where did you get all the plugins of your third block?
And especially have you renamed them?
Because spaces in filenames can cause problems, there is a reason why all other plugins use underscore _ instead of spaces in their names.
If they were originally with spaces, then that points to their programmer being a bit inexperienced...
Okay and thanks for the help