by layne » Fri Jan 28, 2011 8:48 am
The VideoGameHelper library has some useful functions in it. All of our example games are also packaged as examples for this library. If you look at the VideoGameHelper.h file, here are the helper functions defined:
title_screen_init_nunchucks()
This function initializes nunchucks, displays the game title, and ensures that the proper minimum number of controllers have been connected.
question_box()
Displays a question and multiple choice answers, allowing the user to select one of them.
nunchuck_calibration()
This is a wizard-like series of screens to allow you to calibrate a nunchuck. Probably the most useful of these functions.
high_score_get_name()
Asks the player to enter in their three initials. Doesn't do any high-score saving or anything, just the user input for the initials.
high_score_show_list()
Shows a list of high scores. Doesn't do any high-score loading or anything, just displaying a list of names and scores.
So yeah, the functions aren't totally awesome, but some might be useful to you. You might also want to read the code from the example sketches, as there is a lot of useful stuff in there. Good luck!