mirror of
https://github.com/RYGhub/the-cold-night.git
synced 2024-11-21 20:24:20 +00:00
✏️ Redrew some stuff
This commit is contained in:
parent
0e3d53adab
commit
6cdb32bd78
6 changed files with 50 additions and 7 deletions
15
src/ui/CrossbowBar.gd
Normal file
15
src/ui/CrossbowBar.gd
Normal file
|
@ -0,0 +1,15 @@
|
|||
extends Node2D
|
||||
|
||||
|
||||
# Declare member variables here. Examples:
|
||||
# var a = 2
|
||||
# var b = "text"
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
func _on_picked_up():
|
||||
print ("a")
|
23
src/ui/CrossbowBar.tscn
Normal file
23
src/ui/CrossbowBar.tscn
Normal file
|
@ -0,0 +1,23 @@
|
|||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://src/ui/LifeBarBg.png" type="Texture" id=1]
|
||||
[ext_resource path="res://src/pickups/WeaponCrossbow.png" type="Texture" id=2]
|
||||
[ext_resource path="res://src/ui/LifeBarFg.png" type="Texture" id=3]
|
||||
[ext_resource path="res://src/ui/CrossbowBar.gd" type="Script" id=4]
|
||||
|
||||
[node name="CrossbowBar" type="Node"]
|
||||
script = ExtResource( 4 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
scale = Vector2( 3, 3 )
|
||||
texture = ExtResource( 2 )
|
||||
|
||||
[node name="TextureProgress" type="TextureProgress" parent="."]
|
||||
margin_left = 28.0
|
||||
margin_top = -24.0
|
||||
margin_right = 318.0
|
||||
margin_bottom = 25.0
|
||||
value = 100.0
|
||||
texture_under = ExtResource( 1 )
|
||||
texture_progress = ExtResource( 3 )
|
||||
texture_progress_offset = Vector2( 2, 0 )
|
BIN
src/ui/LifeBarBg.png
(Stored with Git LFS)
BIN
src/ui/LifeBarBg.png
(Stored with Git LFS)
Binary file not shown.
BIN
src/ui/LifeBarFg.png
(Stored with Git LFS)
BIN
src/ui/LifeBarFg.png
(Stored with Git LFS)
Binary file not shown.
|
@ -2,11 +2,16 @@
|
|||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
valid=false
|
||||
path="res://.import/Title.png-eddaf0247c16f2cd01805f96e728b10b.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/ui/Title.png"
|
||||
dest_files=[ "res://.import/Title.png-eddaf0247c16f2cd01805f96e728b10b.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
|
|
BIN
src/ui/UIBar.png
(Stored with Git LFS)
BIN
src/ui/UIBar.png
(Stored with Git LFS)
Binary file not shown.
Loading…
Reference in a new issue