10 ms·
Doing one using lua and love2d and hence found some difference or things to ponder - use ds and discrete event simulation instead of the usual dt (and continuo
by ngcc_hk 2y ago
Doing one using lua and love2d and hence found some difference or things to ponder
- use ds and discrete event simulation instead of the usual dt (and continuous …)? Why? Seems all game engine offer dt …
- shall the track be one way and if two way traffic has to use 2 tracks? Otherwise if >1 train or train-group … crash ? And if there are junction … route and timing would be issues otherwise crash ?
- picolisp vs fennel ?
- cess11 2y ago"- picolisp vs fennel ?" Not really comparable. Picolisp is really small, really simple, and that makes it kind of weird. It has fexprs rather than sexprs, there are no seatbelts (as in you will segfault when reaching out of bounds), the numbers are fixnums, the database is object oriented and you query it with logic programming, and so on. As far as I know, no one has used it for 2D game scripting. If you want to be the first you probably can be, but it will be quite an adventure compared to Fennel.
- isr 2y agoI think you meant "fexprs instead of macros". Picolisp does have a function named 'macro', but it's not the same thing (it's more like 'string map' from tcl). There's a lot if interesting stuff in picolisp, but the one thing I found unbearably ugly was it's use of strings ("transient symbols") as a kind of lexically scoped symbol.
- cess11 2y agoRight, yes. In some sense it's not sexpr as usual either, the evaluation strategy gives it a rather different feel than one might be used to from other parens syntaxed languages. 'macro can be used to control evaluation, https://software-lab.de/doc/refM.html#macro https://software-lab.de/doc/refM.html#macro , but there is no compilation in Picolisp, hence no compile time macros. Don't see the problem with that. How is it different from using strings without quotation marks as global symbols?
- isr 2y agoHmm, when you put it like that, my complaint does seem trite. It was just one of those things which bugged me ...