Search found 3 matches

by SeparateEntity
Thu Feb 09, 2006 10:28 am
Forum: PSP Lua Player Development
Topic: Windows luaplayer /n newline issue?
Replies: 3
Views: 2542

I'm working on a simple brainf*** editor/interpreter. I'll need to split the BF code (the main string) to multiple lines. It would be much easier if it could support \n without having to code an inefficient and lengthy workaround.
by SeparateEntity
Thu Feb 09, 2006 5:48 am
Forum: PSP Lua Player Development
Topic: Windows luaplayer /n newline issue?
Replies: 3
Views: 2542

Windows luaplayer /n newline issue?

When I use this code: green = Color.new(0, 255, 0) screen:print(0,0, "Hello World\nby Entity", green) screen.flip() while true do screen.waitVblankStart() end I end up with Hello World[weirdcharacter]by Entity. Is this...
by SeparateEntity
Thu Feb 09, 2006 5:33 am
Forum: PSP Lua Player Development
Topic: Is this a know bug in the Windows Luaplayer?
Replies: 1
Views: 1822

Put the rendering code outside of the bInit check, and don't forget to clear screen at the beginning of the main loop. green = Color.new(0, 255, 0) Count=0 background = Image.load("background.png") bInit = true while true do screen:clear(&...