Idea for new feature: 3D rendering, complete with projection support, camera, etc. Sphere has always been a 2D engine, but it would be a nice bonus if we could also do basic 3D stuff with it. Things like loading model files, etc. could be added in time.
As in you can already set Z coordinates BUT if you keep them between +1 and -1 they seem to do nothing and if you go outside of that range then the shape isn't drawn.
Is it currently possible for a game to set the window icon?
Quote from: Rhuan on July 02, 2017, 12:06:13 pmAs in you can already set Z coordinates BUT if you keep them between +1 and -1 they seem to do nothing and if you go outside of that range then the shape isn't drawn.I never figured this out myself. I guess something to do with the Z buffer? It caused a few bugs in the past where I forgot to zero a vertex buffer in the engine and ended up with nothing getting drawn. It took me a while to figure that one out. It looks like most of the useful 3D utility functions are not in Allegro 5.0. So I'll need to require 5.2 or later. A non-issue for windows releases (allegro is static linked), but may be a problem for Linux. We'll see.
Quote from: Eggbert on July 02, 2017, 04:22:52 pmIs it currently possible for a game to set the window icon?Not at runtime (yet); any custom icon should be 32x32 and packaged in the dist as icon.png.
I wonder if a maximum frame rate shouldn't be enforced even in v1, like eg. a default frame rate of 240 or so. I've managed to lock my entire system up once just by accidentally getting it stuck in an infinite loop. (Note: I don't remember how it happened, just THAT it happened.)
Here's a peak at all the enhancements and fixes that'll be in miniSphere 4.6:https://github.com/fatcerberus/minisphere/blob/master/CHANGELOG.mdAnd here're the release notes (listing breaking changes):https://github.com/fatcerberus/minisphere/blob/master/RELEASES.md