123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- [gd_scene load_steps=8 format=2]
- [ext_resource path="res://Player/PlayerAnimation.tscn" type="PackedScene" id=1]
- [ext_resource path="res://Player/Player.gd" type="Script" id=2]
- [ext_resource path="res://GFX/Background/bg_layer1.png" type="Texture" id=3]
- [ext_resource path="res://GFX/Background/bg_layer2.png" type="Texture" id=4]
- [ext_resource path="res://GFX/Background/bg_layer3.png" type="Texture" id=5]
- [ext_resource path="res://GFX/Background/bg_layer4.png" type="Texture" id=6]
- [sub_resource type="CapsuleShape2D" id=1]
- radius = 60.5974
- height = 78.4273
- [node name="Player" type="KinematicBody2D"]
- position = Vector2( 476.649, 250.27 )
- script = ExtResource( 2 )
- __meta__ = {
- "_edit_group_": true
- }
- [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
- visible = false
- shape = SubResource( 1 )
- [node name="PlayerAnimation" parent="." instance=ExtResource( 1 )]
- [node name="Camera2D" type="Camera2D" parent="."]
- position = Vector2( 1000, 0 )
- current = true
- zoom = Vector2( 4, 4 )
- smoothing_enabled = true
- [node name="ParallaxBackground" type="ParallaxBackground" parent="Camera2D"]
- scroll_base_offset = Vector2( 0, -750 )
- scroll_ignore_camera_zoom = true
- [node name="ParallaxLayer" type="ParallaxLayer" parent="Camera2D/ParallaxBackground"]
- motion_mirroring = Vector2( 2048, 2048 )
- [node name="TextureRect" type="TextureRect" parent="Camera2D/ParallaxBackground/ParallaxLayer"]
- margin_right = 40.0
- margin_bottom = 40.0
- texture = ExtResource( 3 )
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [node name="ParallaxLayer2" type="ParallaxLayer" parent="Camera2D/ParallaxBackground"]
- motion_scale = Vector2( 0.25, 1 )
- motion_mirroring = Vector2( 2048, 0 )
- [node name="TextureRect" type="TextureRect" parent="Camera2D/ParallaxBackground/ParallaxLayer2"]
- margin_right = 40.0
- margin_bottom = 40.0
- texture = ExtResource( 4 )
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [node name="ParallaxLayer3" type="ParallaxLayer" parent="Camera2D/ParallaxBackground"]
- motion_scale = Vector2( 0.5, 1 )
- motion_mirroring = Vector2( 2048, 0 )
- [node name="TextureRect" type="TextureRect" parent="Camera2D/ParallaxBackground/ParallaxLayer3"]
- margin_right = 40.0
- margin_bottom = 40.0
- texture = ExtResource( 5 )
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [node name="ParallaxLayer4" type="ParallaxLayer" parent="Camera2D/ParallaxBackground"]
- motion_scale = Vector2( 0.75, 1 )
- motion_mirroring = Vector2( 2048, 0 )
- [node name="TextureRect" type="TextureRect" parent="Camera2D/ParallaxBackground/ParallaxLayer4"]
- margin_right = 40.0
- margin_bottom = 40.0
- texture = ExtResource( 6 )
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [connection signal="animate" from="." to="PlayerAnimation" method="_on_Player_animate"]
|