Commit Graph

22 Commits

Author SHA1 Message Date
n00b
14f87ecbf1 Added sprite shape functions 2025-03-20 17:29:11 -04:00
n00b
d91146db60 Added Sprite Color Blend and Global AntiAlias functions 2024-12-22 20:27:40 -05:00
n00b
f2af1d4045 Added JointExists() and SpriteExists() 2024-12-22 18:16:13 -05:00
n00b
0ef552910a Fixed sprite allocation bugs
* Fixed bug that would cause the renderer for sprites to be corrupted on when the sprite vector is resized
* Changed deleted_sprites variable to deleted_animation in sprite object
* Changed sprite pointer vector to sprite id vector in canvas object
* Changed the value stored in Fixture UserData pointer to sprite id rather than sprite pointer because pointer would change on resize anyway
2024-12-22 13:05:23 -05:00
n00b
072024fa41 Fixed Scaling issues when changing window size
Fixed Window Scaling issue and Fixed SetSpriteVisible()
2024-12-11 12:53:24 -05:00
n00b
cfad58b99c Added delta timestep to 2d simulation 2024-12-01 00:15:41 -05:00
n00b
40ca65cb3f Added new physics functions
* Added some new physics functions
* Added new documentation
* Added some auto checks for OS to rc_os_defines.h
* Fixed bugs on settting and getting position of sprites
2024-11-15 20:42:08 -05:00
Rodney Cunningham
3f4a1ce1cc Merge pull request #17 from n00b87/sdl2_ogles2
Sdl2 ogles2
2024-11-15 09:40:54 -05:00
n00b
ac30b0f7bb Fixed a bug with getting the sprite position not using the offset for box2d 2024-11-15 09:24:19 -05:00
n00b
73fb1bded8 Fixed sprite alignment with box2d fixtures 2024-11-13 22:31:03 -05:00
arc1tec4
9e61ea1c5e Add files via upload 2024-11-11 20:02:07 -07:00
arc1tec4
78e3281bf3 Fixed-Hopefully functions 2024-11-11 16:44:14 -07:00
arc1tec4
5c53e7067b Add files via upload 2024-11-10 22:10:42 -07:00
n00b
ece34a3989 Converted radian parameters and return values to degrees 2024-10-29 23:25:24 -04:00
n00b
8f1b72a8e2 Added Sprite Physics and Joints 2024-10-27 23:24:37 -04:00
n00b
9cac24402e Finished Tiling System
* Finished working on tiling
* Changed how sprite layers work. Sprite layers are now not confined to the limits of the actual canvas but instead will decide where to draw each sprite based on the canvas offset and the sprites location
2024-10-21 18:35:13 -04:00
n00b
5762c171ae Changes to sprite animation system
* Changed the names of some of the functions
* Added functions for setting and returning the projection matrix of the active camera
* Added a function for getting the 2D screen coordinates from a 3D vector
* Added documentation for all the new functions
2024-10-18 23:12:42 -04:00
n00b
8f372bdf19 Finished changes on animation system
* Added collision callback
* Set sprite density to 1 by default
* Added default frame value of 0 on frame resize
* Changed defaults for sprite fixture
* Made changes to some of the animation functions parameters
2024-10-18 00:10:12 -04:00
n00b
9b517acae1 Sprite Animation Complete
* Animation subsystem complete
* Sprite Z Sorting complete
* Solid and Non Solid Sprites complete
* Frame looping complete
2024-10-16 21:24:58 -04:00
n00b
f9a8e828f2 Sprite Engine WIP 2024-10-15 22:57:34 -04:00
n00b
4d2e050dcf Added Sprite Transform functions 2024-10-14 21:52:48 -04:00
n00b
f5b42cf73b Moved sprite functions to separate header 2024-10-14 17:10:07 -04:00