VERSIÓ 1.4.8:

- [NEW] draw.surfrot
This commit is contained in:
2026-03-21 10:15:23 +01:00
parent d573c159fa
commit 74cb8cb0f8
6 changed files with 156 additions and 6 deletions

View File

@@ -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