aboutsummaryrefslogblamecommitdiffstats
path: root/godot/scenes/Game.tscn
blob: 320f926d67d09cfd62c2875ab3e6eec879404d30 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                

                                                               
                                                                   


                                   

                                   


                                 






                                                   
 
                                                                 

                       









                                                                                           
[gd_scene load_steps=5 format=2]

[ext_resource path="res://native/Game.gdns" type="Script" id=1]
[ext_resource path="res://native/BasicDie.gdns" type="Script" id=2]

[sub_resource type="CubeMesh" id=1]

[sub_resource type="BoxShape" id=2]

[node name="Game" type="Spatial"]
script = ExtResource( 1 )

[node name="RigidBody" type="RigidBody" parent="."]
script = ExtResource( 2 )
base/camera_offset = 500.0
base/camera_clamp = Vector2( 0, -1 )
shooting/max_force = 100.0
shooting/up_angle = 5.0
input/mouse_sensitivity = Vector2( 0.05, 0.05 )

[node name="MeshInstance" type="MeshInstance" parent="RigidBody"]
mesh = SubResource( 1 )
material/0 = null

[node name="CollisionShape" type="CollisionShape" parent="RigidBody"]
shape = SubResource( 2 )

[node name="CameraArmHorizontal" type="Spatial" parent="RigidBody"]

[node name="CameraArmVertical" type="Spatial" parent="RigidBody/CameraArmHorizontal"]

[node name="Camera" type="Camera" parent="RigidBody/CameraArmHorizontal/CameraArmVertical"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 10 )