Steps

Table of Contents

Interface Guide

The Interface Guide subsection offers five examples of operation with the interface objects. These objects include the list, the menu, the local menu, the dialog box and the dialog box with an editing field. These examples are designed so that every subsequent example includes the functionality of the previous one:
In addition, an example is provided that demonstrates serial port communications.

All examples are placed in the 'demos/cybiko/tutorials' directory.

Accessing Serial Port

The serial port is a native part of the Cybiko computer. The Cybiko SDK provides an API for serial port access. All API functions are implemented in ComPort.dl. This library must be present on your Cybiko computer for the interface to work properly.
The "serial" tutorial shows some basic methods of accessing a serial port, including initialization and data reading and writing.

The example is placed in the 'demos/cybiko/tutorials' directory.

Dynamic Library

The Dynamic Library tutorial demonstrates interaction between an application and a dynamic library. To run this tutorial, you must upload both dynapp.app and dynamic.dl to your Cybiko computer first.

The example is placed in the 'demos/cybiko/tutorials' directory.

Graphics Effects & Sound

Please, study the Interface Guide part before working with the Graphics Effects and Sound part. The previous subsections contain the information, which is necessary for understanding this subsection.

Almost all Cybiko applications are graphics. Therefore, the Graphics Effects and Sound subsection gives examples of operation with elementary graphics objects (pixel, line, filled and blank rectangles) as well as with complex graphics objects - bitmaps. An example of operation with sound and vibration is also provided.

The example is placed in the 'demos/cybiko/tutorials' directory.

Complete Applications

This part provides sources for the completed and fully-functional applications: Tic-Tac-Toe, Highway Hitman, Fox Hunting, CySpider, Lizard Luncheon, Locker Room - Bench and No Escape:

     Highway Hitman game is an overhead, side-scrolling road battle for one player. The object of the game is to destroy as many other vehicles as possible, while avoiding being pushed off of the road.
More Information...

     Tic-Tac-Toe is a 2-player strategy game (hot seat, or against the Cybiko computer). The object of the game is to be the first player to claim 3 squares, horizontally, vertically, or diagonally.
More Information...

     Fox Hunting is a logical game. The aim of this game is to retrieve foxes hiding all over the game board.
More Information...
     CySpider is a single player game. The ultimate goal is to pass as many levels as you can. You control a spider that can move on the playing field in different directions. Your object on each level is to capture as much of playing field as possible by cutting off pieces of the screen and spinning a web on each part.
More Information...

     Lizard Luncheon is a single player game. The object of the game is to eat all the flies in each level in order to pass to the next level and prevent the lizard from starving to death. For each fly that you eat, you will get 1 point. The number of flies increases in each next level.
More Information...

     Locker Room - Bench is the second installment to Locker Room - a series of weight lifting events. If your athlete is tired of squatting, train him in a new sport - the bench press. See if you have the talent of coaching - the most highly trained athlete will easy become the champion of your Cybiko computer neighborhood.
More Information...

     No Escape Welcome to the cursed crypt... The dank, musty, and wicked depths have frozen your heart but as to what you must do next, you have no choice. You must find the entrance to the cave and fight with the evil spirits that you'll meet on your way. Be careful, be strong, and, most of all, be brave as you try to set free yourself from this evil cave!
More Information...

You might already have these applications on your Cybiko computer. If not, you can download them from our site. All functional aspects of these sources have commentaries. If any fragment of these sources is unclear, you should look through the two previous parts, notably Interface Guide and Graphics Effects and Sound. Or, look through the appropriate sections of the Cybiko SDK.
All examples are placed in the 'demos/cybiko' directory.