added grenade sprite
This commit is contained in:
parent
cf080b6088
commit
8ba2c94cdf
BIN
assets/graphics/objects/grenade.png
Normal file
BIN
assets/graphics/objects/grenade.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 782 B |
40
assets/graphics/objects/grenade.png.import
Normal file
40
assets/graphics/objects/grenade.png.import
Normal file
@ -0,0 +1,40 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://6vtsx7rnpd7w"
|
||||
path="res://.godot/imported/grenade.png-d1c07918c8a2b35336be824628ce434f.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/graphics/objects/grenade.png"
|
||||
dest_files=["res://.godot/imported/grenade.png-d1c07918c8a2b35336be824628ce434f.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
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/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
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
|
||||
|
Before Width: | Height: | Size: 417 B After Width: | Height: | Size: 417 B |
@ -3,15 +3,15 @@
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dickh4ulsdmhi"
|
||||
path="res://.godot/imported/small_crate.png-0e3ecffaca9502966cb5eefb84d8ab7d.ctex"
|
||||
path="res://.godot/imported/small_crate.png-88965ed493b5b6f0bfa03d326f4036bf.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/graphics/crate/small_crate.png"
|
||||
dest_files=["res://.godot/imported/small_crate.png-0e3ecffaca9502966cb5eefb84d8ab7d.ctex"]
|
||||
source_file="res://assets/graphics/objects/small_crate.png"
|
||||
dest_files=["res://.godot/imported/small_crate.png-88965ed493b5b6f0bfa03d326f4036bf.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
[gd_scene format=3 uid="uid://wt8o0uyqblsv"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dn8v5sbqg05v3" path="res://scripts/brown_box.gd" id="1_g34fy"]
|
||||
[ext_resource type="Texture2D" uid="uid://dickh4ulsdmhi" path="res://assets/graphics/crate/small_crate.png" id="2_g748q"]
|
||||
[ext_resource type="Texture2D" uid="uid://dickh4ulsdmhi" path="res://assets/graphics/objects/small_crate.png" id="2_g748q"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_o3qty"]
|
||||
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
[gd_scene format=3 uid="uid://cncmlpntwxxx5"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bwjaypkvgpb6t" path="res://scripts/grenade.gd" id="1_cvyik"]
|
||||
[ext_resource type="Texture2D" uid="uid://6vtsx7rnpd7w" path="res://assets/graphics/objects/grenade.png" id="2_wxtds"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_1xt3t"]
|
||||
radius = 5.0
|
||||
@ -15,4 +16,8 @@ metadata/_edit_group_ = true
|
||||
shape = SubResource("CircleShape2D_1xt3t")
|
||||
debug_color = Color(0.8627451, 0.03137255, 0.20392157, 0.41960785)
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1803673568]
|
||||
texture_filter = 1
|
||||
texture = ExtResource("2_wxtds")
|
||||
|
||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user