Posted March 02, 2023 by Aviv
I can’t believe a new version of DOME hasn’t been released for about a year. Time flies!
Well, here’s a slew of small quality-of-life improvements and a grab-bag of new features, as development on DOME gradually spins up again.
In case you missed them, you can check out our shiny new collection of beginner’s guides, which cover the basic features you might need for making something simple in DOME
Canvas.clip
state can now be retrieved as a vector (by @catsanddo)FileSystem.exists(path)
can be used for checking the existence of a file on the FileSystem (by @8-BIT-DEV)InputGroup
class: handy for mapping multiple inputs to one in-game action, as well as handling repetition frequency.Elegant
class: Pairs of integers can be combined into a single value.
Vector
can now be paired/hashed and unpaired using this.HashMap
- Works with a new Hashable
interface to allow arbitrary objects to be used as keys.Set
Queue
PriorityQueue
Stack
Log
class, for more fine-grained control and categorization of log output.modify(_)
call. This allows for more efficient cache implementations.x < 0
would not work, and the image would instead be drawn at x = 0
.ImageData.loadFromFile(_)
is deprecated in favor of ImageData.load(_)
, for consistency with the JSON and Audio systems.As always, documentation is available to help you get started. If you run into any problems or have any feature requests, please file an issue!
You can also contact me directly via Mastodon, or on the DOME discord as springogeek#0572
to share screenshots or ask questions!