Joskin's Forum Posts

  • Pin behavior what you are looking for, even if you can't access directly the childls, but you can for example store the childs UID into some parent's variables and then access it easily.

  • I'm using a listener, the sound is well positionned... And I was missing the Audio Properties, thanks manual, I'm lost without you !

    Ty all !

  • If you just want volume, set the volume to some multiple of the distance every tick (like 0.2*distance), but I assume you would want panning, too. In the audio section don't just play sound but choose the "play sound at position" option. Then you can set the epicenter, the rolloff, everything. It will also pan left/right relative to whatever you set. I typically do just the center of the screen, but you can do it relative to your player, for instance, if you want.

    Thanks for your answer, I tried the play sound at position, but I don't get it to work. The sound have the same volume, and there is no pan left/right. I'll try to make an example capx soon.

  • Hey all !

    I'm trying to make a sound volume relative to the distance between the source and the listener, I can't find informations about that, at the moment the manual is broken and some precious topic are missing !

    So, I'm on a big layout, I want the player to hear sound volume based on how far he's from the source, for example an ennemy firing 1000 pixels aways, the volume must be low and as I get closer from the source the volume is higher.

    Any ideas on this ?

    Thanks !

  • This skin is far away better than the last one.

    Btw, there is already a topic about the new forums feedbacks.

  • Works perfectly for me, joining North america host without problem, but sometimes I can't connect to host, looks like they were behind a proxy or routeur and blocking the connection.

    It's awesome, can't wait for the release !

  • Yey ! Good job !

  • If you want to install just drop the c2addon file on you construct 2 window.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The last version (beta) is 162 : scirra.com/construct2/releases/r162

    The stable is 158.2 :)

  • Can someone post about yesterday test ? Again, I missed it.

    Ashley, why are you closing the labs ? :/

  • I'm using the Tint effect. My original sprite is uncolored, (white and grey), when I use the tint effect it takes the color without changing the sprite. The grey part are darker than the white part so you keep the "form" of the sprite.

    If you don't want to color all the sprite it should work with black parts.

    Am I clear ? :-D

    If not, provide the sprite or something similar and I ll try to make an example.

  • If the player speed is at 0 then nothing happen ... Don't get your problem.

  • You can easily calculate the distance between 2 points or to objects with the system expression "distance".

    From the manual :

    distance(x1, y1, x2, y2) Calculate distance between to points

    So at the end of the run, just get the distance between the player and the start : distance(start.x, start.y, player.x, player.y).

    Edit : This can work if you are moving the start point or the player.

    Else, you can increment a variable called for example "distanceTravelled" every tick.

    Every tick -> add (dt * variable) to distanceTravelled

  • Use only power of 2, so use 64*64 grid.

  • idk but now im sad i just LOST My Game FOREVER

    Blackhornet gave you a solution. Did you try it ?

    Stop crying on multiple threads and read what ppl answer.

    Have a look here : scirra.com/manual/61/preferences

    Autosave and backup.