@JD557 screenshot of the formatted code needed. 😁
@davesmith00000@mastodon.gamedev.place There you go!
I do need to clean up some hacks before I share the full thing.
@JD557 Looks good! Not a million miles away from Indigo's.
With the benefit of hindsight, I have wondered about the wisdom of a DSL over a builder-like pattern. The latter is surely better for IDE discoverability, though obviously not as pretty to look at. 🤔
This weekend I was playing around with defining an animation DSL.
I've wanted to play this for a while after watching @davesmith00000's interview for "Scala for Fun & Profit" and @kubukoz Playdate talk. Everyone's doing DSLs for gamedev!
It's still quite rough, but I think it's useful for things like menu animations. Maybe I'll use something like this in the next GameJam entry to add a bit more juice to the menus.
This example looks like this:
#ScreenshotSaturday