mirror of
https://github.com/tonytins/dressupzack
synced 2025-05-05 13:34:48 -04:00
- Removed a tone of bloat - Use simple arrows to scroll through items instead of drag-and-drop
23 lines
515 B
GDScript
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;
|