godot-tank-test/map.tscn

35 lines
1.0 KiB
Plaintext
Raw Permalink Normal View History

2022-10-15 19:37:05 +02:00
[gd_scene load_steps=6 format=2]
[ext_resource path="res://tank-base.tscn" type="PackedScene" id=1]
2022-10-15 19:37:05 +02:00
[ext_resource path="res://icon.png" type="Texture" id=2]
2022-10-15 19:37:05 +02:00
[sub_resource type="PlaneShape" id=1]
2022-10-15 19:37:05 +02:00
[sub_resource type="PlaneMesh" id=2]
size = Vector2( 2000, 2000 )
subdivide_width = 10
subdivide_depth = 10
2022-10-15 19:37:05 +02:00
[sub_resource type="SpatialMaterial" id=3]
albedo_texture = ExtResource( 2 )
uv1_scale = Vector3( 2000, 2000, 1 )
2022-10-15 19:37:05 +02:00
[node name="Spatial" type="Spatial"]
2022-10-15 19:37:05 +02:00
[node name="Ground" type="StaticBody" parent="."]
2022-10-15 19:37:05 +02:00
[node name="CollisionShape" type="CollisionShape" parent="Ground"]
shape = SubResource( 1 )
2022-10-15 19:37:05 +02:00
[node name="MeshInstance" type="MeshInstance" parent="Ground"]
mesh = SubResource( 2 )
material/0 = SubResource( 3 )
2022-10-15 19:37:05 +02:00
[node name="Sun" type="DirectionalLight" parent="."]
transform = Transform( -1, 0, -8.74228e-08, -5.82212e-08, 0.745976, 0.665973, 6.52153e-08, 0.665973, -0.745976, 0, 2.57678, 0 )
directional_shadow_max_distance = 200.0
2022-10-15 19:37:05 +02:00
[node name="Tank" type="Spatial" parent="."]
2022-10-15 19:37:05 +02:00
[node name="Spatial" parent="Tank" instance=ExtResource( 1 )]