Search Results
7/9/2025, 9:12:40 PM
>>530578350
>Has to be like APNG or similar, displayed in browser.
You mean your engine is basically a website? Or what? I think those fancy new image formats like WEBP have animation support, too?
If your engine is not a website but just a regular thing built on SDL or similar: You probably want just a static background and then put spritesheets into certain places, research the technique if you don’t know it, it’s very simple, basically you split your animation into 16 images, for example, and then just change which one you display every 100 ms or every 400 ms, whatever makes sense.
>Has to be like APNG or similar, displayed in browser.
You mean your engine is basically a website? Or what? I think those fancy new image formats like WEBP have animation support, too?
If your engine is not a website but just a regular thing built on SDL or similar: You probably want just a static background and then put spritesheets into certain places, research the technique if you don’t know it, it’s very simple, basically you split your animation into 16 images, for example, and then just change which one you display every 100 ms or every 400 ms, whatever makes sense.
Page 1