Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Day 6 and I resolved my issue. The "0 Transform" of my sprites was not actually the center of my sprites. I thought of it last night to test and found that if I reset my transform on my Tank sprite it sat a bit left of where it was supposed to go. Today I reset all the children objects to 0 Transform and after messing around a bit I got it working. My boss is still slightly off center, but I think that may just be a scale issue. It's just slightly off though so it shouldn't have much of an impact. 

Made a couple more enemy and ally prefabs as per schedule today. Enemies are very easy to duplicate, so that won't be a problem. Allies take a bit more time, but as of right now I only need a couple. I may look at somehow coding my Spawn Manager to combine random sprites to make procedurally generated allies, but that's gonna go on the backlog.

Tomorrow will be a long night. I'm going to make it so the heal beam has to be unlocked with an item, add power ups, and introduce mana to limit healing.

An issue that I'm going to have to plan to mitigate is that my sprites are designed for attacking just right and left. There's no animation for down or up attacks.  I'm going to have to figure out a way that sprites attacking each other are always on the same X-Axis.

Screenshot below is what I did to test where my sprites were versus where my code expected them to be. Once they were in the white square I knew they were good to go.