as4s4hetic
3 years ago
2 changed files with 0 additions and 146 deletions
@ -1,11 +0,0 @@
@@ -1,11 +0,0 @@
|
||||
extends Node2D |
||||
|
||||
func _ready(): |
||||
var car = get_node("Player") |
||||
car.yVel = 0.5 |
||||
car.xVel = 0.5 |
||||
pass |
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame. |
||||
#func _process(delta): |
||||
# pass |
@ -1,135 +0,0 @@
@@ -1,135 +0,0 @@
|
||||
[gd_scene load_steps=5 format=2] |
||||
|
||||
[ext_resource path="res://Resources/woods.tres" type="TileSet" id=1] |
||||
[ext_resource path="res://Scenes/Car.tscn" type="PackedScene" id=2] |
||||
[ext_resource path="res://Scripts/ScrollCamera.gd" type="Script" id=3] |
||||
[ext_resource path="res://Scripts/Ch1S2.gd" type="Script" id=4] |
||||
|
||||
[node name="Ch1S2" type="Node2D"] |
||||
script = ExtResource( 4 ) |
||||
|
||||
[node name="ScrollCamera" type="Camera2D" parent="."] |
||||
current = true |
||||
script = ExtResource( 3 ) |
||||
|
||||
[node name="Background" type="ParallaxBackground" parent="."] |
||||
|
||||
[node name="SkyUpper" type="ParallaxLayer" parent="Background"] |
||||
motion_scale = Vector2( 0, 1 ) |
||||
|
||||
[node name="TileMap" type="TileMap" parent="Background/SkyUpper"] |
||||
tile_set = ExtResource( 1 ) |
||||
cell_size = Vector2( 60, 60 ) |
||||
cell_quadrant_size = 15 |
||||
format = 1 |
||||
tile_data = PoolIntArray( -196608, 1, 0, -196604, 1, 0, -196600, 1, 0, -196596, 1, 0, -196592, 1, 0, -196588, 1, 0, 196608, 2, 0, 196612, 2, 0, 196616, 2, 0, 196620, 2, 0, 196624, 2, 0, 196628, 2, 0 ) |
||||
|
||||
[node name="Sky" type="ParallaxLayer" parent="Background"] |
||||
motion_scale = Vector2( 0.1, 1 ) |
||||
|
||||
[node name="TileMap" type="TileMap" parent="Background/Sky"] |
||||
tile_set = ExtResource( 1 ) |
||||
cell_size = Vector2( 60, 60 ) |
||||
cell_quadrant_size = 15 |
||||
format = 1 |
||||
tile_data = PoolIntArray( 0, 0, 0, 4, 0, 0, 8, 0, 0, 12, 0, 0, 16, 0, 0, 20, 0, 0, 196608, 2, 0, 196612, 2, 0, 196616, 2, 0, 196620, 2, 0, 196624, 2, 0, 196628, 2, 0 ) |
||||
|
||||
[node name="Mountains" type="TileMap" parent="Background/Sky"] |
||||
tile_set = ExtResource( 1 ) |
||||
cell_size = Vector2( 60, 60 ) |
||||
cell_quadrant_size = 15 |
||||
format = 1 |
||||
tile_data = PoolIntArray( 131072, 3, 0, 131084, 4, 0 ) |
||||
|
||||
[node name="Pines" type="ParallaxLayer" parent="Background"] |
||||
motion_scale = Vector2( 0.2, 1 ) |
||||
|
||||
[node name="Trees" type="TileMap" parent="Background/Pines"] |
||||
tile_set = ExtResource( 1 ) |
||||
cell_size = Vector2( 30, 30 ) |
||||
format = 1 |
||||
tile_data = PoolIntArray( 196611, 6, 0, 196618, 6, 0, 196620, 6, 0, 196623, 6, 0, 196624, 6, 0, 196628, 6, 0, 196630, 6, 0, 196632, 6, 0, 196633, 6, 0, 196636, 6, 0, 196637, 6, 0, 196638, 6, 0, 196645, 6, 0, 196646, 6, 0, 196650, 6, 0, 196653, 6, 0, 196655, 6, 0 ) |
||||
|
||||
[node name="Grass" type="TileMap" parent="Background/Pines"] |
||||
tile_set = ExtResource( 1 ) |
||||
cell_size = Vector2( 60, 60 ) |
||||
format = 1 |
||||
tile_data = PoolIntArray( 196608, 8, 0, 196612, 8, 0, 196616, 8, 0, 196620, 8, 0, 196624, 8, 0, 196625, 8, 0, 196628, 8, 0 ) |
||||
|
||||
[node name="Furthest" type="ParallaxLayer" parent="Background"] |
||||
motion_scale = Vector2( 0.35, 1 ) |
||||
|
||||
[node name="Trees" type="TileMap" parent="Background/Furthest"] |
||||
tile_set = ExtResource( 1 ) |
||||
cell_size = Vector2( 60, 60 ) |
||||
format = 1 |
||||
tile_data = PoolIntArray( -65532, 27, 0, 0, 536870942, 0, 13, 536870942, 0, 16, 536870941, 0, 22, 29, 0 ) |
||||
|
||||
[node name="Grass" type="TileMap" parent="Background/Furthest"] |
||||
tile_set = ExtResource( 1 ) |
||||
cell_size = Vector2( 60, 60 ) |
||||
format = 1 |
||||
tile_data = PoolIntArray( 196608, 9, 0, 196612, 9, 0, 196616, 9, 0, 196620, 9, 0, 196624, 9, 0, 196628, 9, 0 ) |
||||
|
||||
[node name="Far" type="ParallaxLayer" parent="Background"] |
||||
motion_scale = Vector2( 0.5, 1 ) |
||||
|
||||
[node name="Trees" type="TileMap" parent="Background/Far"] |
||||
tile_set = ExtResource( 1 ) |
||||
cell_size = Vector2( 60, 60 ) |
||||
format = 1 |
||||
tile_data = PoolIntArray( -65529, 536870929, 0, 19, 27, 0 ) |
||||
|
||||
[node name="Grass" type="TileMap" parent="Background/Far"] |
||||
tile_set = ExtResource( 1 ) |
||||
cell_size = Vector2( 60, 60 ) |
||||
format = 1 |
||||
tile_data = PoolIntArray( 196608, 10, 0, 196612, 10, 0, 196616, 10, 0, 196620, 10, 0, 196624, 10, 0, 196628, 10, 0 ) |
||||
|
||||
[node name="Mid" type="ParallaxLayer" parent="Background"] |
||||
motion_scale = Vector2( 0.65, 1 ) |
||||
|
||||
[node name="Trees" type="TileMap" parent="Background/Mid"] |
||||
tile_set = ExtResource( 1 ) |
||||
cell_size = Vector2( 60, 60 ) |
||||
format = 1 |
||||
tile_data = PoolIntArray( -196601, 536870935, 0, -65522, 26, 0 ) |
||||
|
||||
[node name="TileMap" type="TileMap" parent="Background/Mid"] |
||||
tile_set = ExtResource( 1 ) |
||||
cell_size = Vector2( 60, 60 ) |
||||
format = 1 |
||||
tile_data = PoolIntArray( 196608, 11, 0, 196612, 11, 0, 196616, 11, 0, 196620, 11, 0, 196624, 11, 0, 196628, 11, 0 ) |
||||
|
||||
[node name="Close" type="ParallaxLayer" parent="Background"] |
||||
motion_scale = Vector2( 0.8, 1 ) |
||||
|
||||
[node name="Trees" type="TileMap" parent="Background/Close"] |
||||
tile_set = ExtResource( 1 ) |
||||
cell_y_sort = true |
||||
format = 1 |
||||
tile_data = PoolIntArray( -262132, 536870935, 0, -196608, 24, 0, 8, 28, 0 ) |
||||
|
||||
[node name="Grass" type="TileMap" parent="Background/Close"] |
||||
tile_set = ExtResource( 1 ) |
||||
cell_size = Vector2( 60, 60 ) |
||||
format = 1 |
||||
tile_data = PoolIntArray( 196608, 12, 0, 196612, 12, 0, 196616, 12, 0, 196620, 12, 0, 196624, 12, 0, 196628, 12, 0 ) |
||||
|
||||
[node name="Road" type="ParallaxLayer" parent="Background"] |
||||
|
||||
[node name="Road" type="TileMap" parent="Background/Road"] |
||||
tile_set = ExtResource( 1 ) |
||||
cell_size = Vector2( 60, 60 ) |
||||
format = 1 |
||||
tile_data = PoolIntArray( 393216, 14, 0, 393220, 14, 0, 393224, 14, 0, 393228, 14, 0, 393232, 14, 0, 393236, 14, 0, 589844, 2, 0, 786448, 2, 0, 983052, 2, 0, 1179648, 2, 0, 1179652, 2, 0, 1179656, 2, 0 ) |
||||
|
||||
[node name="PolesShrubs" type="TileMap" parent="Background/Road"] |
||||
tile_set = ExtResource( 1 ) |
||||
cell_size = Vector2( 30, 30 ) |
||||
cell_custom_transform = Transform2D( 30, 0, 0, 0, 0, 0 ) |
||||
format = 1 |
||||
tile_data = PoolIntArray( 65536, 7, 0, 65538, 15, 0, 65540, 15, 0, 65542, 15, 0, 65544, 15, 0, 65546, 15, 0, 65548, 15, 0, 65550, 15, 0, 65552, 15, 0, 65554, 15, 0, 65556, 15, 0, 65558, 15, 0, 65560, 15, 0, 65562, 15, 0, 65564, 15, 0, 65566, 15, 0, 65568, 15, 0, 65570, 15, 0, 65572, 15, 0, 65574, 15, 0, 65576, 15, 0, 65578, 15, 0, 65580, 15, 0, 65582, 15, 0, 393218, 21, 0, 393230, 20, 0, 655394, 536870928, 0, 720896, 16, 0, 720937, 25, 0 ) |
||||
|
||||
[node name="Player" parent="." instance=ExtResource( 2 )] |
||||
position = Vector2( 1295, 489 ) |
Loading…
Reference in new issue