made some changes :D

This commit is contained in:
pennyrigate 2023-05-10 23:02:06 -04:00
parent 5f89fbc891
commit 0006f02a0f
16 changed files with 131 additions and 20 deletions

View file

@ -95,7 +95,6 @@ tracks/3/keys = {
[node name="Skelarcher" type="Node2D" groups=["enemy"]]
script = ExtResource( 4 )
blood = false
shoot_time = 3.0
[node name="Sprite" type="Sprite" parent="."]
material = SubResource( 18 )

View file

@ -16,7 +16,7 @@ func _ready():
scale.y = 1
#Label
label.visible = true
label.set_text(str(cost))
label.set_text("" + str(cost))
label.rect_position.y = scale.y / 2 + label_offset.y
func _physics_process(delta):

View file

@ -115,7 +115,7 @@ margin_top = -15.0
margin_right = 22.0
margin_bottom = 5.0
theme = ExtResource( 3 )
text = "00"
text = "00"
align = 1
[connection signal="animation_finished" from="AnimationPlayer" to="." method="_on_AnimationPlayer_animation_finished"]

View file

@ -7,7 +7,7 @@ onready var map = get_owner()
func _ready():
anims.play("closed")
label.text = str(cost)
label.text = "" + str(cost)
func _physics_process(delta):

View file

@ -1,9 +1,10 @@
[gd_scene load_steps=9 format=2]
[gd_scene load_steps=10 format=2]
[ext_resource path="res://ui/theme.tres" type="Theme" id=1]
[ext_resource path="res://objects/environment/exit/exit.gd" type="Script" id=2]
[ext_resource path="res://graphics/exit/exit.png" type="Texture" id=3]
[ext_resource path="res://shaders/1px_border.gdshader" type="Shader" id=4]
[ext_resource path="res://ui/2ndpuberty_outline.tres" type="Material" id=5]
[sub_resource type="ShaderMaterial" id=1]
shader = ExtResource( 4 )
@ -122,13 +123,13 @@ z_index = -1
script = ExtResource( 2 )
[node name="Label" type="Label" parent="."]
visible = false
margin_left = -7.0
material = ExtResource( 5 )
margin_left = -10.0
margin_top = -15.0
margin_right = 33.0
margin_right = 30.0
margin_bottom = 5.0
theme = ExtResource( 1 )
text = "22"
text = "22"
[node name="Sprite" type="Sprite" parent="."]
material = SubResource( 1 )

View file

@ -0,0 +1,19 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://graphics/lore/shady_canopy.png" type="Texture" id=1]
[ext_resource path="res://objects/lore/lore.tscn" type="PackedScene" id=2]
[node name="Lore" instance=ExtResource( 2 )]
[node name="TextureRect" parent="Panel" index="0"]
texture = ExtResource( 1 )
[node name="Control" parent="." index="1"]
margin_top = 49.0
margin_bottom = 143.0
[node name="Label" parent="Control" index="0"]
margin_top = 3.0
margin_bottom = 91.0
text = "Shady Canopy:
A heavily wooded forest connected to verdant hills. people used to live here to hide from fami, but after he poisoned the water its become too dangerous."

View file

@ -0,0 +1,21 @@
[gd_scene load_steps=5 format=2]
[ext_resource path="res://shaders/1px_border.gdshader" type="Shader" id=1]
[ext_resource path="res://objects/lore/lore.tscn" type="PackedScene" id=2]
[ext_resource path="res://graphics/enemy/cop/cop_shoot.png" type="Texture" id=3]
[sub_resource type="ShaderMaterial" id=1]
shader = ExtResource( 1 )
shader_param/border_color = Color( 0, 0, 0, 1 )
shader_param/border_corners = true
[node name="Lore" instance=ExtResource( 2 )]
[node name="TextureRect" parent="Panel" index="0"]
material = SubResource( 1 )
texture = ExtResource( 3 )
[node name="Label" parent="Control" index="0"]
margin_top = 15.0
margin_bottom = 25.0
text = "Famicop:"