Can't find BitmapData asset with ID even that it is there #2595
Unanswered
NikRetaNCAM
asked this question in
Q&A
Replies: 1 comment
-
I'm sure there's a simple solution to this. Would it be possible to look at where your code is kept in relation to your assets? And was the file always a png? Or was it a different format before and now has been renamed to a .png file? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
this is the code for initiating the image, with character variable being gf

(note: i did try the same code but with "true" in loadGraphic, that var defines if image is animated)
so, the path will look like "assets/images/gf.png", right?

then uhh.. why this happens? am I doing something wrong

Beta Was this translation helpful? Give feedback.
All reactions