Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

hello!
whenever i add this plugin to my project i keep getting this error
"Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The image argument is a canvas element with a width or height of 0."

Hi there!

I never saw this one, so I guess I will need a little more information:

  1. What RPG Maker version you are using? MV or MZ?
  2. Are you using the PRO or the Free version?
  3. Does that error also happen on the sample project?
  4. can you show me a screenshot of your plugin parameters?
  5. Can you show me a screenshot or send the file you are using for the bitmap font?

sorry for the late reply
1-im using mz
2-i was using the pro version
3-the sample project works perfectly fine
4/5-i didn't change anything about the plugin parameters except adding the cyborg font from the sample

Ok!

So you didn't create your own font, right? You are using the one from the sample project?

  1. If that is the case, you may need to update the plugin parameters on your project. Because the sample project has the plugin parameters set for that specific font.
  2. If you used the font from the sample project, on your project, you will need to update your project plugin parameters to match the Cyborg font from the sample project.
  3. So if the sample project works fine, just need to send me the screenshots of the plugin parameter and the font file of your current project, so I can take a look.
  4. And also, when the error happens, press F12 and go to the CONSOLE tab of the browser window that will be opened. Send me a screenshot of that page.

heya! here's the screenshot for the console tab and the plugin parameters


Hi there!

Yeah, thanks for that. I'm not seeing anything wrong...

I guess I will have to ask for you to build a test project replicating the error for me. So I can test this project, trigger the error and see what is going on.

Can you upload it somewhere and send it to me via discord? 

  • Hakuen Studio#5661