added jail bars!
This commit is contained in:
parent
ee7b21141b
commit
7d21e86f01
6 changed files with 102 additions and 13 deletions
20
objects/environment/barrier/jail_bars.tscn
Normal file
20
objects/environment/barrier/jail_bars.tscn
Normal file
|
@ -0,0 +1,20 @@
|
|||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://graphics/barrier/jail_bars.png" type="Texture" id=1]
|
||||
[ext_resource path="res://objects/environment/barrier/jail_bars.gd" type="Script" id=2]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=1]
|
||||
extents = Vector2( 4, 4 )
|
||||
|
||||
[node name="JailBars" type="Node2D"]
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
texture = ExtResource( 1 )
|
||||
centered = false
|
||||
|
||||
[node name="StaticBody2D" type="StaticBody2D" parent="."]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
|
||||
position = Vector2( 4, 4 )
|
||||
shape = SubResource( 1 )
|
Loading…
Add table
Add a link
Reference in a new issue