-
Notifications
You must be signed in to change notification settings - Fork 0
/
Game.tscn
53 lines (40 loc) · 1.69 KB
/
Game.tscn
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
[gd_scene load_steps=7 format=3 uid="uid://b6prxth0ap86u"]
[ext_resource type="Script" path="res://CharacterBody2D.gd" id="2_20e4w"]
[ext_resource type="Texture2D" uid="uid://cahhxigh18qap" path="res://assets/Free-Market-Cartoon-2D-Game-Tileset4.jpg" id="2_cjd3t"]
[sub_resource type="SegmentShape2D" id="SegmentShape2D_n02xc"]
a = Vector2(-5, 4)
b = Vector2(2000, 0)
[sub_resource type="CircleShape2D" id="CircleShape2D_qsfkw"]
radius = 38.71
[sub_resource type="Gradient" id="Gradient_054t0"]
[sub_resource type="GradientTexture2D" id="GradientTexture2D_8okua"]
gradient = SubResource("Gradient_054t0")
[node name="Main" type="Node2D"]
[node name="Background" type="Sprite2D" parent="."]
position = Vector2(831, 281)
scale = Vector2(1.14722, 0.758854)
texture = ExtResource("2_cjd3t")
[node name="FloorStatic" type="StaticBody2D" parent="."]
position = Vector2(580, 843)
[node name="FloorColision" type="CollisionShape2D" parent="FloorStatic"]
position = Vector2(-578, -248)
shape = SubResource("SegmentShape2D_n02xc")
[node name="MainHeroBody" type="CharacterBody2D" parent="."]
position = Vector2(31, 9)
script = ExtResource("2_20e4w")
[node name="MainHeroColison" type="CollisionShape2D" parent="MainHeroBody"]
position = Vector2(20, 546)
shape = SubResource("CircleShape2D_qsfkw")
one_way_collision_margin = 18.3
[node name="Sprite2D" type="Sprite2D" parent="MainHeroBody/MainHeroColison"]
position = Vector2(1, 3)
texture = SubResource("GradientTexture2D_8okua")
[node name="MainCamera" type="Camera2D" parent="MainHeroBody"]
position = Vector2(580, 843)
offset = Vector2(0, -370)
limit_left = 0
limit_top = 0
limit_right = 1500
limit_bottom = 1000
position_smoothing_enabled = true
position_smoothing_speed = 10.0