Compare commits
1 Commits
169170945b
...
8b155c9021
Author | SHA1 | Date | |
---|---|---|---|
8b155c9021 |
BIN
Data/Audio/monkey.ogg
(Stored with Git LFS)
BIN
Data/Audio/monkey.ogg
(Stored with Git LFS)
Binary file not shown.
BIN
Data/Audio/portal_destroy.ogg
(Stored with Git LFS)
BIN
Data/Audio/portal_destroy.ogg
(Stored with Git LFS)
Binary file not shown.
@ -516,8 +516,6 @@ void TELY_DLL_Init(void *user_data)
|
||||
game->audio[FP_GameAudio_MerchantGym] = platform->func_load_audio(assets, DQN_STRING8("Gym"), DQN_STRING8("Data/Audio/merchant_gym.ogg"));
|
||||
game->audio[FP_GameAudio_MerchantPhone] = platform->func_load_audio(assets, DQN_STRING8("Phone"), DQN_STRING8("Data/Audio/merchant_tech.ogg"));
|
||||
game->audio[FP_GameAudio_Message] = platform->func_load_audio(assets, DQN_STRING8("Message"), DQN_STRING8("Data/Audio/message.ogg"));
|
||||
game->audio[FP_GameAudio_Monkey] = platform->func_load_audio(assets, DQN_STRING8("Monkey"), DQN_STRING8("Data/Audio/monkey.ogg"));
|
||||
game->audio[FP_GameAudio_PortalDestroy] = platform->func_load_audio(assets, DQN_STRING8("Portal Destroy"), DQN_STRING8("Data/Audio/portal_destroy.ogg"));
|
||||
|
||||
platform->user_data = game;
|
||||
{
|
||||
@ -636,7 +634,6 @@ void FP_EntityActionStateMachine(FP_Game *game, TELY_Audio *audio, TELY_Platform
|
||||
if (TELY_Platform_InputScanCodeIsPressed(input, TELY_PlatformInputScanCode_J)) {
|
||||
entity->carried_monkey = closest_monkey.entity;
|
||||
picked_up_monkey_this_frame = true;
|
||||
TELY_Audio_Play(audio, game->audio[FP_GameAudio_Monkey], 1.f);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -703,7 +700,6 @@ void FP_EntityActionStateMachine(FP_Game *game, TELY_Audio *audio, TELY_Platform
|
||||
if (TELY_Platform_InputScanCodeIsPressed(input, TELY_PlatformInputScanCode_J)) {
|
||||
entity->carried_monkey = closest_monkey.entity;
|
||||
picked_up_monkey_this_frame = true;
|
||||
TELY_Audio_Play(audio, game->audio[FP_GameAudio_Monkey], 1.f);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1299,7 +1295,6 @@ void FP_EntityActionStateMachine(FP_Game *game, TELY_Audio *audio, TELY_Platform
|
||||
uint64_t duration_ms = FP_GAME_ENTITY_ACTION_INFINITE_TIMER;
|
||||
FP_Game_EntityActionReset(game, entity->handle, duration_ms, render_data.sprite);
|
||||
entity->action.sprite_play_once = true;
|
||||
TELY_Audio_Play(audio, game->audio[FP_GameAudio_PortalDestroy], 1.f);
|
||||
FP_Game_DeleteEntity(game, entity->carried_monkey);
|
||||
}
|
||||
} break;
|
||||
|
@ -274,8 +274,6 @@ enum FP_GameAudio
|
||||
FP_GameAudio_MerchantGym,
|
||||
FP_GameAudio_MerchantPhone,
|
||||
FP_GameAudio_Message,
|
||||
FP_GameAudio_Monkey,
|
||||
FP_GameAudio_PortalDestroy,
|
||||
FP_GameAudio_Count,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user