Setup for the transition scenes.
This commit is contained in:
parent
44e474b023
commit
66e2328ea8
6 changed files with 24 additions and 4 deletions
|
|
@ -46,6 +46,11 @@
|
|||
{"path": "assets/hands/hands_sword_attack.png",
|
||||
"frame_width": 900,
|
||||
"frame_height": 600
|
||||
},
|
||||
"test_background":
|
||||
{"path": "assets/scenes/test_background.png",
|
||||
"frame_width": 1920,
|
||||
"frame_height": 1080
|
||||
}
|
||||
},
|
||||
"worldgen": {
|
||||
|
|
|
|||
16
assets/scenes.json
Normal file
16
assets/scenes.json
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"NEXT_LEVEL": {
|
||||
"components": [
|
||||
{"_type": "AnimatedScene",
|
||||
"layout": [
|
||||
"[=text]"
|
||||
],
|
||||
"background": "test_background",
|
||||
"actors": [
|
||||
],
|
||||
"fixtures": [
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
BIN
assets/scenes/test_background.png
Normal file
BIN
assets/scenes/test_background.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
|
|
@ -72,10 +72,7 @@ constexpr int INITIAL_MAP_H = 21;
|
|||
constexpr float DEFAULT_ROTATE=0.5f;
|
||||
|
||||
// for the panels/renderer
|
||||
constexpr wchar_t BG_TILE = L'█';
|
||||
constexpr wchar_t UI_BASE_CHAR = L'█';
|
||||
constexpr int BG_BOX_OFFSET=5;
|
||||
constexpr const char *FONT_FILE_NAME="assets/text.otf";
|
||||
constexpr const char *FONT_FILE_NAME="assets/text.ttf";
|
||||
|
||||
constexpr std::array<std::wstring, 8> COMPASS{
|
||||
// L"E", L"SE", L"S", L"SW", L"W", L"NW", L"N", L"NE"
|
||||
|
|
|
|||
|
|
@ -70,6 +70,7 @@ namespace components {
|
|||
settings::Config items;
|
||||
settings::Config tiles;
|
||||
settings::Config devices;
|
||||
settings::Config scenes;
|
||||
};
|
||||
|
||||
struct Personality {
|
||||
|
|
|
|||
|
|
@ -129,6 +129,7 @@ namespace GameDB {
|
|||
settings::get("items"),
|
||||
settings::get("tiles"),
|
||||
settings::get("devices"),
|
||||
settings::get("scenes"),
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue