GentenStudios / Phoenix-OLD

Phoenix is an open world sandbox style voxel game designed to make all content optional.
BSD 3-Clause "New" or "Revised" License
30 stars 10 forks source link

flipbook texture support. #180

Open tobyplowy opened 4 years ago

tobyplowy commented 4 years ago

Story

Some textures will need to be animated (Fire, Water, particles when we get to them) I suggest that we use flipbook textures for this as the traditional method tho we can also provide some animation capability with texture rendering. In case you don't know (Google flipbook texture) a flipbook texture is a sheet of textures in a row and with the help of a config file we define how many/what frames should play and how fast they should be played.

MVP

What are the minimum features needed for this story?

Stretch

What are some non-required features for this story?

tobyplowy commented 4 years ago

Here's a test animation that can be used. loading It has 8 frames and each frame is 32x32 pixels, Example of what it should look like in action below. example

Gerold55 commented 4 years ago

Would the size of the flipbook texture be limited or unlimited?

tobyplowy commented 4 years ago

Are you asking if the frame amount would be limited or not? If so yes it would be, but the possible frame number would be so absurdly high that you never reach it by normal means.

Gerold55 commented 4 years ago

Oh ok because in other games it's so limited that when you do more than allotted then it doesn't play right