Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Any advice on how to make this work on custom player names? It works for all of my other characters, but because I let the player choose their own name, the sprite doesn't highlight when they speak. Any thoughts?

define mc = Character("[mc_name]", callback=name_callback, cb_name="mc_light")
layeredimage mc:
    at sprite_highlight('mc_light')
    always:
        "mc_base"
    group expressions:
        pos(70,62)
        attribute neutral default:
            "mc_neutral"
        attribute happy:
            "mc_happy"
        attribute sad:
            "mc_sad"
        attribute angry:
            "mc_angry"
        attribute surprised:
            "mc_surprised"
    
    if blush:         "mc_blush" layeredimage mchbrunch:     at sprite_highlight('mc_light')     always:         "mc_brunch"     group expressions:         attribute neutral default:             pos(163,125)             "mc_neutral"         attribute happy:             pos(163,125)             "mc_happy"         attribute sad:             pos(163,128)             "mc_sad"         attribute angry:             pos(163,125)             "mc_angry"         attribute surprised:             pos(163,125)             "mc_surprised"     if blush2:         pos(165,115)         "mc_blush2"