Help!

Get help using Construct 2

Post » Mon Jul 22, 2013 12:12 pm

Hi,
I want to switch to layout "about" when the yellow sprite "about" is clicked. OK
I want to switch to layout "soundboard" when the yellow sprite "Soundboard" is clicked. NOTHING HAPPENS

Please help me.

My file:
https://docs.google.com/file/d/0BwqZI88ckbEYUHQ1eFMyaENMWnM/edit?usp=sharing
B
7
Posts: 27
Reputation: 407

Post » Mon Jul 22, 2013 1:01 pm

Hi @jabelone,

The problem is that you've only created an event sheet for 'Soundboard'. So when that layout is showing, its event sheet can tell it what to do. But when you go to 'about', there is no event sheet, so nothing to tell the program what to do?

You should add an 'about' event sheet, and link it to the 'about' layout. Then you can copy/paste your events there, so that the program knows what to do when it's on that layout!

Good luck.Blacksmith2013-07-22 13:02:56
B
33
S
6
G
7
Posts: 494
Reputation: 8,252

Post » Wed Jul 24, 2013 10:33 am

Thank-you! I did try that but the "about" event sheet didn't stay selected. It did now though.

Thanks!
B
7
Posts: 27
Reputation: 407

Post » Wed Jul 24, 2013 10:55 am

Also one other thing, according to my properties panel 0,0 is not what it should be. eg. When I set my background to 0,0 the center of the background is 0,0 but no the top corner. At the moment I just have to right click align horizontal, align vertical.
B
7
Posts: 27
Reputation: 407

Post » Wed Jul 24, 2013 11:00 am

Edit the background (double click in it)

There you can alter the image origin point.

In C2 it is default set to the center of the sprite/background

It the number 2 from the bottom in the menu on the left. Looks like a crosshaircvp2013-07-24 11:01:55
B
20
S
6
G
4
Posts: 347
Reputation: 4,451

Post » Wed Jul 24, 2013 11:46 am

Thanks :)
B
7
Posts: 27
Reputation: 407


Return to How do I....?

Who is online

Users browsing this forum: tetuan and 11 guests