2017-07-29 15:49:55 +01:00
|
|
|
[gd_scene load_steps=3 format=1]
|
|
|
|
|
|
|
|
[ext_resource path="res://Player.gd" type="Script" id=1]
|
2017-07-29 22:28:46 +01:00
|
|
|
[ext_resource path="res://img/player_ship.tex" type="Texture" id=2]
|
2017-07-29 15:49:55 +01:00
|
|
|
|
2017-07-29 22:28:46 +01:00
|
|
|
[node name="Player" type="KinematicBody2D"]
|
2017-07-29 15:49:55 +01:00
|
|
|
|
|
|
|
transform/scale = Vector2( 2, 2 )
|
2017-07-29 22:28:46 +01:00
|
|
|
input/pickable = false
|
|
|
|
collision/layers = 1
|
|
|
|
collision/mask = 1
|
|
|
|
collision/margin = 0.08
|
2017-07-29 15:49:55 +01:00
|
|
|
script/script = ExtResource( 1 )
|
|
|
|
|
|
|
|
[node name="Sprite" type="Sprite" parent="."]
|
|
|
|
|
|
|
|
texture = ExtResource( 2 )
|
|
|
|
|
2017-07-30 17:30:10 +01:00
|
|
|
[node name="Camera2D" type="Camera2D" parent="."]
|
|
|
|
|
|
|
|
anchor_mode = 1
|
|
|
|
rotating = false
|
|
|
|
current = true
|
|
|
|
zoom = Vector2( 1, 1 )
|
|
|
|
limit/left = -10000000
|
|
|
|
limit/top = -10000000
|
|
|
|
limit/right = 10000000
|
|
|
|
limit/bottom = 10000000
|
|
|
|
drag_margin/h_enabled = true
|
|
|
|
drag_margin/v_enabled = true
|
|
|
|
smoothing/enable = false
|
|
|
|
smoothing/speed = 5.0
|
|
|
|
drag_margin/left = 0.2
|
|
|
|
drag_margin/top = 0.2
|
|
|
|
drag_margin/right = 0.2
|
|
|
|
drag_margin/bottom = 0.2
|
|
|
|
|
2017-07-29 15:49:55 +01:00
|
|
|
|