there is camera shake however, i think a sprite shake would be useful aswell
a shake function for the (sprite component? really anything that can be drawn)
you would use the function with an intensity parameter, and an optional duration parameter, and the sprite would then shake back and forth without changing the transform of the area
giving all other objects a fixed() component and then doing camShake()
I'm not sure if the duration parameter would be necessary.
this is a cool idea, could make it like only shake X axis or Y or both, about the duration it could use the same parameters as the improved shake i suggested
there is camera shake however, i think a sprite shake would be useful aswell
a shake function for the (sprite component? really anything that can be drawn)
you would use the function with an intensity parameter, and an optional duration parameter, and the sprite would then shake back and forth without changing the transform of the area
giving all other objects a fixed() component and then doing camShake()
I'm not sure if the duration parameter would be necessary.