ℹ️ For Yop2D Next, the new 2D + 3D version of Yop2D (coming soon). Button and node names are those of Yop2D Next.
🔍 How do I…? All short recipes, with a search
Short answers to questions about sounds, music and video in Yop2D Next. Names in bold are the ones you see on the screen.
👉 A word you don't understand? See Yop2D words.
How do I make my own music?
- Tap Object → Tools → Create music.
- Tap Block (+ icon): ready-made blocks (calm, action, mystery…) for the Melody, the Chords, the Bass line and the Drums. Tap ▶ to listen, then tap a block's name to take it: it goes into My blocks, already chosen.
- Tap a square on its track: the block is placed there. To place another one, tap it in My blocks. Tap Listen to hear the result.
- Want to write your own notes? Create my own block…, or Edit the block to change a block (the Give me an idea button helps).
- Tap Create the sound: give it a name, and the music goes into the project's sounds. Play it with the Play music node (see Looping background music).
How do I use the ready-made music?
- In Create music: Open button → Ready-made music (to edit)…. You need internet the first time.
- Tap ▶ to listen, or tap a piece of music to open it. Change what you like, then tap Create the sound.
- Without internet: Object → Files → Sounds and music → Yop2D library, Music family.
- Your own music (.ogg, .mp3, .wav): Sounds and music → Import sounds.
How do I stop or change the music?
- To stop it: Stop music node (for example on the game over screen).
- To change it: another Play music with another piece of music. Only one music plays at a time: the new one replaces the old one.
- The music keeps playing when you change scenes. If the next scene keeps the same music, don't add Play music again: it would start over from the beginning.
- Pause the game also pauses the music; Resume the game starts it again from the same place.
How do I make a "Sound off" button?
- Place a Switch (Object → Interface elements) and store its value in a variable, for example sound.
- Nodes: When an interface element changes → If a variable… (sound is at least 1) → Play music; otherwise → Stop music.
- To mute the sound effects too: put If a variable… (sound is at least 1) before each Play sound.
- Step-by-step recipe: An ON / OFF switch. For an options screen: A settings screen.
How do I make a sound effect (laser, jump, explosion)?
- Tap Object → Tools → Create a sound effect.
- On the left, Ready-made (fully adjustable): Laser, Jump, Coin, Explosion… Tap a sound: you hear it right away. At random makes one up.
- On the right, change the settings (pitch, length, echo…): the sound plays again after each change.
- Tap Save and give it a name: the sound effect goes into the project's sounds. Play it with Play sound (see A sound effect on contact).
How do I make a sound that gets louder up close?
- In 3D, a looping sound (waterfall, campfire): tap the object, then in the Inspector, SOUND AROUND IT section, choose a Looping sound and set Heard up to (meters).
- In 3D, a sound played once (a distant explosion, a creaking door): Play a sound at this spot (3D) node. It is louder when the camera is close.
- In 2D, Yop2D Next can't do it on its own yet: just set the volume of the Play sound node (lower for a faraway sound).
How do I put a video in my game?
- In a 2D scene, tap Object → Decor → Video.
- In the Inspector, tap the Video line → Import a video from the tablet… (.mp4 recommended). Yop2D prepares it: this can take a moment.
- The Starts on its own when the scene begins box is already ticked. You can also tick Loop or Without sound. For a cutscene, stretch the object over the whole game screen.
- Nodes: Play the video, Pause the video, Stop the video. After the intro: When the video ends → Go to scene.
👉 To start music when the game begins: Looping background music. For a sound when you touch an object: A sound effect on contact.