19 lines
580 B
Text
19 lines
580 B
Text
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://Camera2D.gd" type="Script" id=1]
|
|
[ext_resource path="res://icon.png" type="Texture" id=2]
|
|
[ext_resource path="res://Player.tscn" type="PackedScene" id=3]
|
|
|
|
[node name="View" type="Node"]
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="Background" type="TextureRect" parent="."]
|
|
margin_top = -320.0
|
|
margin_right = 420.0
|
|
margin_bottom = 320.0
|
|
texture = ExtResource( 2 )
|
|
expand = true
|
|
|
|
[node name="Player" parent="." instance=ExtResource( 3 )]
|
|
jump_speed = 10
|
|
[connection signal="move" from="Player" to="." method="_on_Player_move"]
|