LUA First Sample Not Working

I tried doing this:

"Go to subdirectory SaturnLuaPlayer/samples/ and make a copy of a sample directory of your choice, name it as you like.

Open SaturnLuaPlayer/samples/myprojectname/cd/0_orig.lua in a text editor.


Modify that Lua code or start from scratch with something like that:

slInitSystem(TV_320x224, 0, 1)

slPrint("Hello World!")

while true do slSynch() end


Now run batch file SaturnLuaPlayer/samples/myprojectname/makeiso_for_debugging.bat

Finally launch ISO SaturnLuaPlayer/samples/myprojectname/sample.iso in your Saturn console or emu.

Yabause can launch the ISO directly, for SSF you need to mount the ISO in Daemon Tools."


But the MAKE Debugging ISO and MAKE ISO file just starts a DOS prmpt REALLY fast than ends it and makes no ISO file :(
 
Ok I got it to make the ISO but no HELLO WORLD in Yabuse, this is what my file contains:



slInitSystem(TV_320x240, 0, 1)

slPrint("Hello World!")

while true do slSynch() end
 
Screen coordinates are missing. You must specify the screen position of the text for slPrint. This one works, for example:

Code:
    slInitSystem(TV_320x240, 0, 1)

    slPrint("Hello World!", 20, 15)

    while true do slSynch() end
 
Back
Top