placeholder gun assets

This commit is contained in:
Alexey 2025-07-14 19:33:43 +03:00
commit 90b48ccd56
26 changed files with 528 additions and 1 deletions

View file

@ -0,0 +1,76 @@
[gd_resource type="SpriteFrames" load_steps=12 format=3 uid="uid://dxxoeig43tt5e"]
[ext_resource type="Texture2D" uid="uid://cf7avgppv4kfk" path="res://base/assets/guns/placeholder/static.png" id="1_yheqn"]
[ext_resource type="Texture2D" uid="uid://ij02cx0xdckw" path="res://base/assets/guns/placeholder/reload1.png" id="2_gi6cb"]
[ext_resource type="Texture2D" uid="uid://baptu307a0dw5" path="res://base/assets/guns/placeholder/reload2.png" id="3_41o6a"]
[ext_resource type="Texture2D" uid="uid://pb6jybpwasxj" path="res://base/assets/guns/placeholder/reload3.png" id="4_1qj27"]
[ext_resource type="Texture2D" uid="uid://v2m8ikar64o5" path="res://base/assets/guns/placeholder/reload4.png" id="5_7xjr5"]
[ext_resource type="Texture2D" uid="uid://b40b8l3yctlax" path="res://base/assets/guns/placeholder/reload5.png" id="6_vbrhv"]
[ext_resource type="Texture2D" uid="uid://b55h6w4km2c3u" path="res://base/assets/guns/placeholder/reload6.png" id="7_deanl"]
[ext_resource type="Texture2D" uid="uid://b4fp0oo8qcino" path="res://base/assets/guns/placeholder/reload7.png" id="8_kiu0k"]
[ext_resource type="Texture2D" uid="uid://cfw6p5g680c55" path="res://base/assets/guns/placeholder/shoot1.png" id="9_6fi3a"]
[ext_resource type="Texture2D" uid="uid://bwfkjfpk4dwx0" path="res://base/assets/guns/placeholder/shoot2.png" id="10_mjqfp"]
[ext_resource type="Texture2D" uid="uid://bp1frp3sm8bic" path="res://base/assets/guns/placeholder/shoot3.png" id="11_0d256"]
[resource]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("1_yheqn")
}],
"loop": false,
"name": &"default",
"speed": 0.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_gi6cb")
}, {
"duration": 1.0,
"texture": ExtResource("3_41o6a")
}, {
"duration": 1.0,
"texture": ExtResource("4_1qj27")
}, {
"duration": 1.0,
"texture": ExtResource("4_1qj27")
}, {
"duration": 1.0,
"texture": ExtResource("5_7xjr5")
}, {
"duration": 1.0,
"texture": ExtResource("6_vbrhv")
}, {
"duration": 1.0,
"texture": ExtResource("6_vbrhv")
}, {
"duration": 1.0,
"texture": ExtResource("6_vbrhv")
}, {
"duration": 1.0,
"texture": ExtResource("7_deanl")
}, {
"duration": 1.0,
"texture": ExtResource("7_deanl")
}, {
"duration": 1.0,
"texture": ExtResource("8_kiu0k")
}],
"loop": false,
"name": &"reload",
"speed": 10.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("9_6fi3a")
}, {
"duration": 1.0,
"texture": ExtResource("10_mjqfp")
}, {
"duration": 1.0,
"texture": ExtResource("11_0d256")
}],
"loop": false,
"name": &"shoot",
"speed": 10.0
}]

Binary file not shown.

After

Width:  |  Height:  |  Size: 460 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ij02cx0xdckw"
path="res://.godot/imported/reload1.png-fc63c943a43e2b598d88c4bf9d75345e.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://base/assets/guns/placeholder/reload1.png"
dest_files=["res://.godot/imported/reload1.png-fc63c943a43e2b598d88c4bf9d75345e.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 488 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://baptu307a0dw5"
path="res://.godot/imported/reload2.png-be4ae6f4ef3573cf582a4e28c456bbb6.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://base/assets/guns/placeholder/reload2.png"
dest_files=["res://.godot/imported/reload2.png-be4ae6f4ef3573cf582a4e28c456bbb6.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 470 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://pb6jybpwasxj"
path="res://.godot/imported/reload3.png-2b7a82eb11767cd996098aa2ce3f1da3.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://base/assets/guns/placeholder/reload3.png"
dest_files=["res://.godot/imported/reload3.png-2b7a82eb11767cd996098aa2ce3f1da3.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 413 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://v2m8ikar64o5"
path="res://.godot/imported/reload4.png-3eb8a3a1264cbe73b4bac8a3020225cd.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://base/assets/guns/placeholder/reload4.png"
dest_files=["res://.godot/imported/reload4.png-3eb8a3a1264cbe73b4bac8a3020225cd.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 484 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b40b8l3yctlax"
path="res://.godot/imported/reload5.png-476365f7529297f8e145a9eddf2eb06f.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://base/assets/guns/placeholder/reload5.png"
dest_files=["res://.godot/imported/reload5.png-476365f7529297f8e145a9eddf2eb06f.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 452 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b55h6w4km2c3u"
path="res://.godot/imported/reload6.png-247e9d89a656ae3ab1d2d686b43e4004.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://base/assets/guns/placeholder/reload6.png"
dest_files=["res://.godot/imported/reload6.png-247e9d89a656ae3ab1d2d686b43e4004.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 460 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b4fp0oo8qcino"
path="res://.godot/imported/reload7.png-7cba8901bd110b68342d367e35d81972.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://base/assets/guns/placeholder/reload7.png"
dest_files=["res://.godot/imported/reload7.png-7cba8901bd110b68342d367e35d81972.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 546 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cfw6p5g680c55"
path="res://.godot/imported/shoot1.png-d7e01309f7789bc502a8792fcea76fb2.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://base/assets/guns/placeholder/shoot1.png"
dest_files=["res://.godot/imported/shoot1.png-d7e01309f7789bc502a8792fcea76fb2.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 608 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bwfkjfpk4dwx0"
path="res://.godot/imported/shoot2.png-4619169acad0ee3ce59878e69afb0918.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://base/assets/guns/placeholder/shoot2.png"
dest_files=["res://.godot/imported/shoot2.png-4619169acad0ee3ce59878e69afb0918.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 516 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bp1frp3sm8bic"
path="res://.godot/imported/shoot3.png-ca1e09cba6f93f4891595edc65eea2af.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://base/assets/guns/placeholder/shoot3.png"
dest_files=["res://.godot/imported/shoot3.png-ca1e09cba6f93f4891595edc65eea2af.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 413 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cf7avgppv4kfk"
path="res://.godot/imported/static.png-0c663493d3d93aee02918b4caa824f2d.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://base/assets/guns/placeholder/static.png"
dest_files=["res://.godot/imported/static.png-0c663493d3d93aee02918b4caa824f2d.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

View file

@ -1,7 +1,11 @@
[gd_scene load_steps=2 format=3 uid="uid://d23028pr0jahr"]
[gd_scene load_steps=3 format=3 uid="uid://d23028pr0jahr"]
[ext_resource type="PackedScene" uid="uid://bgnb01j1nphhi" path="res://base/scenes/rooms/test.tscn" id="1_sjeh3"]
[ext_resource type="PackedScene" uid="uid://dwx5tcatj35gu" path="res://base/scenes/player.tscn" id="2_uxs03"]
[node name="Game" type="Node3D"]
[node name="Test Room" parent="." instance=ExtResource("1_sjeh3")]
[node name="Player" parent="." instance=ExtResource("2_uxs03")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.208048, 0)

69
base/scenes/player.tscn Normal file
View file

@ -0,0 +1,69 @@
[gd_scene load_steps=6 format=3 uid="uid://dwx5tcatj35gu"]
[ext_resource type="Texture2D" uid="uid://cf7avgppv4kfk" path="res://base/assets/guns/placeholder/static.png" id="1_7s1wv"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_jjqxs"]
[sub_resource type="Animation" id="Animation_ma1q3"]
resource_name = "static"
length = 0.001
step = 0.0
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:texture")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [ExtResource("1_7s1wv")]
}
[sub_resource type="Animation" id="Animation_i1xqq"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:texture")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [null]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_7ptt8"]
_data = {
&"RESET": SubResource("Animation_i1xqq"),
&"static": SubResource("Animation_ma1q3")
}
[node name="Player" type="RigidBody3D"]
[node name="Collider" type="CollisionShape3D" parent="."]
shape = SubResource("CapsuleShape3D_jjqxs")
[node name="Camera" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
[node name="HUD" type="CanvasLayer" parent="."]
[node name="Weapon" type="TextureRect" parent="HUD"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 3
size_flags_vertical = 3
stretch_mode = 6
[node name="AnimationPlayer" type="AnimationPlayer" parent="HUD/Weapon"]
libraries = {
&"": SubResource("AnimationLibrary_7ptt8")
}
autoplay = "static"

View file

@ -13,3 +13,7 @@ config_version=5
config/name="Revenge of the Red Dragon Pon of the Red Dragon Pon of the Red Dragon Pon"
config/features=PackedStringArray("4.4", "Forward Plus")
config/icon="res://icon.svg"
[rendering]
textures/canvas_textures/default_texture_filter=0