Tutorial-driven player movement and camera

This commit is contained in:
Alexey 2025-07-08 19:59:07 +03:00
commit 9470f3dd1f
5 changed files with 218 additions and 6 deletions

View file

@ -491,9 +491,9 @@
scene_settings: {
"data/scene.rgs": (
camera_settings: (
position: (-1.2582655, 0.37696767, -0.41422594),
yaw: 2.317344,
pitch: 0.2702732,
position: (0.6421091, 0.11491381, 1.7991738),
yaw: 4.735702,
pitch: 0.11656319,
projection: Perspective((
fov: 1.3089969,
z_near: 0.025,
@ -502,7 +502,7 @@
),
node_infos: {
(
index: 1,
index: 45,
generation: 1,
): (
is_expanded: true,
@ -519,17 +519,75 @@
): (
is_expanded: true,
),
(
index: 46,
generation: 1,
): (
is_expanded: true,
),
(
index: 1,
generation: 1,
): (
is_expanded: true,
),
(
index: 69,
generation: 1,
): (
is_expanded: true,
),
},
),
"/home/secondbeam/workspace/rust/fyrox/red_dragon_pon/data/player.rgs": (
camera_settings: (
position: (-1.9930856, 0.5251903, 1.349509),
yaw: 2.3208973,
pitch: 0.38800758,
projection: Perspective((
fov: 1.3089969,
z_near: 0.025,
z_far: 128.0,
)),
),
node_infos: {},
),
"data/player.rgs": (
camera_settings: (
position: (0.0, 1.0, 0.0),
yaw: 0.0,
pitch: 0.0,
projection: Perspective((
fov: 1.3089969,
z_near: 0.025,
z_far: 128.0,
)),
),
node_infos: {
(
index: 1,
generation: 1,
): (
is_expanded: true,
),
(
index: 0,
generation: 1,
): (
is_expanded: true,
),
},
),
},
recent: (
scenes: [
"data/player.rgs",
"data/scene.rgs",
],
),
windows: (
window_position: (0.0, 0.0),
window_size: (979.0, 505.0),
window_size: (1093.0, 505.0),
window_maximized: false,
layout: None,
),