21:44
This commit is contained in:
17
Source/scenes/bringman.tscn
Normal file
17
Source/scenes/bringman.tscn
Normal file
@@ -0,0 +1,17 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://scripts/bringman.gd" type="Script" id=1]
|
||||
[ext_resource path="res://sprites/bringmans/bm00.png" type="Texture" id=2]
|
||||
|
||||
[sub_resource type="CircleShape2D" id=1]
|
||||
radius = 22.3607
|
||||
|
||||
[node name="KinematicBody2D" type="KinematicBody2D"]
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="shape" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[node name="sprite" type="Sprite" parent="."]
|
||||
scale = Vector2( 0.2, 0.2 )
|
||||
texture = ExtResource( 2 )
|
||||
9
Source/scenes/btnAdd.tscn
Normal file
9
Source/scenes/btnAdd.tscn
Normal file
@@ -0,0 +1,9 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://sprites/buttonAdd.png" type="Texture" id=1]
|
||||
[ext_resource path="res://scripts/btnAdd.gd" type="Script" id=2]
|
||||
|
||||
[node name="btnAdd" type="Sprite"]
|
||||
scale = Vector2( 0.25, 0.25 )
|
||||
texture = ExtResource( 1 )
|
||||
script = ExtResource( 2 )
|
||||
16
Source/scenes/city.tscn
Normal file
16
Source/scenes/city.tscn
Normal file
@@ -0,0 +1,16 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://sprites/cities/city00.png" type="Texture" id=1]
|
||||
[ext_resource path="res://scripts/city.gd" type="Script" id=2]
|
||||
|
||||
[sub_resource type="CircleShape2D" id=1]
|
||||
radius = 82.2982
|
||||
|
||||
[node name="KinematicBody2D" type="KinematicBody2D"]
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="sprite" type="Sprite" parent="."]
|
||||
texture = ExtResource( 1 )
|
||||
|
||||
[node name="shape" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource( 1 )
|
||||
69
Source/scenes/main.tscn
Normal file
69
Source/scenes/main.tscn
Normal file
@@ -0,0 +1,69 @@
|
||||
[gd_scene load_steps=6 format=2]
|
||||
|
||||
[ext_resource path="res://scenes/city.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://scenes/market.tscn" type="PackedScene" id=2]
|
||||
[ext_resource path="res://scenes/btnAdd.tscn" type="PackedScene" id=3]
|
||||
[ext_resource path="res://scripts/main.gd" type="Script" id=4]
|
||||
[ext_resource path="res://sprites/background.jpg" type="Texture" id=5]
|
||||
|
||||
[node name="Node2D" type="Node2D"]
|
||||
script = ExtResource( 4 )
|
||||
|
||||
[node name="bringman_parent" type="Node2D" parent="."]
|
||||
|
||||
[node name="btnAdd" parent="." instance=ExtResource( 3 )]
|
||||
position = Vector2( 271, 964 )
|
||||
|
||||
[node name="city_parent" type="Node2D" parent="."]
|
||||
|
||||
[node name="city4" parent="city_parent" instance=ExtResource( 1 )]
|
||||
position = Vector2( 468, 803 )
|
||||
|
||||
[node name="city5" parent="city_parent" instance=ExtResource( 1 )]
|
||||
position = Vector2( 487, 164 )
|
||||
|
||||
[node name="city6" parent="city_parent" instance=ExtResource( 1 )]
|
||||
position = Vector2( 134, 691 )
|
||||
scale = Vector2( 0.3225, 0.3225 )
|
||||
|
||||
[node name="city1" parent="city_parent" instance=ExtResource( 1 )]
|
||||
position = Vector2( 77, 492 )
|
||||
scale = Vector2( 0.236719, 0.236719 )
|
||||
|
||||
[node name="city2" parent="city_parent" instance=ExtResource( 1 )]
|
||||
position = Vector2( 177, 498 )
|
||||
scale = Vector2( 0.279687, 0.279687 )
|
||||
|
||||
[node name="city3" parent="city_parent" instance=ExtResource( 1 )]
|
||||
position = Vector2( 397, 372 )
|
||||
scale = Vector2( 0.588984, 0.588984 )
|
||||
|
||||
[node name="city7" parent="city_parent" instance=ExtResource( 1 )]
|
||||
position = Vector2( 269, 80 )
|
||||
scale = Vector2( 0.401485, 0.401485 )
|
||||
|
||||
[node name="city8" parent="city_parent" instance=ExtResource( 1 )]
|
||||
position = Vector2( 89, 878 )
|
||||
scale = Vector2( 0.681, 0.681 )
|
||||
|
||||
[node name="city9" parent="city_parent" instance=ExtResource( 1 )]
|
||||
position = Vector2( 94, 315 )
|
||||
scale = Vector2( 0.520999, 0.520999 )
|
||||
|
||||
[node name="market_parent" type="Node2D" parent="."]
|
||||
|
||||
[node name="market1" parent="market_parent" instance=ExtResource( 2 )]
|
||||
position = Vector2( 110, 162 )
|
||||
|
||||
[node name="market2" parent="market_parent" instance=ExtResource( 2 )]
|
||||
position = Vector2( 328, 615 )
|
||||
|
||||
[node name="ParallaxBackground" type="ParallaxBackground" parent="."]
|
||||
follow_viewport_enable = true
|
||||
|
||||
[node name="ParallaxLayer" type="ParallaxLayer" parent="ParallaxBackground"]
|
||||
motion_mirroring = Vector2( 612, 601 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="ParallaxBackground/ParallaxLayer"]
|
||||
texture = ExtResource( 5 )
|
||||
centered = false
|
||||
17
Source/scenes/market.tscn
Normal file
17
Source/scenes/market.tscn
Normal file
@@ -0,0 +1,17 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://sprites/market.png" type="Texture" id=1]
|
||||
[ext_resource path="res://scripts/market.gd" type="Script" id=2]
|
||||
|
||||
[sub_resource type="CircleShape2D" id=1]
|
||||
radius = 80.604
|
||||
|
||||
[node name="KinematicBody2D" type="KinematicBody2D"]
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="shape" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[node name="sprite" type="Sprite" parent="."]
|
||||
scale = Vector2( 0.3, 0.3 )
|
||||
texture = ExtResource( 1 )
|
||||
Reference in New Issue
Block a user