Hello, I've pushed on dev_1.4 branch more API to sprites:
- add Angle_Limit API for Sprites (it sets sprite angle limit for rotation with special effect: null, bounce or loop). - add new sprite effects for events: - Inside_Event_Effect is sent when sprite is inside frame or angles limits and resets when fired. - Outside_Event_Effect is sent when sprite is outside frame or angles limits and resets when fired. -> Add new API: Fire_On_Frame, Frame_Effect, Fire_On_Angle, Angle_Effect, On_Message. It's a very first version commited to request comments, tested API are included in test/pixi_sprite_test.adb. Feel free to send code review: https://sourceforge.net/p/gnoga/code/ci/dev_1.4/tree/components/pixi/src/ Spite possibilities are wide, I'll add API step by step, feel free to point out some API you want to be available. Regards, Pascal. http://blady.pagesperso-orange.fr ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Gnoga-list mailing list Gnoga-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnoga-list