player constantly moves forward and loop music

Get help using Construct 2

Post » Fri Oct 21, 2011 11:42 pm

Hi everybody

I noticed that the layout size on Space Blaster is 1024, 5120
making the picture very long on the Y axis
I had a look at the event sheet and couldn t figure it out

my question is

How do I make the player slowly but constantly move upwards ?

and I can only play the music once , it stops after it finishes

how can I loop it ?

thank you
B
30
S
8
G
9
Posts: 30
Reputation: 8,693

Post » Sat Oct 22, 2011 12:26 am

In Space Blaster, by the player is a blue square object called 'Scroller'. That uses the Bullet movement to move up the layout slowly. The events scroll to that object, but it is invisible so you can't see it.

To loop some music, use the 'set looping' action after the 'play' action in the audio object. Note not all browsers support looping - you might want to try a few (Internet Explorer, Firefox, Chrome).
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Sat Oct 22, 2011 6:37 am

thank you Ashley you re the man !!
i ll give it a shot as soon as i have some time
B
30
S
8
G
9
Posts: 30
Reputation: 8,693


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 3 guests