首先,來個純正的超簡單的Hello World.
1
print
(
"
Hello World
"
)
然后把它移到PSP上
1
--
字體顏色
2 red = Color.new( 255 , 0 , 0 )
3 -- 顯示 "Hello World"
4 screen: print ( 200 , 100 , " Hello World " , red)
5
6 screen.flip()
7
8 while true do
9 screen.waitVblankStart()
10 end
2 red = Color.new( 255 , 0 , 0 )
3 -- 顯示 "Hello World"
4 screen: print ( 200 , 100 , " Hello World " , red)
5
6 screen.flip()
7
8 while true do
9 screen.waitVblankStart()
10 end