Added 2d outdoor scene with parallaxe and mockup background
This commit is contained in:
+11
-3
@@ -291,7 +291,7 @@
|
||||
[ext_resource type="Texture2D" uid="uid://ci7uer5wecm2a" path="res://art/animation/vesna/Back/B02-Walk/0048.png" id="293_ltqas"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_ssqtd"]
|
||||
radius = 111.288
|
||||
radius = 200.0
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_4yiyq"]
|
||||
animations = [{
|
||||
@@ -1198,11 +1198,13 @@ mass = 0.001
|
||||
gravity_scale = 0.0
|
||||
lock_rotation = true
|
||||
script = ExtResource("1_ssqtd")
|
||||
_speed = 500.0
|
||||
_speed = 1000.0
|
||||
_sprite = NodePath("visuals/Animated Sprites")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D"]
|
||||
position = Vector2(-140, 1)
|
||||
z_index = 1
|
||||
y_sort_enabled = true
|
||||
position = Vector2(-24, -116)
|
||||
shape = SubResource("CircleShape2D_ssqtd")
|
||||
debug_color = Color(0.923708, 0.202722, 0.475262, 0.42)
|
||||
|
||||
@@ -1210,5 +1212,11 @@ debug_color = Color(0.923708, 0.202722, 0.475262, 0.42)
|
||||
position = Vector2(0, -374)
|
||||
|
||||
[node name="Animated Sprites" type="AnimatedSprite2D" parent="RigidBody2D/visuals"]
|
||||
position = Vector2(0, 450)
|
||||
sprite_frames = SubResource("SpriteFrames_4yiyq")
|
||||
animation = &"side_walking"
|
||||
offset = Vector2(0, -450)
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="RigidBody2D"]
|
||||
position = Vector2(26, -469)
|
||||
zoom = Vector2(0.3, 0.3)
|
||||
|
||||
Reference in New Issue
Block a user