Compare commits
1 Commits
0030275bc9
...
472b6390e8
Author | SHA1 | Date | |
---|---|---|---|
472b6390e8 |
@ -473,11 +473,11 @@ static void FP_PlayReset(FP_Game *game, TELY_Platform *platform)
|
|||||||
play->tile_size = 37;
|
play->tile_size = 37;
|
||||||
|
|
||||||
// NOTE: Create billboads ======================================================================
|
// NOTE: Create billboads ======================================================================
|
||||||
FP_Entity_CreateBillboard(game, Dqn_V2_InitNx2( 511, 451), FP_EntityBillboardState_Dash, "Dash Billboard");
|
FP_Entity_CreateBillboard(game, Dqn_V2_InitNx2(1311, -951), FP_EntityBillboardState_Dash, "Dash Billboard");
|
||||||
FP_Entity_CreateBillboard(game, Dqn_V2_InitNx2( 511, -451), FP_EntityBillboardState_Attack, "Attack Billboard");
|
FP_Entity_CreateBillboard(game, Dqn_V2_InitNx2(1954, 855), FP_EntityBillboardState_Attack, "Attack Billboard");
|
||||||
FP_Entity_CreateBillboard(game, Dqn_V2_InitNx2(2047, -720), FP_EntityBillboardState_RangeAttack, "Range Attack Billboard");
|
FP_Entity_CreateBillboard(game, Dqn_V2_InitNx2(2047, -984), FP_EntityBillboardState_RangeAttack, "Range Attack Billboard");
|
||||||
FP_Entity_CreateBillboard(game, Dqn_V2_InitNx2(-936, -500), FP_EntityBillboardState_Monkey, "Monkey Billboard");
|
FP_Entity_CreateBillboard(game, Dqn_V2_InitNx2(2036, -700), FP_EntityBillboardState_Monkey, "Monkey Billboard");
|
||||||
FP_Entity_CreateBillboard(game, Dqn_V2_InitNx2(1898, 771), FP_EntityBillboardState_Strafe, "Strafe Billboard");
|
FP_Entity_CreateBillboard(game, Dqn_V2_InitNx2(2098, 1171), FP_EntityBillboardState_Strafe, "Strafe Billboard");
|
||||||
|
|
||||||
// NOTE: Camera ================================================================================
|
// NOTE: Camera ================================================================================
|
||||||
play->camera.world_pos = base_mid_p - Dqn_V2_InitV2I(platform->core.window_size * .5f);
|
play->camera.world_pos = base_mid_p - Dqn_V2_InitV2I(platform->core.window_size * .5f);
|
||||||
|
@ -264,7 +264,7 @@ FP_EntityRenderData FP_Entity_GetRenderData(FP_Game *game, FP_EntityType type, u
|
|||||||
} break;
|
} break;
|
||||||
|
|
||||||
case FP_EntityType_Billboard: {
|
case FP_EntityType_Billboard: {
|
||||||
result.height.meters = 7.5f;
|
result.height.meters = 12.f;
|
||||||
FP_EntityBillboardState state = DQN_CAST(FP_EntityBillboardState)raw_state;
|
FP_EntityBillboardState state = DQN_CAST(FP_EntityBillboardState)raw_state;
|
||||||
switch (state) {
|
switch (state) {
|
||||||
case FP_EntityBillboardState_Attack: result.anim_name = g_anim_names.map_billboard_attack; break;
|
case FP_EntityBillboardState_Attack: result.anim_name = g_anim_names.map_billboard_attack; break;
|
||||||
|
Loading…
Reference in New Issue
Block a user