How to put pictures into game?

I've seen squiffy games that have pictures in them... How to put pictures in?


You can use this command...

<img src="pictureName.jpg" alt=">Sorry, image not found<" height=200 width=200>

(and this one is good if you are using an image from a variable (i.e. changing a character or image))...

<img src={variableJpg} alt=">Sorry, image not found<" height=200 width=200>

You'll need to determine the pixel height and width - most photo editor tools (including Microsoft Paint) will determine this nicely.


This topic is now closed. Topics are closed after 180 days of inactivity.

Support

Forums