sleitnick @sleitnick.com · Nov 10

Game engine progress: animated sprites! I can now render out my models at various angles with animations and load them in. It essentially creates a sprite sheet. The animation is done at the shader level too, so very little info has to be given in order for it to start animating. #GameDev

15 likes 2 replies

?

Replies

sleitnick · Nov 10

Here's how it works. I give the shader the "Start" layer, and the "Count" (number of animation frames), as well as an interval to increment the count. At the bottom, I'm simulating the rotation of the whole windmill too, which would usually be done from game code.

ayyans · Nov 11

hey sleitnick I really wanted to know how your wall system works in your building system I made my own system. how it works I basically multiplied the wall cframe by cframe.new(0, 0, distance the distance is just the magnitude between the 2 vectors3 the issue in wall its self may I share a video