Try this,the block you see is the main man,there is a block
down below the screen.Press down to walk to it.
;I tryed something which is Not working, what am i doing wrong:
; Graphic Mode
Graphics 800,600,32
; Global Variables
Global x=40,x1=40,y=40,y2=640
While Not KeyDown(1)
Cls ; Always clear screen first
Rect x,y,20,20,1 ; Draw the box in the current x,y location
Rect x1,y2,20,20,1 ; Draw the box in the current x,y location
If KeyHit(208) Then
y2=y2-40
EndIf
Flip ; Flip it into view
Wend
Is this what ur asking?
down below the screen.Press down to walk to it.
;I tryed something which is Not working, what am i doing wrong:
; Graphic Mode
Graphics 800,600,32
; Global Variables
Global x=40,x1=40,y=40,y2=640
While Not KeyDown(1)
Cls ; Always clear screen first
Rect x,y,20,20,1 ; Draw the box in the current x,y location
Rect x1,y2,20,20,1 ; Draw the box in the current x,y location
If KeyHit(208) Then
y2=y2-40
EndIf
Flip ; Flip it into view
Wend
Is this what ur asking?