Music Playlist "Next" Button

Just started using Construct 2? Post your questions here

Post » Fri Oct 02, 2015 3:30 am

So, i need a little app with a Playlist and a "Next Song" Button.
I followed this Tutorial and having a Playlist like this is really simple.
https://www.scirra.com/tutorials/4809/how-to-make-a-playlist-of-songs-that-work-properly-without-loop

But my problem is the Button to skip the playing song and play the next.

I tried this, but it just starts the first song over and i have no idea why.
Image

Any ideas?
B
16
S
5
G
2
Posts: 52
Reputation: 1,662

Post » Fri Oct 02, 2015 3:16 pm

Can you link the .capx? I've got an idea, but i'm not sure if it will work.
B
9
S
1
Posts: 50
Reputation: 646

Post » Fri Oct 02, 2015 3:23 pm

I would, but the file is over 70mb and has copyrighted music in it. ^^
I will put a smaller together with some copyright free stuff.
B
16
S
5
G
2
Posts: 52
Reputation: 1,662

Post » Fri Oct 02, 2015 3:40 pm

Ok, here it is.
Just 6 tracks and some copyright free gamemusic i had.
Everything else is the same.

https://www.dropbox.com/s/o09vsts0os3jq ... .capx?dl=0
B
16
S
5
G
2
Posts: 52
Reputation: 1,662

Post » Sat Oct 03, 2015 7:44 am

Image
If you click / tap on next without the wait events you'll instantly go to tag 2, 3, 4, 5, 6 and then back to 1 making it look like it just plays the tag 1.
Why ? I have no idea, but it works :D
B
14
S
2
Posts: 35
Reputation: 789

Post » Sat Oct 03, 2015 8:31 am

Oh, that makes sense.
I knew it is some little thing i did not think about.

Thx man. ^^
B
16
S
5
G
2
Posts: 52
Reputation: 1,662

Post » Sat Oct 03, 2015 9:12 am

remixed! not fully tested as I can't stand the terrible music :) so not 100% sure if it will go automatically from end of one track to the next...

https://goo.gl/xL9ysm
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
33
G
47
Posts: 1,194
Reputation: 30,812

Post » Sun Oct 04, 2015 11:44 pm

Wow, thanks man.
That Code is way nicer than i thought.
B
16
S
5
G
2
Posts: 52
Reputation: 1,662


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest