I saw the pong section in the wiki, and got interested enough to make one for the graph screen. Was pretty ok when it was just the pixel bouncing around, but once i added the paddle it became really slow. Wonder if there's anyway to speed it up.
Also, some miscellaneous questions:
- The inbuilt menu( makes use of Lbls.. but customized menus take up more space, especially if i want to have a lot of menus in a program. What's the usual way of getting around this?
- When i copy over the code from ti programedit the symbols for things such as → are different and i have to replace them manually… Is that how you people do it
AxesOff
For(X,0,94)
If X<63
Then
Pxl-On(X,0
Pxl-On(X,94
End
Pxl-On(0,X
Pxl-On(62,X
End
31.47→B
1→C
0.01→D
30→A
For(X,1,E99)
Pxl-On(iPart(B),100fPart(B))
getKey→K
Pxl-Off(A+6,1
Pxl-Off(A+6,2
max(1,min(55,A+(Ans=34)-(Ans=25üA
Text(A,1,"]"
If fPart(X/2)
Then
C(-2pxl-Test(iPart(B)+C,100fPart(B))+1)üC
D(-2pxl-Test(iPart(B),100(fPart(B)+D))+1)üD
B+C+D→ B
rand(5
Pxl-Off(iPart(B)-C,100(fPart(B)-D))
End
End