some stuff :3

master
kaia 2024-03-26 16:38:09 -05:00
parent 546474cf53
commit 1065c930a7
13 changed files with 14634 additions and 255 deletions

View File

@ -133,12 +133,12 @@ func _ready():
func _process(delta):
var hold = origin.get_parent().position.y
origin.get_parent().position.y += yVel * delta
origin.get_parent().position.y += yVel * 0.0166
if origin.get_parent().position.y > 0:
origin.get_parent().position.y = 0
bounceChange = hold - origin.get_parent().position.y
yVel += bounceGravity*delta
yVel += bounceGravity*0.0166
if Input.is_action_just_pressed("openFolder"):
OS.shell_open(ProjectSettings.globalize_path("user://"))

File diff suppressed because one or more lines are too long

View File

@ -315,7 +315,7 @@ func drag(delta):
if dragSpeed == 0:
dragger.global_position = wob.global_position
else:
dragger.global_position = lerp(dragger.global_position,wob.global_position,(delta*20)/dragSpeed)
dragger.global_position = lerp(dragger.global_position,wob.global_position,1/dragSpeed)
dragOrigin.global_position = dragger.global_position
func wobble():

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 B

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://gflmeocxfnrq"
path="res://.godot/imported/deleteHotkey.png-0e6e4c5f2db115cc7c1ddc1f8249fed4.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://ui_scenes/settings/deleteHotkey.png"
dest_files=["res://.godot/imported/deleteHotkey.png-0e6e4c5f2db115cc7c1ddc1f8249fed4.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

View File

@ -197,3 +197,47 @@ func _process(delta):
hasMouse = false
else:
hasMouse = true
func deleteKey(label,id):
Global.main.costumeKeys[id-1] = "null"
label.text = "costume " + str(id) + " key: \"" + Global.main.costumeKeys[id-1] + "\""
func _on_delete_1_pressed():
var label = $CostumeInputs/ScrollContainer/VBoxContainer/costumeButton1/Label
deleteKey(label,1)
func _on_delete_2_pressed():
var label = $CostumeInputs/ScrollContainer/VBoxContainer/costumeButton2/Label
deleteKey(label,2)
func _on_delete_3_pressed():
var label = $CostumeInputs/ScrollContainer/VBoxContainer/costumeButton3/Label
deleteKey(label,3)
func _on_delete_4_pressed():
var label = $CostumeInputs/ScrollContainer/VBoxContainer/costumeButton4/Label
deleteKey(label,4)
func _on_delete_5_pressed():
var label = $CostumeInputs/ScrollContainer/VBoxContainer/costumeButton5/Label
deleteKey(label,5)
func _on_delete_6_pressed():
var label = $CostumeInputs/ScrollContainer/VBoxContainer/costumeButton6/Label
deleteKey(label,6)
func _on_delete_7_pressed():
var label = $CostumeInputs/ScrollContainer/VBoxContainer/costumeButton7/Label
deleteKey(label,7)
func _on_delete_8_pressed():
var label = $CostumeInputs/ScrollContainer/VBoxContainer/costumeButton8/Label
deleteKey(label,8)
func _on_delete_9_pressed():
var label = $CostumeInputs/ScrollContainer/VBoxContainer/costumeButton9/Label
deleteKey(label,9)
func _on_delete_10_pressed():
var label = $CostumeInputs/ScrollContainer/VBoxContainer/costumeButton10/Label
deleteKey(label,10)

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://barmp2x5i3kn0"
path="res://.godot/imported/eyes.png-5c147bc9bf0d52abbf1509b017c982b5.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://ui_scenes/spriteList/eyes.png"
dest_files=["res://.godot/imported/eyes.png-5c147bc9bf0d52abbf1509b017c982b5.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

File diff suppressed because one or more lines are too long

View File

@ -50,3 +50,13 @@ func clearContainer():
func updateAllVisible():
for i in container.get_children():
i.updateVis()
func _on_toggle_visibility_pressed():
$NinePatchRect.visible = !$NinePatchRect.visible
$ScrollContainer.visible = $NinePatchRect.visible
$Eyes.frame = int(!$NinePatchRect.visible)
if $NinePatchRect.visible:
$Eyes.position = Vector2(-21,12)
else:
$Eyes.position = Vector2(209,12)

File diff suppressed because one or more lines are too long