mirror of
https://github.com/tonytins/dressupzack
synced 2025-06-26 08:34:43 -04:00
Change clothes with if statements
Migrating over changing clothes from bindings over to if statements using is_pressed(). This should make it a lot more easier to maintaing because the bindings started to feel like overkill and cluttered up the code when they were only tasked to do one thing. - DJ shorts has been redone - Camera was renamed to CanonCam - Renamed ModernScn to GameScn - Removed RefRect
This commit is contained in:
parent
2ac38db54d
commit
023f6ec90e
9 changed files with 269 additions and 90 deletions
|
@ -1,9 +1,8 @@
|
|||
[gd_scene load_steps=5 format=2]
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://src/TitleScn.gd" type="Script" id=1]
|
||||
[ext_resource path="res://sprites/title.svg" type="Texture" id=2]
|
||||
[ext_resource path="res://scn/WinDialogs.tscn" type="PackedScene" id=3]
|
||||
[ext_resource path="res://src/Soundtrack.gd" type="Script" id=4]
|
||||
|
||||
[node name="Start" type="Node"]
|
||||
script = ExtResource( 1 )
|
||||
|
@ -87,9 +86,6 @@ margin_left = 97.0
|
|||
margin_top = 37.0
|
||||
margin_right = 97.0
|
||||
margin_bottom = 37.0
|
||||
|
||||
[node name="Music" type="AudioStreamPlayer" parent="."]
|
||||
script = ExtResource( 4 )
|
||||
[connection signal="pressed" from="MenuRf/StartVbox/PlayBtn" to="." method="_on_PlayBtn_pressed"]
|
||||
[connection signal="pressed" from="MenuRf/StartVbox/CreditsBtn" to="." method="_on_CreditsBtn_pressed"]
|
||||
[connection signal="pressed" from="MenuRf/StartVbox/LicenseBtn" to="." method="_on_LicenseBtn_pressed"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue