diff --git a/pong.tscn b/pong.tscn index 21f0de1..fcc295d 100644 --- a/pong.tscn +++ b/pong.tscn @@ -1,30 +1,33 @@ -[gd_scene load_steps=5 format=2] +[gd_scene load_steps=6 format=2] -[ext_resource path="res://left_pallete.png" type="Texture" id=1] -[ext_resource path="res://right_pallete.png" type="Texture" id=2] -[ext_resource path="res://separator.png" type="Texture" id=3] -[ext_resource path="res://ball.png" type="Texture" id=4] +[ext_resource path="res://pong.vs" type="Script" id=1] +[ext_resource path="res://left_pallete.png" type="Texture" id=2] +[ext_resource path="res://right_pallete.png" type="Texture" id=3] +[ext_resource path="res://separator.png" type="Texture" id=4] +[ext_resource path="res://ball.png" type="Texture" id=5] [node name="Node2D" type="Node2D"] +script = ExtResource( 1 ) + [node name="left_pallete" type="Sprite" parent="."] position = Vector2( 62, 185 ) -texture = ExtResource( 1 ) +texture = ExtResource( 2 ) [node name="right_pallete" type="Sprite" parent="."] position = Vector2( 565, 189 ) -texture = ExtResource( 2 ) +texture = ExtResource( 3 ) [node name="separator" type="Sprite" parent="."] position = Vector2( 304, 200 ) -texture = ExtResource( 3 ) +texture = ExtResource( 4 ) [node name="ball" type="Sprite" parent="."] position = Vector2( 304, 183 ) -texture = ExtResource( 4 ) +texture = ExtResource( 5 ) diff --git a/pong.vs b/pong.vs index 313b902..e9b5b1d 100644 Binary files a/pong.vs and b/pong.vs differ diff --git a/project.godot b/project.godot index 1daf57c..45069a2 100644 --- a/project.godot +++ b/project.godot @@ -11,6 +11,7 @@ config_version=3 [application] config/name="pong" +run/main_scene="res://pong.tscn" config/icon="res://icon.png" [display]