PSP Hacks - Forums

Go Back   PSP Hacks - Forums > Tech Talk > LUA Scripting

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-22-2008, 02:25 PM
jolli jolli is offline
PSP Newbie
 

Join Date: Dec 2008
Posts: 4
jolli Has a Beginner Reputation
Default help with screen:print()

I have a problem with this code:

rosso = Color.new(255, 0, 0)
oldpad = Controls.read()
while true do
screen:clear()
pad = Controls.read()
if pad:cross() and not oldpad:cross() then
screen:print(10, 10, "Hello Word", rosso)
end
while true do
screen.flip()
screen.waitVblankStart()
oldpad = pad
end


when I press cross,the luaplayer print "Hello World" for a second but I want that stay printed on the screen
Reply With Quote
 

 



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:22 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©