In this tutorial, we are going to learn how one can use menu GUI element available in the circle OS. For this tutorial,we are going to implement a simple game, wherein you are presented a random math question and the list of options(you guessed it right, the list of options are actually implemented using the menus) one among them is the right answer. Once an option is selected, you are notified whether the choice was right or wrong. As was the case with the previous tutorial, I am going to explain about the game logic and then move on to circle OS menu usage details.
Showing posts with label EvoPrimer. Show all posts
Showing posts with label EvoPrimer. Show all posts
Monday, March 16, 2015
Circle OS tutorial: Menu
In this tutorial, we are going to learn
how one can use menu GUI element available in the circle OS. For this
tutorial,we are going to implement a simple game, wherein you are
presented a random math question and the list of options(you guessed
it right, the list of options are actually implemented using the
menus) one among them is the right answer. Once an option is
selected, you are notified whether the choice was right or wrong. As
was the case with the previous tutorial, I am going to explain about
the game logic and then move on to circle OS menu usage details.
Sunday, February 24, 2013
EvoPrimer Tutorial: ToolBars
This
blog post is the first in series (hopefully, there will be more) of
tutorials on the EvoPrimer dev kit from Raisonance. These tutorials
will mainly concentrate on usage of the circle OS. This tutorial
assumes that you already know how to create a simple Circle OS
project. If you are not aware of the procedure to do so, you can
follow this tutorial to learn about it.
For
this tutorial, we will see how we can create and use a tool bar under
Circle OS. Toolbars are the widgets that appear on the top of the
LCD.
For
this tutorial, we will build a simple game of gears, papers and
scissors (I could not find a rock icon in Tango image library :p).
The game logic itself is simple, the CPU makes a random selection of
an object, either a rock(gears), paper or scissor and compares
against the user selection, selected via the tool bar.
Subscribe to:
Posts (Atom)