Day 5: Nice Sprites
First. I made it through yesterday’s blocker that really had me stuck. I ended deleting my work and reloading an earlier version that I had saved in a separate file. It wasn’t the best way to fix the issue, but as I was going through my Spawn_Manager again through the tutorial, I realized that I did not spell spawn manager correctly, or succinctly, with how I had spelled it somewhere else. I think this was just one of the issues, the other (disappearing enemies) I still can’t figure it out (but I’m certain it had to do with one of my scripts, which is why I ended up redoing both the enemy and spawn manager scripts).
But Yes! I finally have the assets being populated in the game screen and it’s beginning to look nice.
I had a minor issue getting logged into filebase to get the files needed to begin replacing between the player cube, for the 2D sprite. Which it was really neat being able to see the green cube turn into the spaceship (of course after replacing the components from the cube to the ship, adding 2D Renderingbody, putting the “Laserprefab” into the correct spot, etc.). Did the same with the enemy, except learned a different way to get the same result of transferring, or replacing, the red cube enemy (that’s a 3D object) to become a 2D object through the “Sprite rendering” component. In fact, this is what Jon teaches in his tutorials, that there are multiple ways in coding to address an issue.
So moving forward still with zeal for what I’m doing. Even more exciting to see the progress from knowing absolutely nothing about coding to being able to structure out a space shooting game. Of course, I’m still far from complete, but I’ll get there!