"converting the number 13 to 10"
That's not what happened. CHR$(13)!=the number 13. CHR$(13) got corrected to CHR$(10) because CHR$(13) is a line break character that doesn't break lines.
Did you even read all of my post? I said both were glitchy.
Anyway, I recommend you look at SmileBASIC Source. It has quality games. If you want to share your game without running through the servers, try Petit Modem.
Finally, please give examples of the "hand-holding" commands.
is it bad that i enjoy these flame wars
Portal wasn't made in TI-BASIC, it was made in Z-80 assembly. (the Z-80 is what powers most TI calculators) This gives the dev more control over everything and makes the program run exponentially faster than a TI-BASIC program. That might make porting it a little bit difficult.
You forgot to put it in a loop. Also, you don't need to make multiple separate IF statements and you don't have to run SPSHOW, that's only for if you hide it first.
ACLS
WHILE 1
IF BUTTON(2) THEN
SPSET 0,1024
SPSCALE 0,20,20
BEEP 14
ENDIF
VSYNC 'Make sure this runs once per frame
WEND
Here, have an (unfinished) graphing calculator.
Key is in the picture.
(I'm working on a new version from scratch with a new UI and way of graphing problems)
ACLS
FOR I%=0 TO 35
SPSET I%,0
SPHOME I%,8,8
SPCOLOR I%,RGB(((35-I%)/35)*255,((35-I%)/35)*255,((35-I%)/35)*255)
SPFUNC I%,"FUNC"
NEXT I%
WHILE 1
CALL SPRITE
VSYNC
WEND
DEF FUNC
SPOFS CALLIDX,200+DEG(SIN(RAD((MAINCNT+CALLIDX*10) MOD 360))),120+DEG(COS(RAD((MAINCNT+CALLID*10) MOD 360)))
END
This makes a cool effect... if it works.
You could use CLS, then redraw the border and ball. For example:
WHILE 1
VSYNC 1 'Wait a frame before advancing
CLS 'Clear text screen
... draw border and ball ...
WEND
Pika, VSYNC doesn't use decimal points. That .1 will be rounded down to 0, which completely destroys the point of VSYNC.(lag-compensating version of WAIT)
WHILE 1
STICK OUT SX,SY
X=X+SX*2
Y=Y+SY*2
BGOFS 0,X,Y
BGOFS 1,X,Y
BGOFS 2,X,Y
BGOFS 3,X,Y
VSYNC 1
WEND
1: Type R for rest
2: Put a dash after the note, like this: B-
If you need more help with MML, just type "MML" on a new line in the code editor and press the blue help button.