Short & sweet determination

Joe Kuka
1 min readDec 24, 2020

So I am still struggling with the thruster bar and animation, mostly because being the person I am I wanted to do things differently. Instead of using a gameobject and creating a bar element I am trying to use several different sprites to create this affect. Not animated though as I want to be able to call each sprite in a sequence. And I believe I have figured it out. I have been trying this whole time to mimic what we did with the player lives and the code there, but that code was written for a constant update, and not a sequence. What I have learned is I need to create a sprite sheet, then splice it and call the sprites in order either forwards or backwards. To make this work though they need to be attached to a game object. I can then either change the mask layer order in which they are shown or just turn them off completely. I am now at thee point where I am going to start over on this part in an attempt to keep my code and scripts clean. My thought is to attach this gameobject to the canvas so it will stay in place, because when I attempted to attach it to the player it moved around for obvious reasons lol. Okay its off to try and figure this out once and for all! Merry Christmas everyone!

--

--

Joe Kuka

I am a self taught game developer and love pushing myself to learn new things.