Adding Images (PLS HELP)
Monkey Forums/Monkey Beginners/Adding Images (PLS HELP)
| ||
I have been following this tutorial: http://monkeygameprogramming.blogspot.co.uk/2015/01/monkey-x-2d-scrolling-platformer-with.html Can someone please tell me how to change the grey squares into a brick image? |
| ||
You need to load the image and then change the DrawRect into DrawImage commands. Quick example of loading and displaying images: The "player.png" file needs to be in a folder called <yourmainfile>.data, eg my main file was called imagetest so the folder needs to be called "imagetest.data". |