How do I Show image after clicking a Button?

Get help using Construct 2

Post » Wed Aug 30, 2017 2:07 am

Example:
If i click Button X
Sprite A will show, then when i click Button X again it will show Sprite B Sprite A will hide and if
by clicking button X again it will show Sprite C Sprite B will hide?
can you show me a sample picture
Last edited by Prize on Thu Aug 31, 2017 4:57 am, edited 1 time in total.
B
5
S
1
Posts: 2
Reputation: 329

Post » Wed Aug 30, 2017 6:11 am

Make a global variable "SHOW"

When Show = 1, set sprite 1 visible
When Show not equal to 1, set sprite 1 invisible
When Show = 2, set sprite 2 visible
When Show not equal to 2, set sprite 2 invisible.

When left mouse clicked, increase show by 1

This is a simple way to do that.
B
32
S
8
G
2
Posts: 13
Reputation: 2,784

Post » Wed Aug 30, 2017 6:21 am

Thnks suzannergrey.. if its ok can you put it in event form. sorry for asking i just started C2 today :/
B
5
S
1
Posts: 2
Reputation: 329


Return to How do I....?

Who is online

Users browsing this forum: evillair and 12 guests