- [NEW] view(x,y,w,h) Creates a clipped viewport that also translates origin.
-[NEW] view() Resets the viewport to all the window.
This commit is contained in:
@@ -11,7 +11,12 @@ function _update()
|
||||
end
|
||||
|
||||
function normal_update()
|
||||
view()
|
||||
|
||||
cls(20)
|
||||
view(10,10,140,100)
|
||||
cls(3)
|
||||
prnt("HOLA",0,0)
|
||||
prnt(text,x,60)
|
||||
if btnp(keyRight) then x=x+1 end
|
||||
if btnp(keyLeft) then x=x-1 end
|
||||
|
||||
Reference in New Issue
Block a user