If you want to add right click handler for an *inventory* item, look in the "items" folder. The "book" item in inventory is unrelated to the book in scene.
Thanks a lot Mnemonic it worked!
But returning to my question about PlayMusic(). I tried to do like you said, but I think something I did wrong cause on "Resume" button scene's music does't resume.
In the menu I added this lines:
Game.PlayMusicChannel(0,"music\Aguado.ogg");
//////////////////////////////
on "resume"
{
Game.StopMusicChannel(0);
Game.ResumeMusic("music\crypt.ogg");
this.Close();
}
--------------------------
And in scene script I added:
Game.PlayMusic("music\crypt.ogg");
var VK_ESCAPE;
if(Keyboard.KeyCode==VK_ESCAPE)
{
Game.StopMusic();
}
-------------
Help me please cause I'm totally confused.