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
Should not programmatically rotate the sprites for bullets.
In this case, probably fine to not change the sprite based on the angle. But in general, for other sprite types, should not create a new copy of the sprite for each entity. Instead, we should maintain a static cache of sprites, and allow each entity to have a reference to one of these sprites.
The text was updated successfully, but these errors were encountered:
Should not programmatically rotate the sprites for bullets.
In this case, probably fine to not change the sprite based on the angle. But in general, for other sprite types, should not create a new copy of the sprite for each entity. Instead, we should maintain a static cache of sprites, and allow each entity to have a reference to one of these sprites.
The text was updated successfully, but these errors were encountered: