* Received a pull request with 8 commits
* Reviewed and accepted 4, gave notes on the other 4
* Added ThomasAdam to the credits
* WIP refactored compiler to fix circular imports
It's always exciting when someone likes my work!
#coding #gamedev #langdev #toylang
* Repos are private, use the github mirrors from now on
* Wrote Sprite, AASquare and Character modules
* Simple character movement and collision implemented in C
Slow progress this time, but still progress.
#coding #gamedev #langdev #toylang
隔週日曜日または満月の日 22:00〜
コンパイラや自作言語に興味がある方は必見の知見が得られます
隔週日曜日または満月の日 22:00〜
コンパイラや自作言語に興味がある方は必見の知見が得られます
* Implemented 'Array.reverse()'
* Discovered & fixed a parser bug
* Added rule110.toy example
* Started writing tutorials
C is (was?) defined by a book, so I'll use a similar book-like style for Toy's tutorials & docs.
#coding #gamedev #langdev #toylang
* Implemented Array.flatten()
* Implemented Array.sort(fn)
'sort()' uses my implementation of quicksort, using the arg as the comparator. That was not an easy task, and there's likely hidden gotchas, but I'm happy for now.
#coding #gamedev #langdev #toylang
#coding #gamedev #langdev #toylang
github.com/krgamestudio...
#coding #gamedev #langdev #toylang
github.com/krgamestudio...
* Added 'LoadPlayer' to setup.toy, so you can load each player manually, rather than loading everything in the 'players' directory. You can also load the same code as multiple players.
#coding #gamedev #langdev #toylang
toylang.com
* Added 'LoadPlayer' to setup.toy, so you can load each player manually, rather than loading everything in the 'players' directory. You can also load the same code as multiple players.
#coding #gamedev #langdev #toylang
toylang.com
* Swapped branding to "The Toy Scripting Language"
* Identified known issues with 'import' for future work
* Fixed subtle memory leak with functions + compounds
* Fixed escape keywords breaking nested loops
#coding #gamedev #langdev #toylang
1/7
* Began writing a GDD to keep the design consistent
* Added "flags" to the terrain generation
* Added a "Core" for each player
* Moved the game tick to a distinct function call
* Rewrote terrain generator to be clearer
#coding #gamedev #langdev #toylang
2/7
* Added time() to the standard library
* ToyBox's setup now calls 'srand(time())'
Apart from this, I did contribute a fix or two to TMW, but I spent most of this week playing games - I wanna focus harder in the coming week.
#coding #gamedev #langdev #toylang
* Implemented "import as" keyword
* Creeps are rendered and wander around, avoiding terrain
The import keyword now allows scripts to import other files as functions, though issues like circular imports needs work.
#coding #gamedev #langdev #toylang
gitea.krgamestudios.com/krgamestudio...
gitea.krgamestudios.com/krgamestudio...
#coding #gamedev #langdev #toylang
gitea.krgamestudios.com/krgamestudio...
gitea.krgamestudios.com/krgamestudio...
#coding #gamedev #langdev #toylang
* Opaque values are passed as references
* Player memory is inside their own VMs
* Stared working on "creeps"
I've been sick for over a week, so progress has been slow, but it hasn't stopped.
#coding #gamedev #langdev #toylang
will continually update a little thread of code snippets and goals
will continually update a little thread of code snippets and goals
See you in 2025!
See you in 2025!