You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a __position__ to BaseSprite used by the renderer.
This allows a separation of the logical position with the graphical position, for purposes of effects (jitter/shake, apparent frame rate reduction, etc).
The text was updated successfully, but these errors were encountered:
I've been considering an alternative to this which would be something along the lines of image_offset which could be in pixels or also in game units to allow you to move the image center based on an offset from the sprite center.
pathunstrom
changed the title
Add a __position__?
Provide API for adjusting position of rendered images in relation to their Sprite object.
Apr 18, 2020
Add a
__position__
toBaseSprite
used by the renderer.This allows a separation of the logical position with the graphical position, for purposes of effects (jitter/shake, apparent frame rate reduction, etc).
The text was updated successfully, but these errors were encountered: