Jump to content

Php Game, need advice on a music solution


proxximo
Go to solution Solved by Philip,

Recommended Posts

Hi there,

 

I am the creator of a php, text based game. Recently we have gotten a composer to create some really great music for us, however with the game being set up as it currently is, that is to say click - page change, adding music is a little tricky.

 

The advice I need is a solution for adding music that doesnt interrupt when the page changes. My first thought was to run the game in an iframe and have the music being played at html top level, but I am unsure if this is the best route to take, mostly because I would like to be able to change the music depending on what is happening in game (i.e. combat, visiting town, exploring, etc.)

 

I was hoping to get some input before I move ahead with any solution.

 

Does anyone know of a solution that would take cre of the following.

 

-Does not interrupt the music when the page changes, as the scripts run constantly, changing the page to tell what your character is up to.

-Can change the music from the php game

-Keeps the interface clean

 

Thanks a ton for your help guys and gals!

If any more information is needed, I would be glad to give it.

 

Proxximo

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.