Sign Interaction

Get help using Construct 2

Post » Fri Feb 08, 2013 3:05 pm

Hi guys,

I'm working on a platformer and I was wondering how I could make a sign interaction.

For example:

The player collides with the sign-object and when he then presses B, a sprite becomes visible.


I hope someone can help me!

Paul
B
3
Posts: 4
Reputation: 333

Post » Fri Feb 08, 2013 4:15 pm

you could put

when player collides with object>>>> make sprite visable
b button is down


should work!
B
10
S
1
G
1
Posts: 74
Reputation: 1,637

Post » Fri Feb 08, 2013 5:12 pm

On start of layout:
Set all info display images~
Opacity to 0 / Visibility to invisible~

Every tick:
Set all of your info display images into~
X: WindowWidth / 2
Y: WindowHeight / 2

If player is on colliding with sign & B button clicked:
Set image opacity to 100 / visibility to visible~
Sub event for above:
If any key pressed~
Set image opacity to 0 / visibility to invisible~AkiraWong2013-02-08 17:12:43
B
13
S
5
G
3
Posts: 63
Reputation: 3,989

Post » Fri Feb 08, 2013 7:15 pm

Thanks all it worked!
B
3
Posts: 4
Reputation: 333


Return to How do I....?

Who is online

Users browsing this forum: heliogame and 20 guests