|
Feature introduction
The following section will describe the features of the Suite Chidori Engine.
1. Audio playback
It supports audio data in Wave and Ogg Vorbis formats. Wave files have the .wav extension. Because they are uncompressed, high-quality files require a large amount of storage space. Ogg Vorbis files have the .ogg extension. Due to lossy compression, these files take up less space, and their sound quality is generally better than MP3 files, which also use lossy compression.
There are two ways to play audio files:
- Play and save audio
It can be played by reading audio data from a log file. While it does not support looping playback, recording the sound effect only once allows it to be used multiple times within the game.
- Sequential streaming playback
Streaming playback reads audio from a file each time it is needed. It supports looping, making it suitable for background music in games. The audio can be stopped, paused, or resumed at any time. When stopping, a fade-out effect is supported.
2. Font display
The Suite Chidori Engine provides a rendering system that uses bitmap fonts, which represent characters as collections of dots.
The Bitmap data used in the game employs a unique format specific to the Suite Chidori Engine, and it can be created using the tools included in the installation package. These tools automatically generate the outline data by reading font text files that need to be displayed in the game. Therefore, users can customize font types, sizes, and styles, and also specify font colors and transparency within the game.
 |
 |
| Figure 1: Example of tool display |
Figure 2: Example of display within the game |
Document introduction
The installation package includes files that can be used during game development. The following describes the included files for version 1.2.0
- Suite Chidori Engine Help File
It includes information on licensing and authentication methods, precautions for releasing games, how to use various features, how to use tools, the order of setting up the development environment when creating a game, how to use tutorial projects and coding explanations, and how to use example projects.
- Suite Chidori Engine Reference Manual
It documents various classes and functions that are pre-defined within the Suite Chidori Engine.
Case studies of the Suite Chidori Engine
We will introduce a small game called "Whack-a-Mole Training! - Instant Memory Whack-a-Mole," developed using the Suite Chidori Engine. This game is a brain training game where you memorize the holes where the moles pop up and hit them in that order, thereby training your memory. This mini-game is installed within the FORUM8 launcher and can be used by any product user.
The game flow will be explained below using actual screenshots from the game.
When you start the game, the main screen will appear, where you can confirm the game rules. You can choose from three difficulty levels: "Easy," "Normal," and "Hard."
 |
 |
| Figure 3: Main screen |
Figure 4: Game rules screen |
After selecting the difficulty level, the screen will change and the game will begin. The selected difficulty level and your current rank will be displayed on the screen, while the current score will be shown in the lower left corner. The first step is to memorize the order in which the moles appear; the number of moles that appear will vary depending on the chosen difficulty level.
 |
 |
| Figure 5: Remember the order! |
Figure 6: Remember the order in which the groundhogs appear |
Once all the moles appear, tap them in the order they appear. The number of moles remaining to be tapped will be displayed in the bottom right corner of the screen.
 |
 |
| Figure 7: Hit them in the order you remember! |
Figure 8: Start hitting the moles! |
The results are displayed when you hit a mole. If you hit them in the correct order, you can advance to the next stage. If you get all 5 stages correct consecutively, the game is cleared and the results are displayed. If you hit them in the wrong order, the game ends and the results are displayed.
 |
 |
| Figure 9: When clearing the game |
Figure 10: When the game is lost |
The results screen will display your score for this game, your highest score so far, and the rank corresponding to that score. You can choose to continue playing with the same difficulty level, or return to the main screen to start a new game with a different difficulty level.
 |
| Figure 11: Result screen |
The internal workings of the game will be explained below.
The mini-game mainly consists of the following steps
 |
| Figure 12: Process composition |
- Main process
This is the first process that is called after the program starts. It has 3 subprocesses: a title process, a game process, and a result process. Subprocesses will be activated based on the game state and player actions.
- Title process
Displays and controls the title image, game rules, and the start button.
- Game progress
The translation includes the display, control, and game processing of various panels and fonts on the game screen, as well as the mole model.
- Results process
Controls the display of results and fonts.
- Panel process, font process, mole model process
It is a subtask of title tasks, game tasks, and result tasks. It handles the display and control of panels that show 2D images, fonts, and mole models.
- Processing procedures
It is a sub-task of a game mission. It's used to differentiate between UI and model display/processing, where the game process handles the display, and a separate process handles data processing.
|