Add stick tool image
This commit is contained in:
@ -1,9 +1,10 @@
|
||||
[gd_scene load_steps=12 format=3 uid="uid://4dsm0l7s6vki"]
|
||||
[gd_scene load_steps=13 format=3 uid="uid://4dsm0l7s6vki"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://gfxfxkfu8uk4" path="res://textures/character/character.svg" id="1_f7cgp"]
|
||||
[ext_resource type="Script" path="res://data/character/character.gd" id="1_qlitf"]
|
||||
[ext_resource type="Texture2D" uid="uid://b7hh5vuwdmg0v" path="res://textures/tools/stick.svg" id="3_1h5n2"]
|
||||
[ext_resource type="Script" path="res://data/character/hud.gd" id="3_eogh2"]
|
||||
[ext_resource type="Texture2D" uid="uid://ttb1b3k07qu5" path="res://textures/world/biome/forest/boulder.svg" id="4_l3xyh"]
|
||||
[ext_resource type="Texture2D" uid="uid://ttb1b3k07qu5" path="res://textures/world/boulder.svg" id="4_t4sgq"]
|
||||
[ext_resource type="Texture2D" uid="uid://i7fjjduk8b0c" path="res://textures/world/biome/forest/tree.svg" id="5_j15j3"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_653al"]
|
||||
@ -74,7 +75,13 @@ target_position = Vector2(0, -100)
|
||||
scale = Vector2(0.2, 0.2)
|
||||
texture = ExtResource("1_f7cgp")
|
||||
|
||||
[node name="tool" type="Sprite2D" parent="body_pivot/body"]
|
||||
z_index = -1
|
||||
position = Vector2(-80, -120)
|
||||
texture = ExtResource("3_1h5n2")
|
||||
|
||||
[node name="hud" type="Control" parent="."]
|
||||
z_index = 10
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
offset_left = -432.0
|
||||
@ -145,7 +152,7 @@ grow_vertical = 0
|
||||
[node name="stone_image" type="Sprite2D" parent="hud/inventory"]
|
||||
position = Vector2(24, 24)
|
||||
scale = Vector2(0.0457143, 0.0457143)
|
||||
texture = ExtResource("4_l3xyh")
|
||||
texture = ExtResource("4_t4sgq")
|
||||
|
||||
[node name="stone_label" type="Label" parent="hud/inventory"]
|
||||
layout_mode = 0
|
||||
|
90
textures/tools/stick.svg
Normal file
90
textures/tools/stick.svg
Normal file
@ -0,0 +1,90 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="700"
|
||||
height="100"
|
||||
viewBox="0 0 185.20833 26.458334"
|
||||
version="1.1"
|
||||
id="svg8"
|
||||
inkscape:version="1.0.2 (e86c870879, 2021-01-15)"
|
||||
sodipodi:docname="stick.svg">
|
||||
<defs
|
||||
id="defs2">
|
||||
<inkscape:path-effect
|
||||
effect="fillet_chamfer"
|
||||
id="path-effect836"
|
||||
is_visible="true"
|
||||
lpeversion="1"
|
||||
satellites_param="F,0,0,1,0,6,0,1 @ F,0,0,1,0,6,0,1 @ F,0,0,1,0,6,0,1 @ F,0,0,1,0,6,0,1"
|
||||
unit="px"
|
||||
method="auto"
|
||||
mode="F"
|
||||
radius="6"
|
||||
chamfer_steps="1"
|
||||
flexible="false"
|
||||
use_knot_distance="true"
|
||||
apply_no_radius="true"
|
||||
apply_with_radius="true"
|
||||
only_selected="false"
|
||||
hide_knots="false" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="1.1921418"
|
||||
inkscape:cx="420.92811"
|
||||
inkscape:cy="48.129777"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
inkscape:document-rotation="0"
|
||||
showgrid="false"
|
||||
units="px"
|
||||
inkscape:snap-bbox="true"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1046"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1">
|
||||
<inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid10"
|
||||
dotted="true" />
|
||||
</sodipodi:namedview>
|
||||
<metadata
|
||||
id="metadata5">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<path
|
||||
style="opacity:1;fill:#af7c23;fill-opacity:1;stroke:#966512;stroke-width:5.29166;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect11"
|
||||
width="179.91667"
|
||||
height="21.166664"
|
||||
x="2.6458349"
|
||||
y="2.6458349"
|
||||
inkscape:path-effect="#path-effect836"
|
||||
d="M 8.6458349,2.6458349 H 176.56251 a 6,6 45 0 1 6,6 v 9.1666641 a 6,6 135 0 1 -6,6 H 8.6458349 a 6,6 45 0 1 -6,-6 V 8.6458349 a 6,6 135 0 1 6,-6 z"
|
||||
sodipodi:type="rect" />
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.7 KiB |
37
textures/tools/stick.svg.import
Normal file
37
textures/tools/stick.svg.import
Normal file
@ -0,0 +1,37 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://b7hh5vuwdmg0v"
|
||||
path="res://.godot/imported/stick.svg-efbbe88a8a268683b0447bea3090d390.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://textures/tools/stick.svg"
|
||||
dest_files=["res://.godot/imported/stick.svg-efbbe88a8a268683b0447bea3090d390.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
|
||||
svg/scale=1.0
|
||||
editor/scale_with_editor_scale=false
|
||||
editor/convert_colors_with_editor_theme=false
|
Reference in New Issue
Block a user