09-11-2023, 04:49 PM
Yeah it does kind of. If you play with the SIN/COS values you can make it spin differently and make it look more 3d.
By the way, @dbox, making this one I noticed QBJS doesn't add a space at the end when printing number variables like Qbasic/QB64 always does. Not that it's bad or anything, just want to point out there's a difference there. Personally I like the way QBJS does it, but for compatibility you may want to mimic the QB behavior? I see it does add the leading space like QB does it.
Example code:
points = 19: Print points; "points";
That will print out " 19 points" in Qbasic/QB64, but " 19points" in QBJS.
- Dav
By the way, @dbox, making this one I noticed QBJS doesn't add a space at the end when printing number variables like Qbasic/QB64 always does. Not that it's bad or anything, just want to point out there's a difference there. Personally I like the way QBJS does it, but for compatibility you may want to mimic the QB behavior? I see it does add the leading space like QB does it.
Example code:
points = 19: Print points; "points";
That will print out " 19 points" in Qbasic/QB64, but " 19points" in QBJS.
- Dav