Skip to content

Commit

Permalink
Merge pull request #1 from moxvallix/main
Browse files Browse the repository at this point in the history
Update
  • Loading branch information
macmv authored Oct 10, 2020
2 parents d0090de + af0cff8 commit af13742
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
8 changes: 7 additions & 1 deletion src/Scenes/main.tscn
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
[gd_scene load_steps=3 format=2]
[gd_scene load_steps=4 format=2]

[ext_resource path="res://Scenes/player.tscn" type="PackedScene" id=1]
[ext_resource path="res://Assets/suspect.png" type="Texture" id=2]
[ext_resource path="res://Scripts/main.gd" type="Script" id=3]

[node name="Node2D" type="Node2D"]
position = Vector2( 104.785, 99.4456 )
script = ExtResource( 3 )

[node name="Player" parent="." instance=ExtResource( 1 )]

[node name="suspect" type="Sprite" parent="."]
position = Vector2( 295.215, 11.5544 )
scale = Vector2( 0.05, 0.05 )
texture = ExtResource( 2 )
6 changes: 5 additions & 1 deletion src/Scenes/player.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
[ext_resource path="res://Assets/Characters/black/black-proto-1.png" type="Texture" id=6]

[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 23.6249, 45.7498 )
extents = Vector2( 21, 36.2059 )

[sub_resource type="SpriteFrames" id=2]
animations = [ {
Expand All @@ -33,3 +33,7 @@ shape = SubResource( 1 )
frames = SubResource( 2 )
animation = "idle"
playing = true

[node name="Camera2D" type="Camera2D" parent="."]
current = true
zoom = Vector2( 0.5, 0.5 )

0 comments on commit af13742

Please sign in to comment.