VERSIÓ 1.4.8:
- [NEW] draw.surfrot
This commit is contained in:
1 parent
d573c159fa
commit
74cb8cb0f8
6 files changed
+156
-6
No files matched your search
+3
-1
@@ -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