How do I Upgrade my Towers

0 favourites
  • 2 posts
From the Asset Store
C3 Swipe Towers is the game of speed and reflexes by enabling climber reach the top of tower.
  • I am making a Tower Defence game for my school homework, and I wanted to create a menu that can upgrade the towers. The menu works fine, however I don't seem to be able to actually affect anything and i'm unsure why. When I click on an upgrade, the cash goes down but doesn't seem to actually do anything.

    Here's a screenshot of the Event Sheets:

    And here's a link to the actual capx file:

    Thanks a lot! I appreciate all the help!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I can't see any action specifying which Turrets or which Laserbeams to affect in any of the last four actions - you need to tell your events which instances of each object to apply the actions to first.

    An easy way I can see to do this using the actions you've currently got is by adding a variable to your UpgradeMenu object, call it something like 'SelectedTurretUID'. In your action that creates the menu, set this variable to the UID of the clicked turret.

    In all subsequent actions you can then use the 'Pick by UID' condition to direct the code to the correct instance of the object

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)