Gaming Art - Week 14 | Building in hazards + Comet animation

This week I added asteroid waves and a comet. I made this idle animation for the comet:



While the player, background and camera are static, all the hazards come towards the player with a simple line of code.


I also implemented a Sine and Cosine movement I learned from this tutorial.

Then I added asteroids that move up and down, but with the movement along the Z-Axis the movement is more diagonal, but it still works. I had some problems with the code but I posted my question in Stack Overflow. It's a forum where people post questions about coding (it can be anything IT related really) and someone helped me out and now it's working fine!


Useful links:

Comments

Popular posts from this blog

BSA227 - Week 9 | Nuke: Green Screen

Gaming Art - Week 7 | Mudbox + LOD in Maya and Unity

Gaming Art - Week 1 | Game selection