Basic Starter Code

This is the basic code I start each of my projects with.

while true do
   screen:clear()
 
   pad = Controls.read()
   if pad:start() then break end
 
   screen:print(0,0,"Hello World From LUA!",Color.new(255,255,255))
 
   screen:waitVblankStart()
   screen:flip()
end
 
psp/lua_player/pickdat/basic.txt · Last modified: 2008/05/15 00:07
 
Recent changes RSS feed Creative Commons License Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki