VERSIÓ 1.4.8:
- [NEW] draw.surfrot
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
--require "ia.other"
|
||||
|
||||
x=0
|
||||
rot=0
|
||||
|
||||
function mini.init()
|
||||
s = surf.load("gfx/logo.gif")
|
||||
@@ -21,7 +22,7 @@ end
|
||||
|
||||
function mini.update()
|
||||
surf.cls(0)
|
||||
draw.surf(0, 0, 160, 144, 0, 0)
|
||||
draw.surfrot(0, 0, 160, 144, 120, 78, rot)
|
||||
|
||||
draw.text("PRESS START", 60, 110, 28)
|
||||
if key.press(key.ESCAPE) then sys.quit() end
|
||||
@@ -48,4 +49,5 @@ function mini.update()
|
||||
font.spacing(0)
|
||||
draw.text("0146",100,50,28)
|
||||
font.current(font.DEFAULT)
|
||||
rot=rot+1
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user