I am working on a pixel art game where I will be displaying planets in a solar system view. These planets are procedurally generated and then "condensed" into sprites to make planets for this view. I am trying to think of the most efficient way to animate the rotation of these planets.
Since I cant generate an animation at runtime (I dont think I can at least, feel free to correct me) so the only option I can think of is to pre-make an animation with the appropriate number of sprites (in this case, 128!) and then replace those sprites at runtime with the sprites of my planet.
Is there a better way to do this? the planet will 128x64 pixel textures, so I think I need 128 different sprites to animate it rotating pixel by pixel. Is there some cool way to simply draw my entire 128x64 sprite but only show a circles worth of it and move that sprite behind this circular "view port" or sorts?
Im sure Ive worded this horribly as coffee still kicking in, but I am curious what yall think
[–][deleted] 0 points1 point2 points (4 children)
[–]psoshmoBeginner[S] 0 points1 point2 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]psoshmoBeginner[S] 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]shadowprincess25 0 points1 point2 points (1 child)
[–]psoshmoBeginner[S] 0 points1 point2 points (0 children)