Vous n'êtes pas identifié(e). Pour pouvoir écrire ou répondre à un message, vous devez vous connecter ou vous créer un compte sur JAWA.
Pages : 1
Hi!
I'm making a point-and-click horror game, and I've written my own score. I'd like to know if it is possible to have a song loop throughtout the game without it starting over each time you passage to another screen? And is there a way to have a video play automatically, right after your press begin? Thank you!
Hors ligne
Hi, I have done this so I can tell you how I did it, but there might be a better way.
First I uploaded the music as an mp3 in the first scene I wanted it to start playing I scrolled to the bottom of the scene and loaded the sound in using the Ambience - browse button.
Then for each scene I wanted the music in I did the same thing, when the player moved between scenes it didn't start again it just continued to play without a break (very clever!)
As for video you can add a play video effect to a scene by clicking on the scene you would like the video to start playing on and in the bottom right there is a button called interactions. Add an interaction to play the video. Hope that helps :)
Hors ligne
Hi.
First, there was a bug in the ambiance sounds/musics due to the last update. It should be ok now.
Then: Exactly ! If you want the same music in the whole game without breaking/restarting it when changing the scene, just upload the same mp3 in every scene's ambience field.
Anorther way to achieve that, more tricky but more clean :
- upload the music loop as a sound fx
- create a "set music" script with just one interaction (no condition) setting the music for all scenes :
ambiance:*:<music asset id>
( " * " means all scenes)
- then create a game launch background task (parameters > background jobs > add
-> target = "set music" script
-> periodicity = at each game launch
This avoid to upload the music for all the secnes.
Z
Thank you both so much!
Hors ligne
About VIDEO ... sometimes they don't really start ... better to convert in GIF and put a sound around. It's far better and always works.
Hors ligne
Pages : 1