-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathambient.toml
48 lines (42 loc) · 2.5 KB
/
ambient.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[project]
id = "puckle"
name = "puckle"
version = "0.0.1"
[components]
camera_pitch = { type = "F32", name = "Player Camera Pitch", description = "" }
camera_yaw = { type = "F32", name = "Player Camera Yaw", description = "" }
camera_zoom = { type = "F32", name = "Player Camera Zoom", description = "", attributes = ["Networked"]}
camera_mode = { type = "U32", name = "Camera Mode", description = "", attributes = ["Networked"]}
player_camera_ref = { type = "EntityId", name = "Player camera ref", description = "", attributes = [
"Networked",
] }
world_ref = { type = "EntityId", name = "Voxel world ref", description = "" }
voxel_world = { type = { type = "Vec", element_type = "EntityId" }, name = "Voxel World", description = "" }
voxel = { type = "Empty", name = "Voxel", description = "" }
current_animation = { type = "String", name = "", description = "" }
jumping = { type = "Bool", name = "", description = "" }
jump_timer = { type = "F32", name = "", description = "" }
[messages.input]
name = "Input"
description = "The player's input"
[messages.input.fields]
left_click = { type = "Bool", name = "Left Click", description = "" }
right_click = { type = "Bool", name = "Right Click", description = "" }
w = { type = "Bool", name = "Up", description = "Whether the player is pressing the up key" }
s = { type = "Bool", name = "Down", description = "Whether the player is pressing the down key" }
a = { type = "Bool", name = "Left", description = "Whether the player is pressing the left key" }
d = { type = "Bool", name = "Right", description = "Whether the player is pressing the right key" }
jump = { type = "Bool", name = "Jump", description = "Whether the jump key changed since last frame" }
no_wasd = { type = "Bool", name = "Jump", description = "Whether the jump key changed since last frame" }
wasd_delta = { type = "Bool", name = "Jump", description = "Whether the jump key changed since last frame" }
camera_rotation = { type = "Vec2", name = "Camera Rotation", description = "The rotation (radians) to rotate the camera by" }
camera_zoom = { type = "F32", name = "Camera Zoom", description = "The amount to zoom the camera by" }
mouse_position = { type = "Vec2", name = "Mouse Position", description = "" }
ray_origin = { type = "Vec3" }
ray_dir = { type = "Vec3" }
[messages.camera_mode]
name = "CameraMode"
description = "Set the camera mode"
[messages.camera_mode.fields]
mode = { type = "U32", name = "The mode being set", description = "" }
camera_id = { type = "EntityId", name = "The id of the camera", description = "" }