SpriteMap small issues

“time” is in uniforms twice
curTile and mousePosition aren’t used?

Is there any in engine way to do this automatically?

deltaTime is passed into that function?

1 Like

curTile and mousePositons were used at one point for when there was real-time editing allowed and tile highlighting. That got Nerfed from the shader for simplicity in this deployment per request if I remember correctly.

Looks like the double time is an oversight.

Im not sure what the tickSave stuff is, I dont think I added that. (maybe I did, but its been so long so I dont have any specific memory of that)

The obfunction should probably be turned into an update method on the class, but yes deltaTime should be used there not sure what you mean by “passed into that function” though?