SP4CEBAR 2022-07-25 10:17 (Edited)
Drag to define zones
There's not much else at the moment
You may be able to spot the effects of my screen cruncher
The plan is to have three menus in this GUI:
SP4CEBAR 2022-07-28 09:52 (Edited)
I want to share these subprograms which make a number display out of sprites:
Note: my 10 number characters start at character 164 and take one character each
SUB SDIGIT(S,X,Y,N)
N2=164+N MOD 10
SPRITE S,X,Y,N2
SPRITE S SIZE 0
END SUB
SUB SNUM(S,X,Y,N,L,T,SP)
'N1=INT(N)
N1=INT(ABS(N))
X1=X+L*SP
FOR I=0 TO L
CALL SDIGIT(S+I,X1-SP*I,Y,N1)
N1=N1\10
IF T AND N1=0 THEN
EXIT
END IF
NEXT I
END SUB
The parameters of SNUM are:
SP4CEBAR 2022-07-28 10:09
And... the code is a mess again... even though its fundamentals are great
SP4CEBAR 2022-07-29 15:29 (Edited)
V0.3
Future features:
SP4CEBAR 2022-07-30 10:59 (Edited)
SP4CEBAR 2022-08-01 15:51 (Edited)
SP4CEBAR 2022-08-01 19:24