mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:05:34 +00:00
Boxes
This commit is contained in:
parent
71eeb3f1d1
commit
4bc76cc475
10 changed files with 152 additions and 2 deletions
34
Scenes/Box_Red.tscn
Normal file
34
Scenes/Box_Red.tscn
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://bgk7fgwiis425"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scenes/Barrel.cs" id="1_flhlf"]
|
||||
[ext_resource type="Texture2D" uid="uid://c1djpk8lbgjfe" path="res://Sprites/Box_Red.png" id="2_g1pum"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2ewfl"]
|
||||
size = Vector2(11, 14)
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ss2y0"]
|
||||
size = Vector2(11, 14)
|
||||
|
||||
[node name="Barrel" type="Area2D" groups=["Destroyable"]]
|
||||
collision_layer = 64
|
||||
collision_mask = 10
|
||||
script = ExtResource("1_flhlf")
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
visible = false
|
||||
position = Vector2(0.5, -1)
|
||||
shape = SubResource("RectangleShape2D_2ewfl")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("2_g1pum")
|
||||
|
||||
[node name="RigidBody2D" type="RigidBody2D" parent="."]
|
||||
collision_layer = 64
|
||||
collision_mask = 10
|
||||
gravity_scale = 0.0
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D"]
|
||||
visible = false
|
||||
position = Vector2(0.5, -1)
|
||||
shape = SubResource("RectangleShape2D_ss2y0")
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
[ext_resource type="PackedScene" uid="uid://cfb3nsay84xdb" path="res://Scenes/crosshair.tscn" id="6_l43rf"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ai4rh"]
|
||||
size = Vector2(6, 8)
|
||||
size = Vector2(6, 6)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_omx2u"]
|
||||
atlas = ExtResource("2_bwf6x")
|
||||
|
|
@ -144,6 +144,7 @@ Muzzle = NodePath("Muzzle")
|
|||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(0, 1)
|
||||
shape = SubResource("RectangleShape2D_ai4rh")
|
||||
|
||||
[node name="Muzzle" type="Marker2D" parent="."]
|
||||
|
|
|
|||
18
Scenes/teleporter.tscn
Normal file
18
Scenes/teleporter.tscn
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://byms2dhliyux0"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://d3e762pxublbt" path="res://Sprites/teleporter.png" id="1_ppqan"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_uk8yj"]
|
||||
size = Vector2(16, 16)
|
||||
|
||||
[node name="Teleporter" type="Area2D"]
|
||||
collision_layer = 4
|
||||
collision_mask = 2
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
visible = false
|
||||
shape = SubResource("RectangleShape2D_uk8yj")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("1_ppqan")
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=20 format=3 uid="uid://bv451a8wgty4u"]
|
||||
[gd_scene load_steps=22 format=3 uid="uid://bv451a8wgty4u"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bxclo2fg3ulur" path="res://Sprites/tinyBlocks_NOiL_1.1update.png" id="1_43rfa"]
|
||||
[ext_resource type="TileSet" uid="uid://c26fvvju514rc" path="res://Tilesets/test_tileset.tres" id="1_k3ie3"]
|
||||
|
|
@ -12,7 +12,9 @@
|
|||
[ext_resource type="PackedScene" uid="uid://crmwuwhltmdq7" path="res://Scenes/Furniture/MediumTank.tscn" id="7_lmrl1"]
|
||||
[ext_resource type="Texture2D" uid="uid://tphqodqyere1" path="res://Tilesets/factory.png" id="8_0km4o"]
|
||||
[ext_resource type="PackedScene" uid="uid://7cpk3c3d8cl7" path="res://Scenes/Furniture/MediumLiquidTank.tscn" id="8_2wpw7"]
|
||||
[ext_resource type="PackedScene" uid="uid://byms2dhliyux0" path="res://Scenes/teleporter.tscn" id="10_mc6y5"]
|
||||
[ext_resource type="PackedScene" uid="uid://bnhck5eh0tqxf" path="res://Scenes/Furniture/MediumTerminal.tscn" id="13_acrmt"]
|
||||
[ext_resource type="PackedScene" uid="uid://bgk7fgwiis425" path="res://Scenes/Box_Red.tscn" id="15_m0y0j"]
|
||||
|
||||
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_poyp6"]
|
||||
resource_name = "tinyBlocks"
|
||||
|
|
@ -6975,6 +6977,21 @@ position = Vector2(-818, -60)
|
|||
[node name="LargeTank4" parent="Factory Tilemaps/Solid" instance=ExtResource("13_acrmt")]
|
||||
position = Vector2(-676, -143)
|
||||
|
||||
[node name="Teleporter" parent="Factory Tilemaps/Solid" instance=ExtResource("10_mc6y5")]
|
||||
position = Vector2(-808, -168)
|
||||
|
||||
[node name="Red Box" parent="Factory Tilemaps/Solid" instance=ExtResource("15_m0y0j")]
|
||||
position = Vector2(-744, -152)
|
||||
|
||||
[node name="Red Box2" parent="Factory Tilemaps/Solid" instance=ExtResource("15_m0y0j")]
|
||||
position = Vector2(-696, -136)
|
||||
|
||||
[node name="Red Box3" parent="Factory Tilemaps/Solid" instance=ExtResource("15_m0y0j")]
|
||||
position = Vector2(-744, 152)
|
||||
|
||||
[node name="Red Box4" parent="Factory Tilemaps/Solid" instance=ExtResource("15_m0y0j")]
|
||||
position = Vector2(-728, 152)
|
||||
|
||||
[node name="CameraController" type="Camera2D" parent="."]
|
||||
script = ExtResource("6_t8ide")
|
||||
|
||||
|
|
|
|||
BIN
Sprites/Box_Red.aseprite
(Stored with Git LFS)
Normal file
BIN
Sprites/Box_Red.aseprite
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Sprites/Box_Red.png
(Stored with Git LFS)
Normal file
BIN
Sprites/Box_Red.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
Sprites/Box_Red.png.import
Normal file
34
Sprites/Box_Red.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c1djpk8lbgjfe"
|
||||
path="res://.godot/imported/Box_Red.png-51a9edb80fbb3e0b412f1498b28df18c.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Sprites/Box_Red.png"
|
||||
dest_files=["res://.godot/imported/Box_Red.png-51a9edb80fbb3e0b412f1498b28df18c.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
BIN
Sprites/teleporter.aseprite
(Stored with Git LFS)
Normal file
BIN
Sprites/teleporter.aseprite
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Sprites/teleporter.png
(Stored with Git LFS)
Normal file
BIN
Sprites/teleporter.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
Sprites/teleporter.png.import
Normal file
34
Sprites/teleporter.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://d3e762pxublbt"
|
||||
path="res://.godot/imported/teleporter.png-c1d42465e04666ef8e495272450643ec.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Sprites/teleporter.png"
|
||||
dest_files=["res://.godot/imported/teleporter.png-c1d42465e04666ef8e495272450643ec.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
Loading…
Add table
Add a link
Reference in a new issue