Event Observer?

Discussion in 'Technical Discussion' started by playsgames6666, Nov 10, 2016.

  1. playsgames6666

    playsgames6666 Miniboss Boxer

    Joined:
    Nov 13, 2015
    Messages:
    1,168
    Likes Received:
    745
    So have a small problem, or I'm a bit lost.
    I have implemented an event observer, so that once user collects 100 coins they are then directed to a different UI (shop) on Game Over.
    So i have put the event observer in the game over UI, set it to total coins, and 100 coins.
    This works perfect, once i collect 100 coins i am directed to my desired UI. Which is a shop.
    So when i purchase something, lets say i spend 100 coins, leaves me with 0 coins.
    Then when i replay game and die I'm redirected again to the shop again.
    But my thought was i have zero coins i should just go to game over UI,
    Thats what i want it to do.
    Have i set something up wrong?
     
  2. Christoph

    Christoph Miniboss Boxer

    Joined:
    Oct 4, 2015
    Messages:
    2,807
    Likes Received:
    2,309
    No. This is a bug. I already reported it a week ago. They are working on it. There are several bugs with the event observer.
     
    Sean Buildbox likes this.
  3. playsgames6666

    playsgames6666 Miniboss Boxer

    Joined:
    Nov 13, 2015
    Messages:
    1,168
    Likes Received:
    745
    OH bugger..
    @Christoph do you know of a work around?
     
  4. Christoph

    Christoph Miniboss Boxer

    Joined:
    Oct 4, 2015
    Messages:
    2,807
    Likes Received:
    2,309
    No. I don't think there is one. It just doesn't recognize that the coins are spent again. The event observer also doesn't know the difference between total and current coin amount for example which is another fix I need as well. Hope it will be fixed very soon. Sean said he would push this as urgent so I hope it will be fixed in the next update.
     
    playsgames6666 likes this.
  5. wesam_badr

    wesam_badr Miniboss Boxer

    Joined:
    Oct 10, 2015
    Messages:
    1,065
    Likes Received:
    479
    playsgames6666 likes this.
  6. covmon

    covmon Boxer

    Joined:
    Nov 5, 2016
    Messages:
    27
    Likes Received:
    14
    This issue/bug (with total coins event observer) is still around in 2.3.5 fyi @Andy. "Total coins" seems to reflect the total number of coins ever collected by the user rather than the current total coin amount, which would be much more useful so we could redirect players to a special screen when they have enough coins to purchase something.
     
    viking likes this.

Share This Page