This repository was archived by the owner on Dec 30, 2024. It is now read-only.
RogueLibs v3.6.0-rc.3
Pre-release
Pre-release
- π₯ Fixed the sprites coordinate system (add20d7);
- β¨ Integrated more sprite scopes into the game (4fe3f61);
- β¨ Implemented object hook factories (b727254);
- β¨ Added TraitUnlock.Upgrade property (b61e6d4);
- β»οΈ Added some nullability attributes (286db59);
- π Fixed transpilers failing without any exceptions (1d49d6d);
- π Fixed immediate implicit actions after a refresh (ed84d08);
- π Fixed the custom disaster method execution order (f25a4ab);
- π Implemented unimplemented sprite scopes (6c94160);
If you're using sprite atlases/sheets in your mod, you'll have to reconfigure your sprites initialization!
Before, the coordinate system that the Rect
parameter is used in, had an origin in the bottom-left corner ("3D" approach). Now the coordinate system has an origin in the top-left corner ("2D" approach), which should make it easier to import sprites.
You just need to change the second, y
, argument of new Rect
:
<new y> = <spritesheet height> - <sprite height> - <old y>