Laurent's Forum Posts

  • 99Instances2Go

    Didn't manage to make it work. Would you post a .capx, please ? Thanks in advance !

  • Also you can use Sine behavior and assign it to the Y of the sprite

  • Hi, I did. It works, with some hiccups between the two sounds systems because sound tags are sometimes the same between Tilemap and Speaker Objet routines.

    Thanks !

  • Hi mekonbekon !

    Using your last caps, I did found out that when I disable the Speaker object part of the code, the Tilemap part was not working. Do I miss something ?

    Lovely !

    I was wondering. So far, I'm just an individual and may build app for sale but this may just be a ridiculous amount of money. C2 license allowed "use for independent use up to an associated use revenue of 5000 USD", i.e. it was easy to start a business with personnel license and buy the business with the first money earned. Is it still the case here ?

  • mekonbekon

    You may be right about that. I'll give it a try adapting your code.

    Thanks anyway, you've been of a great help.

  • mekonbekon

    I was wondering about another way to design soundscape that could be an alteration of your first proposition. What about a hero sprite that is a listener surrounded by 4 speakers attached to it, moving close to it and emitting sound from the tiles they are on. That could help recreate panoramic sound. What do you think ?

  • mekonbekon

    Indeed !

    Sound scape is something I wanted to try for a long time.

    Thanks again for your kind help !

  • Try Construct 3

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

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

    You are amazing and so reactive ! .

    I discovered that Speaker objet part of the code is sufficient to make the soundscape engine to run. Tile map part of the code can be switched of. You achieved to create something wonderful with very few lines. I'm impressed

  • mekonbekon

    I get it ! It seems to be working.

    My first attempt with this soundscape thing was to use positioned audio. My scene had almost 30 different sound sources with a moveable listener but this (very well working) system needed to much ressources. I was thinking about starting to play the different sound sources when the listener sprite was entering their "sphere of influence", stoping sources that are to far to be heard anyway and thus preserving CPU ressources.

    But I was not able to make this system to work.

  • mekonbekon

    Your pedagogical talents are astonishing !

    Your last suggestions about the speaker option sounds very interesting and absolutely what I may need for my project . I can't really get how you would do that. I mean, I understand the logic but am not skilled enough to implement it. Any (additional) help would be great !

    About this method, BTW, can we instead imagine the sprite being a Listener and activating sound of the 8 adjacent tiles around it ?

  • mekonbekon

    That's a really smart way of achieving this !

    Thanks so much !

    I was wondering, instead of fading previous sound and starting new one once previous has stopped, how can we do a cross fade so the sound level heard would remain stable ?

    What about "fade=0.5" variable ? Is it fading rate ?

  • mekonbekon

    Thanks !

    This looks awesome !

    Yes, the idea is this : every type style plays a different sound. Sound keeps playing the same when you go from a tile type to the same tile type and fades when you go to a different tile type. The loops I'm playing are about 30 s long (rain, wind in the trees...)

    The point is to make a "sound landscape" that evolves when the player moves.

  • Hi to all !

    I'm building an app in which each tile of a tile map triggers a sound when the user drags a sprite on it.

    I' managed to trigger the sound and let it play as long as the sprite is over a given tile but I would need the sound to fade out and stop when the sprite leaves the tile.

    How can I do that ?

    My second goal is to have a single function to make this automatic, a single function for every tile.

    Any idea on how to do that ?

    Thanks !

    Laurent

    Here's a cap of the code I have so far

    https://www.dropbox.com/s/6njx2wzt5dg1j ... .37.27.png

  • 99Instances2Go Still no idea about that ?