OOK, Once I Owned a Kestrel, is now being revamped. Previously, it was to be released solely on iPhone and iPad. Now, iPhone, iPad, and other mobile devices are dropped and it will be primarily a desktop project. Welcome to the new OOK. Enjoy.
In the past week I have been very busy coding the new GUI and it is exactly what I need. I fully converted the code to the new GUI as well as added checkboxes...
Posted by teh1ghool on Dec 10th, 2010
In the past week I have been very busy coding the new GUI and it is exactly what I need. I fully converted the code to the new GUI as well as added checkboxes. Next up is drop-downs. Drop-down menus, or popup boxes, are going to be a good deal more complex than checkboxes and buttons, but I should be able to come up with a functional subclass in the next couple days. My main concern will be making sure that the box, when open, renders above everything else as well as intercepts clicks first.
I also added a font manager class that loads and draws fonts with the aide Sean T. Barrett's stb_truetype.h. As a little extra bonus feature, I setup auto-resizing for text buttons so that they scale to the size of the text inside them. The result is nothing short of excellent. The video below demonstrates my new additions.
PS: While uploading this video I added a custom mouse cursor to the game. You will see it next post!
Be sure to head on over to the Forum and see more updates, more often.