1
0
Fork 0
mirror of https://github.com/tonytins/dressupzack synced 2025-05-05 13:34:48 -04:00
dressupzack/scripts/game.gd
Tony Bark 6d75d04fc3 Further simplified design
- Removed a tone of bloat
- Use simple arrows to scroll through items instead of drag-and-drop
2024-01-16 08:01:06 -05:00

23 lines
515 B
GDScript

extends Node
@onready var tops = $Tops
@onready var bottoms = $Bottoms
func _on_tops_fwd_btn_pressed():
var current_frame = tops.get_frame()
tops.frame = current_frame + 1;
func _on_tops_bck_btn_pressed():
var current_frame = tops.get_frame()
tops.frame = current_frame + -1;
func _on_bottoms_bck_btn_pressed():
var current_frame = bottoms.get_frame()
bottoms.frame = current_frame + -1;
func _on_bottoms_fwd_btn_pressed():
var current_frame = bottoms.get_frame()
bottoms.frame = current_frame + 1;