Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
BastianBlokland committed Aug 27, 2023
1 parent dff8538 commit 86d6009
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/game/src/app.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include "hud_internal.h"
#include "prefs_internal.h"

static const String g_appLevel = string_static("levels/default.lvl");
static const String g_appLevel = string_static("levels/empty.lvl");

typedef enum {
AppMode_Normal,
Expand Down
1 change: 1 addition & 0 deletions assets/global/game-prefabs.pfb
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@
"productSetId": "Barracks",
"spawnPos": { "x": 6 },
"rallyPos": { "x": 10 },
"placementRadius": 15,
"rallySoundId": "external/sound/announcer-rallypos-updated-01.wav", "rallySoundGain": 0.5
},
{
Expand Down
16 changes: 16 additions & 0 deletions assets/global/game-products.pro
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,22 @@
},
"unitPrefab": "InfantryFlame",
"unitCount": 2
},
{
"$type": "AssetProduct_Placable",
"meta": {
"name": "Test",
"icon": "\uE868",
"costTime": 5,
"queueMax": 1,
"cooldown": 1,
"soundBuilding": { "assetId": "external/sound/announcer-building-01.wav", "gain": 0.5 },
"soundReady": { "assetId": "external/sound/announcer-structure-ready-01.wav", "gain": 0.5 },
"soundCancel": { "assetId": "external/sound/announcer-cancelled-01.wav", "gain": 0.5 },
"soundSuccess": { "assetId": "external/sound/announcer-structure-deployed-01.wav", "gain": 0.5 }
},
"prefab": "StructureBarracks",
"soundBlocked": { "assetId": "external/sound/announcer-location-invalid-01.wav", "gain": 0.5 }
}
]
}
Expand Down
17 changes: 17 additions & 0 deletions assets/levels/empty.lvl
Original file line number Diff line number Diff line change
Expand Up @@ -14161,6 +14161,23 @@
},
"scale": 1
},
{
"id": 3580983855,
"prefab": "StructureBarracks",
"faction": "A",
"position": {
"x": 3.4207,
"y": 0.2915,
"z": -6.741
},
"rotation": {
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"scale": 1
},
{
"id": 3589229251,
"prefab": "PropPlant",
Expand Down

0 comments on commit 86d6009

Please sign in to comment.