summaryrefslogtreecommitdiff
path: root/game.tscn
blob: a3878bbb3972a84640dc3c6a7a1229284dbc0194 (plain) (blame)
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
[gd_scene load_steps=18 format=2]

[ext_resource path="res://car.tscn" type="PackedScene" id=1]
[ext_resource path="res://ball.tscn" type="PackedScene" id=2]
[ext_resource path="res://grass_24.bmp" type="Texture" id=3]
[ext_resource path="res://game.gd" type="Script" id=4]

[sub_resource type="CubeMesh" id=16]
size = Vector3( 45, 2, 300 )

[sub_resource type="ConcavePolygonShape" id=18]
data = PoolVector3Array( -22.5, 1, 150, 22.5, 1, 150, -22.5, -1, 150, 22.5, 1, 150, 22.5, -1, 150, -22.5, -1, 150, 22.5, 1, -150, -22.5, 1, -150, 22.5, -1, -150, -22.5, 1, -150, -22.5, -1, -150, 22.5, -1, -150, 22.5, 1, 150, 22.5, 1, -150, 22.5, -1, 150, 22.5, 1, -150, 22.5, -1, -150, 22.5, -1, 150, -22.5, 1, -150, -22.5, 1, 150, -22.5, -1, -150, -22.5, 1, 150, -22.5, -1, 150, -22.5, -1, -150, 22.5, 1, 150, -22.5, 1, 150, 22.5, 1, -150, -22.5, 1, 150, -22.5, 1, -150, 22.5, 1, -150, -22.5, -1, 150, 22.5, -1, 150, -22.5, -1, -150, 22.5, -1, 150, 22.5, -1, -150, -22.5, -1, -150 )

[sub_resource type="SpatialMaterial" id=23]
flags_transparent = true

[sub_resource type="CubeMesh" id=22]
material = SubResource( 23 )
size = Vector3( 2, 200, 300 )

[sub_resource type="ConcavePolygonShape" id=24]
data = PoolVector3Array( -1, 100, 150, 1, 100, 150, -1, -100, 150, 1, 100, 150, 1, -100, 150, -1, -100, 150, 1, 100, -150, -1, 100, -150, 1, -100, -150, -1, 100, -150, -1, -100, -150, 1, -100, -150, 1, 100, 150, 1, 100, -150, 1, -100, 150, 1, 100, -150, 1, -100, -150, 1, -100, 150, -1, 100, -150, -1, 100, 150, -1, -100, -150, -1, 100, 150, -1, -100, 150, -1, -100, -150, 1, 100, 150, -1, 100, 150, 1, 100, -150, -1, 100, 150, -1, 100, -150, 1, 100, -150, -1, -100, 150, 1, -100, 150, -1, -100, -150, 1, -100, 150, 1, -100, -150, -1, -100, -150 )

[sub_resource type="CubeMesh" id=14]
size = Vector3( 45, 2, 300 )

[sub_resource type="ConcavePolygonShape" id=19]
data = PoolVector3Array( -22.5, 1, 150, 22.5, 1, 150, -22.5, -1, 150, 22.5, 1, 150, 22.5, -1, 150, -22.5, -1, 150, 22.5, 1, -150, -22.5, 1, -150, 22.5, -1, -150, -22.5, 1, -150, -22.5, -1, -150, 22.5, -1, -150, 22.5, 1, 150, 22.5, 1, -150, 22.5, -1, 150, 22.5, 1, -150, 22.5, -1, -150, 22.5, -1, 150, -22.5, 1, -150, -22.5, 1, 150, -22.5, -1, -150, -22.5, 1, 150, -22.5, -1, 150, -22.5, -1, -150, 22.5, 1, 150, -22.5, 1, 150, 22.5, 1, -150, -22.5, 1, 150, -22.5, 1, -150, 22.5, 1, -150, -22.5, -1, 150, 22.5, -1, 150, -22.5, -1, -150, 22.5, -1, 150, 22.5, -1, -150, -22.5, -1, -150 )

[sub_resource type="CubeMesh" id=1]
size = Vector3( 45, 1, 200 )

[sub_resource type="ConcavePolygonShape" id=20]
data = PoolVector3Array( -22.5, 0.5, 100, 22.5, 0.5, 100, -22.5, -0.5, 100, 22.5, 0.5, 100, 22.5, -0.5, 100, -22.5, -0.5, 100, 22.5, 0.5, -100, -22.5, 0.5, -100, 22.5, -0.5, -100, -22.5, 0.5, -100, -22.5, -0.5, -100, 22.5, -0.5, -100, 22.5, 0.5, 100, 22.5, 0.5, -100, 22.5, -0.5, 100, 22.5, 0.5, -100, 22.5, -0.5, -100, 22.5, -0.5, 100, -22.5, 0.5, -100, -22.5, 0.5, 100, -22.5, -0.5, -100, -22.5, 0.5, 100, -22.5, -0.5, 100, -22.5, -0.5, -100, 22.5, 0.5, 100, -22.5, 0.5, 100, 22.5, 0.5, -100, -22.5, 0.5, 100, -22.5, 0.5, -100, 22.5, 0.5, -100, -22.5, -0.5, 100, 22.5, -0.5, 100, -22.5, -0.5, -100, 22.5, -0.5, 100, 22.5, -0.5, -100, -22.5, -0.5, -100 )

[sub_resource type="ConcavePolygonShape" id=21]
data = PoolVector3Array( -22.5, 0.5, 100, 22.5, 0.5, 100, -22.5, -0.5, 100, 22.5, 0.5, 100, 22.5, -0.5, 100, -22.5, -0.5, 100, 22.5, 0.5, -100, -22.5, 0.5, -100, 22.5, -0.5, -100, -22.5, 0.5, -100, -22.5, -0.5, -100, 22.5, -0.5, -100, 22.5, 0.5, 100, 22.5, 0.5, -100, 22.5, -0.5, 100, 22.5, 0.5, -100, 22.5, -0.5, -100, 22.5, -0.5, 100, -22.5, 0.5, -100, -22.5, 0.5, 100, -22.5, -0.5, -100, -22.5, 0.5, 100, -22.5, -0.5, 100, -22.5, -0.5, -100, 22.5, 0.5, 100, -22.5, 0.5, 100, 22.5, 0.5, -100, -22.5, 0.5, 100, -22.5, 0.5, -100, 22.5, 0.5, -100, -22.5, -0.5, 100, 22.5, -0.5, 100, -22.5, -0.5, -100, 22.5, -0.5, 100, 22.5, -0.5, -100, -22.5, -0.5, -100 )

[sub_resource type="SpatialMaterial" id=13]
albedo_texture = ExtResource( 3 )

[sub_resource type="CubeMesh" id=7]
material = SubResource( 13 )
size = Vector3( 200, 1, 300 )

[sub_resource type="ConcavePolygonShape" id=17]
data = PoolVector3Array( -100, 0.5, 150, 100, 0.5, 150, -100, -0.5, 150, 100, 0.5, 150, 100, -0.5, 150, -100, -0.5, 150, 100, 0.5, -150, -100, 0.5, -150, 100, -0.5, -150, -100, 0.5, -150, -100, -0.5, -150, 100, -0.5, -150, 100, 0.5, 150, 100, 0.5, -150, 100, -0.5, 150, 100, 0.5, -150, 100, -0.5, -150, 100, -0.5, 150, -100, 0.5, -150, -100, 0.5, 150, -100, -0.5, -150, -100, 0.5, 150, -100, -0.5, 150, -100, -0.5, -150, 100, 0.5, 150, -100, 0.5, 150, 100, 0.5, -150, -100, 0.5, 150, -100, 0.5, -150, 100, 0.5, -150, -100, -0.5, 150, 100, -0.5, 150, -100, -0.5, -150, 100, -0.5, 150, 100, -0.5, -150, -100, -0.5, -150 )

[node name="game" type="Spatial"]
script = ExtResource( 4 )

[node name="MeshInstance" type="MeshInstance" parent="."]
transform = Transform( -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 0, 0, 1, 100, 23, 0 )
mesh = SubResource( 16 )
material/0 = null

[node name="StaticBody" type="StaticBody" parent="MeshInstance"]

[node name="CollisionShape" type="CollisionShape" parent="MeshInstance/StaticBody"]
shape = SubResource( 18 )

[node name="MeshInstance5" type="MeshInstance" parent="."]
transform = Transform( -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 0, 0, 1, 0, 45, 0 )
mesh = SubResource( 22 )
material/0 = null

[node name="StaticBody" type="StaticBody" parent="MeshInstance5"]

[node name="CollisionShape" type="CollisionShape" parent="MeshInstance5/StaticBody"]
shape = SubResource( 24 )

[node name="MeshInstance4" type="MeshInstance" parent="."]
transform = Transform( -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 0, 0, 1, -100, 23, -1 )
mesh = SubResource( 14 )
material/0 = null

[node name="StaticBody" type="StaticBody" parent="MeshInstance4"]

[node name="CollisionShape" type="CollisionShape" parent="MeshInstance4/StaticBody"]
shape = SubResource( 19 )

[node name="MeshInstance2" type="MeshInstance" parent="."]
transform = Transform( 7.12149e-15, 4.37114e-08, -1, 1, -1.62921e-07, 0, -1.62921e-07, -1, -4.37114e-08, 0, 23, -150 )
mesh = SubResource( 1 )
material/0 = null

[node name="StaticBody" type="StaticBody" parent="MeshInstance2"]

[node name="CollisionShape" type="CollisionShape" parent="MeshInstance2/StaticBody"]
shape = SubResource( 20 )

[node name="MeshInstance3" type="MeshInstance" parent="."]
transform = Transform( 7.12149e-15, 4.37114e-08, -1, 1, -1.62921e-07, 0, -1.62921e-07, -1, -4.37114e-08, 0, 23, 150 )
mesh = SubResource( 1 )
material/0 = null

[node name="StaticBody" type="StaticBody" parent="MeshInstance3"]

[node name="CollisionShape" type="CollisionShape" parent="MeshInstance3/StaticBody"]
shape = SubResource( 21 )

[node name="ground" type="MeshInstance" parent="."]
mesh = SubResource( 7 )
material/0 = null

[node name="StaticBody" type="StaticBody" parent="ground"]

[node name="CollisionShape" type="CollisionShape" parent="ground/StaticBody"]
shape = SubResource( 17 )

[node name="car" parent="." instance=ExtResource( 1 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -4 )
continuous_cd = true

[node name="ball" parent="." instance=ExtResource( 2 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 6.05547, 6.1003 )

[node name="DirectionalLight" type="DirectionalLight" parent="."]
transform = Transform( 1, 0, 0, 0, -0.534087, 0.84543, 0, -0.84543, -0.534087, -45.9835, 32.3876, 38.4155 )
shadow_enabled = true