dominic
dominic
Adds a new signature for texture constructors that accepts an object for the third argument so that textures can be constructed with a color or buffer and multisampling. ``` new...
Not sure what the best design for this API would be - whether to offer a `save(filename)` method on Texture that directly saves the file or a method that returns...
This would be analogous to `tsc --watch`, watching the filesystem for changes and rebuilding those parts of the project.
Currently the lack of capturing can be worked around by constantly resetting the mouse position, but it's an imperfect solution because the mouse can be moved and clicked too fast...
Either events like `Surface.Screen.onFocus(func)` and `Surface.Screen.onBlur(func)`, or just a method to retrieve the current focused state that can be checked each frame like `Surface.Screen.isFocused()`
e.g. `Mouse#show()` `Mouse#hide()` or maybe `Mouse#setVisibility(bool)`.
the constructor for `Model` accepts an optional second argument, `shader`, to specify the shader. If you explicitly pass `undefined` for this argument, it throws `TypeError: 'undefined' is not a Shader...
Base64 is a very popular encoding for binary data, especially when embedded in text data like JSON. For example, Tiled's default format encodes layer tile data as a base64 list...
Use case: I want to use Spherun to run a script that could exist outside the game directory, while maintaining the ability to load scripts from inside the game directory...
While any `.sgm` file can be used, the check for JSON manifests hardcodes `game.json` as the filename. Calling `spherun other.json` will produce no errors, and immediately exit. It should instead...