add oxygen timer

This commit is contained in:
pennyrigate 2023-06-18 01:32:46 -04:00
parent fd218d6b13
commit e6a393c5e2
22 changed files with 314 additions and 13 deletions

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=14 format=2]
[gd_scene load_steps=16 format=2]
[ext_resource path="res://graphics/hud/stars_hud.png" type="Texture" id=1]
[ext_resource path="res://graphics/hud/lives_head.png" type="Texture" id=2]
@ -10,6 +10,8 @@
[ext_resource path="res://ui/2ndpuberty_outline.tres" type="Material" id=8]
[ext_resource path="res://shaders/1px_border.gdshader" type="Shader" id=9]
[ext_resource path="res://ui/theme.tres" type="Theme" id=10]
[ext_resource path="res://graphics/hud/oxygen.png" type="Texture" id=11]
[ext_resource path="res://graphics/hud/oxygen_meter.png" type="Texture" id=12]
[sub_resource type="ShaderMaterial" id=1]
@ -173,3 +175,15 @@ margin_bottom = 192.0
theme = ExtResource( 10 )
text = "§time bonus"
align = 2
[node name="Oxygen" type="Sprite" parent="."]
visible = false
position = Vector2( 16, 18 )
texture = ExtResource( 11 )
[node name="OxygenMeter" type="Sprite" parent="Oxygen"]
position = Vector2( -2, -1 )
rotation = 3.14159
scale = Vector2( 15, 1 )
texture = ExtResource( 12 )
flip_v = true