Pictures speak volumes, so I'll add those and little captions to each one.
Finally, I started a giant revamp of my code. I had no convergence or standard on three things:
- Sprite animations
- My custom
So after a few days, I converged things and it seems to be working better. I have slices of all my objects, such as:
These custom types all have a
resolv.Object, which is what I'm using for placing elements, and eventually collisions and the like.
I also spend considerable time getting some code in place to detect the screen size and then making a galaxy twice the size of that. Since this will be a mobile game, I needed to plug in some code with
cgo, which was quite an experience. In any case, I can detect that now for iOS and adjust accordingly. My desktop version is also much larger.
On top of that, I was able to add some User Interface buttons, which I will be tying in to actions.
Follow my channel for more updates and to watch me code in real time.