Finish main menu screen
This commit is contained in:
@@ -359,7 +359,7 @@ bool init(void *userData) {
|
||||
SetTextureFilter(game->tileset.tiles, TEXTURE_FILTER_POINT);
|
||||
|
||||
setupSystems();
|
||||
loadMap(game, "assets/maps/main_menu_01.tmj");
|
||||
loadMap(game, "assets/maps/main_menu_01.tmj", true);
|
||||
|
||||
|
||||
game->debug.drawMapColliders = false;
|
||||
@@ -615,7 +615,7 @@ static void renderGame(Game *game, float dt) {
|
||||
|
||||
static f32 waveDisplay = 0.0f;
|
||||
if (isWaveOver(&game->waveInfo)) {
|
||||
game->waveInfo = getWaveInfo(game->waveInfo.number + 1);
|
||||
game->waveInfo = getWaveInfo(&game->waves, game->waveInfo.number + 1);
|
||||
waveDisplay = 1.6f;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user