Here is a basic GUI menu I am slowly working on.
Forgot to mention I only have 1 key mapped for testing reasons.
Forgot to mention I only have 1 key mapped for testing reasons.
BASIC Code wrote:
:ClrHome
:ClrDraw
:DispGraph
:44→X:‾47→Y
:70→N:‾55→O
:95→P:‾63→Q
:Line(X,Y,P,Y,1
:Line(X,Y,X,Q,1
:Line(X,Q,P,Q,1
:Line(X,O,P,O,1
:Line(P,Q,P,Y,1
:Line(N,Y,N,Q,1
:Text(47,45,"ATTACK
:Text(47,72,"MAGIC
:Text(55,72,"ITEMS
:Text(55,45,"ESCAPE
:45→T:‾48→U
:69→V:‾54→W
:1→Z
:Goto 1
:End
:Lbl 0
:Line(T,U,V,U,0
:Line(T,U,T,W,0
:Line(V,W,V,U,0
:Line(V,W,T,W,0
:Goto 2
:End
:Lbl 1
:Line(T,U,V,U,1
:Line(T,U,T,W,1
:Line(V,W,V,U,1
:Line(V,W,T,W,1
:Goto 2
:End
:Lbl 2
:While 1
:¦ getKey→K
:¦ While K=1
:¦ ¦ getKey→K
:¦ End
:¦ If K=26
:¦ ClrDraw
:¦ Goto 0
:End
:If K=24
:Goto 0
:End
:If K=25
:Goto 1
:End
:If K=34
:End
Generated by SourceCoder, © 2005-2010 Cemetech
:ClrDraw
:DispGraph
:44→X:‾47→Y
:70→N:‾55→O
:95→P:‾63→Q
:Line(X,Y,P,Y,1
:Line(X,Y,X,Q,1
:Line(X,Q,P,Q,1
:Line(X,O,P,O,1
:Line(P,Q,P,Y,1
:Line(N,Y,N,Q,1
:Text(47,45,"ATTACK
:Text(47,72,"MAGIC
:Text(55,72,"ITEMS
:Text(55,45,"ESCAPE
:45→T:‾48→U
:69→V:‾54→W
:1→Z
:Goto 1
:End
:Lbl 0
:Line(T,U,V,U,0
:Line(T,U,T,W,0
:Line(V,W,V,U,0
:Line(V,W,T,W,0
:Goto 2
:End
:Lbl 1
:Line(T,U,V,U,1
:Line(T,U,T,W,1
:Line(V,W,V,U,1
:Line(V,W,T,W,1
:Goto 2
:End
:Lbl 2
:While 1
:¦ getKey→K
:¦ While K=1
:¦ ¦ getKey→K
:¦ End
:¦ If K=26
:¦ ClrDraw
:¦ Goto 0
:End
:If K=24
:Goto 0
:End
:If K=25
:Goto 1
:End
:If K=34
:End
Generated by SourceCoder, © 2005-2010 Cemetech