How do I create an upgrade system for my tower defense game?

Get help using Construct 2

Post » Mon Oct 27, 2014 6:54 am

So I am new here but I have been searching google and this site with no luck. I have a tower defense game in the works and want to make it so when I click an existing tower an upgrade button appears on screen and upon clicking the upgrade button it will upgrade the tower either by destroy and and create or by the most logical method.
B
4
Posts: 7
Reputation: 216

Post » Mon Oct 27, 2014 7:39 am

you could do it like so
You do not have the required permissions to view the files attached to this post.
B
250
S
39
G
15
Posts: 1,953
Reputation: 40,623

Post » Mon Oct 27, 2014 9:41 am

i don't see the problem
B
18
S
6
G
3
Posts: 197
Reputation: 4,129

Post » Tue Oct 28, 2014 3:46 am

the issue I am running into is when I place a tower and left click when cursor is over sprite it should create a button and then clicking that button should change animation bit for some reason this obvious setup is not working when I click on the sprite the button does not appear giving me the option to upgrade the tower to its next instance
B
4
Posts: 7
Reputation: 216

Post » Tue Oct 28, 2014 3:47 am

the tutorial for tower defense even mentions upgrading towers but doesnt tell how to set that up but the order of events woudl work as so
1. Click on existing tower
2.upgrade button appears
3.click upgrade button
4.tower upgrades and switches to next animation and so forth
B
4
Posts: 7
Reputation: 216

Post » Sun Nov 09, 2014 10:30 am

I finally got this figured out I had to use containers to make the tower clickable so that Lordshiva1948 theory would work thanks for the help! Sorry I didn't reply sooner.
B
4
Posts: 7
Reputation: 216


Return to How do I....?

Who is online

Users browsing this forum: JDebstup, Leef and 23 guests