cykod / Quintus

HTML5 Game Engine
http://html5quintus.com
GNU General Public License v2.0
1.41k stars 400 forks source link

Uncaught TypeError: Type error chrome ubuntu 12.10 #47

Closed alexche8 closed 11 years ago

alexche8 commented 11 years ago

Uncaught TypeError: Type error line 300 ctx.drawImage(Q.asset(p.asset),-p.cx,-p.cy); It is happens when I run quintus games on chrome in ubuntu 12.10 but localy it is ok. Anyone have this error?

cykod commented 11 years ago

I'm on Ubuntu as my primary OS and haven't run into that problem - that's generally an issue that happens when an image isn't loaded or a bad asset. No issue's with name capitalization/etc? Try to stop the debugger to trap the exception and make sure the Q.asset(p.asset) call is returning properly.

alexche8 commented 11 years ago

Sorry for this, it might be something with my chrome. Error throws on every html5 app where sprites do loading. On other computers, browsers it is ok