100 lines
4.8 KiB
Plaintext
100 lines
4.8 KiB
Plaintext
[gd_scene load_steps=34 format=2]
|
|
|
|
[ext_resource path="res://RaceTrack.gd" type="Script" id=1]
|
|
[ext_resource path="res://TrackPath.gd" type="Script" id=2]
|
|
[ext_resource path="res://OpponentCar.gd" type="Script" id=3]
|
|
[ext_resource path="res://assets/2D_Car_Pack_DevilsWorkShop_V01/bus/busiso_0007.png" type="Texture" id=4]
|
|
[ext_resource path="res://assets/2D_Car_Pack_DevilsWorkShop_V01/bus/busiso_0004.png" type="Texture" id=5]
|
|
[ext_resource path="res://assets/2D_Car_Pack_DevilsWorkShop_V01/bus/busiso_0001.png" type="Texture" id=6]
|
|
[ext_resource path="res://assets/2D_Car_Pack_DevilsWorkShop_V01/bus/busiso_0002.png" type="Texture" id=7]
|
|
[ext_resource path="res://assets/2D_Car_Pack_DevilsWorkShop_V01/bus/busiso_0003.png" type="Texture" id=8]
|
|
[ext_resource path="res://assets/2D_Car_Pack_DevilsWorkShop_V01/bus/busiso_0000.png" type="Texture" id=9]
|
|
[ext_resource path="res://assets/2D_Car_Pack_DevilsWorkShop_V01/bus/busiso_0005.png" type="Texture" id=10]
|
|
[ext_resource path="res://assets/2D_Car_Pack_DevilsWorkShop_V01/bus/busiso_0006.png" type="Texture" id=11]
|
|
[ext_resource path="res://assets/2D_Car_Pack_DevilsWorkShop_V01/car02/car02iso_0003.png" type="Texture" id=12]
|
|
[ext_resource path="res://assets/2D_Car_Pack_DevilsWorkShop_V01/car02/car02iso_0004.png" type="Texture" id=13]
|
|
[ext_resource path="res://assets/2D_Car_Pack_DevilsWorkShop_V01/car02/car02iso_0001.png" type="Texture" id=14]
|
|
[ext_resource path="res://assets/2D_Car_Pack_DevilsWorkShop_V01/car02/car02iso_0002.png" type="Texture" id=15]
|
|
[ext_resource path="res://assets/2D_Car_Pack_DevilsWorkShop_V01/car02/car02iso_0007.png" type="Texture" id=16]
|
|
[ext_resource path="res://assets/2D_Car_Pack_DevilsWorkShop_V01/car02/car02iso_0000.png" type="Texture" id=17]
|
|
[ext_resource path="res://assets/2D_Car_Pack_DevilsWorkShop_V01/car02/car02iso_0005.png" type="Texture" id=18]
|
|
[ext_resource path="res://assets/2D_Car_Pack_DevilsWorkShop_V01/car02/car02iso_0006.png" type="Texture" id=19]
|
|
[ext_resource path="res://track1/policeCar/policeiso_0003.png" type="Texture" id=20]
|
|
[ext_resource path="res://track1/policeCar/policeiso_0004.png" type="Texture" id=21]
|
|
[ext_resource path="res://track1/policeCar/policeiso_0001.png" type="Texture" id=22]
|
|
[ext_resource path="res://track1/policeCar/policeiso_0002.png" type="Texture" id=23]
|
|
[ext_resource path="res://track1/policeCar/policeiso_0007.png" type="Texture" id=24]
|
|
[ext_resource path="res://track1/policeCar/policeiso_0000.png" type="Texture" id=25]
|
|
[ext_resource path="res://track1/policeCar/policeiso_0005.png" type="Texture" id=26]
|
|
[ext_resource path="res://track1/policeCar/policeiso_0006.png" type="Texture" id=27]
|
|
[ext_resource path="res://CarSprite.gd" type="Script" id=28]
|
|
[ext_resource path="res://wrong_way.tscn" type="PackedScene" id=29]
|
|
|
|
[sub_resource type="Gradient" id=3]
|
|
colors = PoolColorArray( 0.284025, 0.4375, 0.0803223, 1, 0.30305, 0.480469, 0.0675659, 1 )
|
|
|
|
[sub_resource type="GradientTexture" id=4]
|
|
gradient = SubResource( 3 )
|
|
width = 1920
|
|
|
|
[sub_resource type="Curve2D" id=1]
|
|
_data = {
|
|
"points": PoolVector2Array( 0, 0, 0, 0, -17.3556, 327.792, 0, 0, 0, 0, 1930.1, 452.427 )
|
|
}
|
|
|
|
[sub_resource type="SpriteFrames" id=2]
|
|
animations = [ {
|
|
"frames": [ ExtResource( 4 ), ExtResource( 5 ), ExtResource( 6 ), ExtResource( 7 ), ExtResource( 8 ), ExtResource( 9 ), ExtResource( 10 ), ExtResource( 11 ) ],
|
|
"loop": true,
|
|
"name": "bus",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [ ExtResource( 12 ), ExtResource( 13 ), ExtResource( 14 ), ExtResource( 15 ), ExtResource( 16 ), ExtResource( 17 ), ExtResource( 18 ), ExtResource( 19 ) ],
|
|
"loop": true,
|
|
"name": "car",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [ ExtResource( 20 ), ExtResource( 21 ), ExtResource( 22 ), ExtResource( 23 ), ExtResource( 24 ), ExtResource( 25 ), ExtResource( 26 ), ExtResource( 27 ) ],
|
|
"loop": true,
|
|
"name": "police",
|
|
"speed": 5.0
|
|
} ]
|
|
|
|
[node name="RaceTrack" type="Node"]
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="."]
|
|
margin_right = 1920.0
|
|
margin_bottom = 1080.0
|
|
texture = SubResource( 4 )
|
|
expand = true
|
|
|
|
[node name="TileMap" type="TileMap" parent="."]
|
|
cell_size = Vector2( 128, 128 )
|
|
format = 1
|
|
|
|
[node name="TrackPath" type="Path2D" parent="."]
|
|
curve = SubResource( 1 )
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="Opponent" type="PathFollow2D" parent="TrackPath"]
|
|
position = Vector2( -17.3556, 327.792 )
|
|
rotation = 0.0639077
|
|
script = ExtResource( 3 )
|
|
|
|
[node name="OpponentCar" type="Node2D" parent="TrackPath/Opponent"]
|
|
position = Vector2( 0, 22 )
|
|
scale = Vector2( 0.25, 0.25 )
|
|
|
|
[node name="CarSprite" type="AnimatedSprite" parent="TrackPath/Opponent/OpponentCar"]
|
|
position = Vector2( -3.20422, 3.0376 )
|
|
scale = Vector2( 0.8, 0.8 )
|
|
frames = SubResource( 2 )
|
|
animation = "car"
|
|
script = ExtResource( 28 )
|
|
skin = "bus"
|
|
|
|
[node name="Wrong Way" parent="." instance=ExtResource( 29 )]
|
|
visible = false
|
|
[connection signal="wrong_way" from="." to="Wrong Way" method="_on_RaceTrack_wrong_way"]
|