Slick Forums

Discuss the Slick 2D Library
It is currently Sun Oct 20, 2019 9:19 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sat May 18, 2019 6:57 pm 
Offline

Joined: Sat May 18, 2019 6:41 pm
Posts: 1
Firstly I'm very new to slick, java, and coding in general, I've been learning and working on this for about a week so please forgive me if I don't understand simple things or make very obvious mistakes.

so I've been playing around with a FF1 style JRPG, following various guides and tutorials and I've come to a roadblock with my music. I want to play the intro to a piece of music, followed by the main piece which will loop indefinitely. I thought it would be as simple as something like

Code:
Intro.play();
if(intro.playing() == false){
     mainPiece.loop();
}


but all that happens is the intro plays through once then silence. I'm probably making a very obvious mistake but I can't seem to spot it or find anything about it online.

Thanks for your help, sorry if this is a silly question


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 94 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group