Devlogs
NutshellEngine 0.1.9
NutshellEngine 0.1.9 reworks the asset manager and the particles.
Runtime
The Runtime is the part of the engine that runs the games made with the editor.
Features
- /!\ Breaking Change! Reworked the asset manager:
- Assets now have a name,
- Added functions to find assets from their name, and retrieve the name of assets,
- Improved the way assets loaded from files are handled, two assets that are actually the same file should be recognized as such and not be loaded twice under two different paths,
- Re-loading an asset will check if it has been modified from the last time it was loaded, if this is the case, the asset will be re-read.
- /!\ Breaking Change! Reworked the particles:
- In the particle emitter,
rotationRange
becomes directionAnglesRange
, - Added a
rotationRange
field in the particle emitter that specifies the range of rotations per particle, - Added an
image
field in the particle emitter to add a texture to particles, - Added a destroyParticles function to destroy all particles,
- All particles will be destroyed when the scene changed.
Bug fixes
- Fixed an issue in the provided Graphics Module that could lead to a crash if an image that was already loaded, but not as a model texture, was loaded again as a texture.