Ask coding questions

← Back to all posts
How to post images in Javascript canvas?
codeitfast (58)

I had an image in this game that I was making. However, I now am not able to post an image for some reason. I am VERYYYY new, so can someone help me please?

Answered by Bookie0 (6375) [earned 5 cycles]
View Answer
codeitfast (58)

@Bookie0 I haven't read it yet, but I think I need to use one that doesn't have an html canvas because my code doesn't have one but it somehow works. Thanks, though!

codeitfast (58)

@Bookie0 Actually, nevermind! It now works fine. Thank you SOOO much!

Bookie0 (6375)

@codeitfast no problem, glad it helps!

Bookie0 (6375)

@codeitfast kinda like internet points. you get 1 cycle when someone upvotes ur comment/post or when someone accepts your answer as correct (like here) :)


Have a look at this game I made. It involves drawing images on a canvas, and also other game logic that may help you with yours: