From 2400539325aafc0a540c3d55d9c2fc0ca2daa157 Mon Sep 17 00:00:00 2001 From: cflip Date: Sat, 24 Sep 2022 20:26:56 -0600 Subject: Add the rest of the floor --- scenes/level.tscn | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/scenes/level.tscn b/scenes/level.tscn index 156f530..e64ec43 100644 --- a/scenes/level.tscn +++ b/scenes/level.tscn @@ -1,9 +1,10 @@ -[gd_scene load_steps=6 format=2] +[gd_scene load_steps=7 format=2] [ext_resource path="res://textures/court_lines.png" type="Texture" id=1] [ext_resource path="res://scenes/hoop.tscn" type="PackedScene" id=2] [ext_resource path="res://scenes/basketball.tscn" type="PackedScene" id=3] [ext_resource path="res://scenes/interface.tscn" type="PackedScene" id=4] +[ext_resource path="res://textures/court_tile.png" type="Texture" id=5] [sub_resource type="LineShape2D" id=1] d = 10.0 @@ -17,9 +18,6 @@ position = Vector2( 796, 215 ) [node name="Floor" type="StaticBody2D" parent="."] position = Vector2( 684, 510 ) -__meta__ = { -"_edit_group_": true -} [node name="Sprite" type="Sprite" parent="Floor"] position = Vector2( -3.05176e-05, 2.52724e-05 ) @@ -29,6 +27,18 @@ texture = ExtResource( 1 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="Floor"] shape = SubResource( 1 ) +[node name="TextureRect" type="TextureRect" parent="Floor"] +anchor_right = 1.0 +margin_left = -684.0 +margin_top = -90.0 +margin_right = -619.0 +margin_bottom = -54.0 +grow_horizontal = 0 +rect_scale = Vector2( 5, 5 ) +mouse_filter = 2 +texture = ExtResource( 5 ) +stretch_mode = 2 + [node name="Basketball" parent="." instance=ExtResource( 3 )] position = Vector2( 156, 371 ) -- cgit v1.2.3