RhythmGame 1.4.3
Loading...
Searching...
No Matches
9. Complete theme example

Previous | Tutorial

Goal: Install the combined theme and use it as a starting point for your own.

09-complete brings the screens and helpers from lessons 1 through 8 into one folder. Use the earlier lessons to look up how each screen works.

Download 09-complete or open the source folder.

Copy docs/examples/theme-tutorial/09-complete/ into your theme directory and restart. In Settings > Themes, choose 09-complete for Main Menu, Select, Decide, your gameplay modes, Result and Course Result. Keep your existing Settings and Multiplayer themes.

The manifest lists these screens. One gameplay file serves all supported keymodes; chart and course results use separate files.

{
"$schema": "https://raw.githubusercontent.com/Bobini1/RhythmGame/master/schemas/theme.json",
"scripts": {
"main": "main.qml",
"select": "Select.qml",
"decide": "Decide.qml",
"k5": "Gameplay.qml",
"k7": "Gameplay.qml",
"k5battle": "Gameplay.qml",
"k7battle": "Gameplay.qml",
"k10": "Gameplay.qml",
"k14": "Gameplay.qml",
"result": "Result.qml",
"courseResult": "CourseResult.qml"
},
"settings": {
"main": "main-settings.json"
},
"translations": {
"en": "",
"pl": "translations/tutorial_pl.qm"
}
}

The main menu retains the profile greeting and saved color setting from lesson 3, and the Polish translation from lesson 4. The normal path runs from selection through decide, gameplay and result; courses show a chart result after each stage, then the course result.

Default's Multiplayer browser opens this theme's Select screen after joining an Arena room. The Select, Gameplay and Result screens use the Arena panels from the select, gameplay and result lessons.

To make your own version, copy and rename the whole folder. Keep its helper files, settings and assets together. Change one screen at a time and restart to check it.

For component properties and customization points, see the QML reference.