Distinction's Recent Forum Activity

  • Cheers all, I found the tutorial that korbaach's example must have been based on and managed to get it working using arrays. Thanks for your help

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hi.

    First off, I'm a real beginner. I've read through a bunch of tutorials and articles and I've been playing around with the 'Creating a Memory Match Game' tutorial which was really great for learning but I'm getting stuck when trying to link objects with sound.

    I'm trying to build a sound matching game for kids, where they get shown a collection of animals, a sound gets played and they have to click on the right animal. Each animal has a static image and a sound file. I've got it so that the game picks a random 4 animals from the collection and it picks a random one of these as the correct one, but then how do I play the correct sound file, without having an event for each animal?

    I'm fine with basic audio, playing a sound as an action assigned to an event, but I can't work out how to do it conditionally, i.e. if the cow image is selected, then play the cow sound. It feels like it's a really simple thing to do but I'm just missing some basic bit of knowledge to get it working. If anyone can help me it'd be greatly appreciated.

    Thanks,

    James

Distinction's avatar

Distinction

Member since 24 Feb, 2015

None one is following Distinction yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies