|
Post by leon26leon26 on May 22, 2016 8:34:52 GMT
I made a simple little Maze Game. Very simple, yet expandable. PicturesIf you bought Socket, simply run this code in the directory you want MazeViewer in: http=require "socket.http" ltn12=require "ltn12" lfs=require "lfs" local file=ltn12.sink.file(io.open("temp.lua",'w')) http.request {method="GET",url = "http://pastebin.com/raw/gp6MEhjE",sink = file} dofile("temp.lua") os.remove("temp.lua")
If you didn't, you'll have to go through this long install process : -open this dropbox link and either download the zip file or open the folder. -read the readme.txt -put every image in the resources/images/MazeTiles folder into the same directory in TouchLua (resources/images/MazeTiles). -put everything in the MazeViewer folder into a folder in TouchLua, location does not matter. -to enable audio (optional) copy all files in the resources/sounds folder into the same directory in TouchLua (resources/sounds), and uncomment lines 143 and 223.
|
|
|
Post by leon26leon26 on May 26, 2016 11:23:12 GMT
Update: fixed Installer, should work now.
|
|
|
Post by Tag365 on May 28, 2016 16:09:34 GMT
This game is very slow on my iPhone 4s phone and takes half a second to draw a frame. Still, it is somewhat playable.
|
|
|
Post by leon26leon26 on May 28, 2016 17:28:51 GMT
This game is very slow on my iPhone 4s phone and takes half a second to draw a frame. Still, it is somewhat playable. probably because of the images. Slows my iPhone 6 down to 10 FPS. Should be slightly better in the next update, because I lowered the img size from ~800 pixels^2 to 80 pixels^2. (And redid the textures ) Still waiting on Lars updating the files on his sever though.
|
|
|
Post by lars on May 28, 2016 21:46:58 GMT
I will do that now. Give my 5 mins
|
|
|
Post by leon26leon26 on May 29, 2016 7:13:23 GMT
Oh hell no. It blurrs my nice, pixel perfect textures. Edit: found the setantialias function, testing now Edit2: changing the antialiasing flag doesn't seem to to anything...
|
|