- File operations work on "data/" folder or ".jrf" file
- [NEW] fopenres() works on .jrf resources, fopen on normal files
This commit is contained in:
5
data/game.ini
Normal file
5
data/game.ini
Normal file
@@ -0,0 +1,5 @@
|
||||
title=HOLA MINI
|
||||
width=160
|
||||
height=120
|
||||
zoom=3
|
||||
files=game.lua
|
||||
12
data/game.lua
Normal file
12
data/game.lua
Normal file
@@ -0,0 +1,12 @@
|
||||
x=0
|
||||
|
||||
function _init()
|
||||
text="HOLA MINI"
|
||||
end
|
||||
|
||||
function _update()
|
||||
cls(20)
|
||||
print(text,x,60)
|
||||
x=x+1
|
||||
if x>160 then x=-strlen(text)*4 end
|
||||
end
|
||||
Reference in New Issue
Block a user