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
This commit is contained in:
@@ -29,6 +29,7 @@ struct rc_sprite2D_animation_obj
|
||||
|
||||
struct rc_sprite2D_obj
|
||||
{
|
||||
int id; //This is needed to reference this sprite in the contact listener
|
||||
bool active = false;
|
||||
int image_id;
|
||||
int sheet_numFrames;
|
||||
|
||||
Reference in New Issue
Block a user