This Week
I accomplished a few minor items, such as making UI elements density independent. My main achievement this week was implementing airplane navigation to waypoints. We decided to add waypoint selection as an enum, so that waypoints could only be selected if the user pressed the "Navigate to waypoint" button. This wasn't too hard to implement, but I was plagued with the problem that airplanes would always be a little off target:
These airplanes were all instructed to fly to waypoint ABC, but as you can see most of them missed the mark. I discovered that this wasn't a problem with the targeting system; rather, airplane sprites were being drawn in the wrong places. After much debugging and a simple fix, everything worked beautifully:
Asana Tasks Completed
- Refactor with singleton
- Make UI elements density independent
- Add maneuver to waypoint
Next Week
In addition to turning to a waypoint, I want the airplanes to be able to turn to a specific heading. I plan to implement some sort of user input interface for heading, altitude, and perhaps other controls as well. The next major item to add will be runways.
Current Asana Tasks
- Add airplane controls
- Add airplane constraints


No comments:
Post a Comment