Verbcoin Verb Active Images Persist on Next Interaction

  • #1, z nate-ingraciaFriday, 17. May, 04:22 hodinky 4 months ago
    So I am using a Verbcoin system for my game where you click and hold to bring up the verbcoin, then mouse over a verb while still holding the left mouse button, releasing to activate the verbs. But now I've run into an issue. No matter how many times I try to fix it, the verbs remain in their active image states the next time I interact with an object. Please help.

    Bažant

    13 Posts


  • #2, z esmeraldaSunday, 19. May, 10:41 hodinky 4 months ago
    Do you set the inactive image of the buttons when closing the the coin? They don't revert to inactive by themselves.

    Here is a tutorial how to set up a coin interface. Maybe that is helpful:
    https://wiki.visionaire-tracker.net/wiki/Verb_Coin_Interface...

    Zabiják klíčů

    525 Posts

  • #3, z waterartyThursday, 23. May, 04:26 hodinky 4 months ago
    The most likely culprit is that the code responsible for resetting the verbcoin image to its inactive state isn't being called properly. Look for the part of your code that handles releasing the mouse button and make sure it includes a function or statement that resets the verb images to their default (inactive) appearance.

    Bažant

    1 Posts

Napsat příspěvek