init
This commit is contained in:
21
scenes/fuel_tank.tscn
Normal file
21
scenes/fuel_tank.tscn
Normal file
@@ -0,0 +1,21 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://b1lpxtvsq3whv"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/fuel_tank.gd" id="1_botbj"]
|
||||
[ext_resource type="Texture2D" uid="uid://bdnapk5ubpkp5" path="res://assets/entities.png" id="2_lg4by"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_kcbvc"]
|
||||
atlas = ExtResource("2_lg4by")
|
||||
region = Rect2(64, 0, 32, 32)
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_chjnb"]
|
||||
size = Vector2(22, 23)
|
||||
|
||||
[node name="FuelTank" type="CharacterBody2D" groups=["pickups"]]
|
||||
script = ExtResource("1_botbj")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = SubResource("AtlasTexture_kcbvc")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(1, 1.5)
|
||||
shape = SubResource("RectangleShape2D_chjnb")
|
||||
Reference in New Issue
Block a user