- [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:
2023-07-04 23:03:19 +02:00
parent 0a92e29aa3
commit 584b65041c
4 changed files with 36 additions and 2 deletions

View File

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