Funkin icon indicating copy to clipboard operation
Funkin copied to clipboard

[ENHANCEMENT] Implement character's variations

Open PurSnake opened this issue 3 weeks ago • 6 comments

Requires FUNK.ASSETS#302

Linked Issues

FUNK#6494

Description

Adds a new dropdown to the character selection menu in the chart editor for selecting character variations. (EVERYTHING WORKS AUTOMATICALLY, but you can also prevent characters from being automatically added as variations, like with pico-speaker).

Autimaticly converts characters as "variations" for another character.

Rules:

  • Character file bf-car.json with NO variationFor in JSON: Auto-detects as variation "Car" of "bf"
  • Character file bf-car.json with "variationFor": "bf" in JSON: Uses the explicitly defined variation
  • Character file bf-car.json with "variationFor": "None" (or any other non-existent character's id) in JSON: Skips auto-detection, character is NOT marked as a variation The hyphen in the filename is ignored
  • Character file spooky.json (no hyphen): Works as normal, no auto-detection attempted

Screenshots/Videos

image

How cool is it hu?

PurSnake avatar Dec 02 '25 17:12 PurSnake

Good job. I'll have to test this pr. I thought I remember you having a different implementation of how to change the variation, but I see you went for something similar to what I had for a concept.

VirtuGuy avatar Dec 02 '25 18:12 VirtuGuy

Good job. I'll have to test this pr. I thought I remember you having a different implementation of how to change the variation, but I see you went for something similar to what I had for a concept.

Yes! because you came up with the most working solution for how to display the variation selection (and because if you click the dropdown outside the character selection window, it will close... haxeui)

PurSnake avatar Dec 02 '25 18:12 PurSnake

It is truly amazing.

MightyTheArmiddilo avatar Dec 02 '25 22:12 MightyTheArmiddilo

u9blu4r7fb3g1

trayfellow avatar Dec 02 '25 23:12 trayfellow

Pursnake you are so handsome and your hair is so smooth

fla-shu avatar Dec 03 '25 06:12 fla-shu

They should also give pico's christmas variation similar offsets so it can be used in place of the regular one

biomseed avatar Dec 04 '25 01:12 biomseed