neosphere
neosphere copied to clipboard
A lightweight game engine and development platform using JavaScript for game coding, based on the original Sphere engine by Chad Austin but with a redesigned, modern API and brand-new command-line dev...
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...
Pressing F12 while debugging a game that makes heavy use of the `Thread` class will typically just drop you into `thread.js`, which tends not to be very useful. Similarly, `stepin`...
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.
`Dispatch.cancelAll()` currently takes no arguments and clears only `now` and `later` jobs. `Sphere.shutDown()` must be called to also clear any update and render jobs, which might be a bit confusing...
When compiling from source, the version is: ``` miniSphere X.X.X JS game engine [x64] ``` I suggest displaying a shortened commit id after it (on both official releases and self-compiled...
Currently Oozaru, the Sphere v2 engine for the Web, is its own thing, with its own GitHub repository: https://github.com/fatcerberus/oozaru The plan is to bring Oozaru into the fold as a...
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)`.