Hacker News

Scriptable game engine

by @Frotag

>Making a simple game >Want player scripts to be possible (And dogfood it for enemy ai too) >Behavior tree dep looks too easy, let's make a dsl + interpreter >Typed builders are annoying (because stateful), lets separate into builders -> untyped ast -> typed ir >Hm, typed ir is super repetitive, now I have a schema (ts) -> codegen (ts) -> .ts / .rs build step Fun waste of 2 weeks, not even counting the time spent on pl literature

Discover more builders

Builderlust is an endless, joyful scroll of real projects people are shipping right now. Get the app to keep finding your next spark of inspiration.

📱 Coming soon to iOS & AndroidOpen in the app