gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Graphics > Displaying bitmaps in Lua4GBA

#178488 - Renderless Games - Tue Sep 29, 2015 7:31 am

I do infact need help with my Lua GBA project. The ROM crashes when I use the code to add an image to the game see:
Code:

local sys=require"image"
local S
S=sys.new("player.bmp")

And yes the bitmap file exists and is placed in the same exact folder as my project. Any help at all will be great. I also get the same issue with displaying a text from a file so could it be the files or directory issue? Or is it even possible to show pictures in Lua4GBA? Any advice will be appreciated!
_________________
Thaddeus