Project

General

Profile

Actions

Feature #74

open

Feature #68: Battle module

Feature #69: Battle module structure

Fix the camera battle

Added by I. Valentin over 2 years ago. Updated over 2 years ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
Gameplay: Battle
Target version:
Start date:
2023-06-27
Due date:
% Done:

40%

Estimated time:

Description

Battle cameras are extracted with the installer, but they don't look right. The angle is never quite as shown in ProdCloud, and, it varies every time a battle is started.

Actions #1

Updated by I. Valentin over 2 years ago

  • Status changed from New to In Progress

The battle camera is set in CameraManager::StartBattleCamera.

The camera look 'mostly' okay, but it's still weird.
Also, there are variations and it doesn't look the same on successive calls.
I thinks it's something related to the lookAt functions.
Try to fix it. First, replace the deprecated calls, and see what happens.

Actions #2

Updated by I. Valentin over 2 years ago

  • % Done changed from 0 to 40

As of 345e6668, a temporary fix has been applied to compensate for the part of the window covered by the battle UI.

Still, it's a bit tilted, it doesn't match the angle shown in Kimera, and varies slightly each time a battle is started.

Also, internally, everything battle related is rolled 90 degrees: camera, entities... This is OK for now, but it may became a problem when moving battle models.

Actions

Also available in: Atom PDF