Hello! If this is your first time reading about my thirty day developer challenge, click here to go to the first post!
Today I cleaned up my code a bit so it's a bit easier to read. Unfortunately because of the nature of this thirty day challenge, I haven't been really keeping my code all too clean. Which is getting to be a problem because of all the stuff I am trying to implement. Perhaps I should have kept that in mind from the beginning.
Since yesterday's major changes, the game currently has no real purpose. The core game mechanic of being able to influence enemy ball directions is yet to be set up. But today I took major steps in the right direction.
Right now, enemy balls move at a constant maximum velocity at an angle. The angle is determined with each step as the angle between the ball and the player. I also created a small white arrow indicating the current direction each ball is travelling in.
![]() |
White arrows indicate the travelling direction |
On a side note, I really want to implement turn rates but it's proving to be pretty difficult. Perhaps my second mountain to climb?
Comments
Post a Comment