Laurent's Recent Forum Activity

  • Thanks Ashley, it does, indeed !

    Should be great to visualise it for each sound source on the editor.

    What happens if inner angle is 0 and outer angle is 360 ?

    And what about being able to visualise spatial sounds this way ? :

  • Hi Ashley,

    I've been playing with the positioned sounds system. Everything works fine except I don't really understand the "Inner angle"/"Outer angle" parameters in the "Play at object" window. I've spotted topics about that but it doesn't make things clearer. Any way to show us a graphic representations of the whereabouts ?

    As for the positioning system, I have a request : I wonder if it would be possible to implement a visual guide for this, for exemple showing graphically on the layout the area covered by the sound in the shape of a circle around its source.

    Current project is sound positioning intensive and it's very hard to visualise the influence zone of each source.

    Thanks !

    Laurent

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Dear all,

    Thanks to everybody for your help. Problem is solved. My code was actually working. I just forgot to replace "Mouse" coordinates by "Touch" coordinates. Everythingis fine now.

  • It seems like it on registers the on touched trigger while playing it on a phone and ignores the Is in touch event.

    Edit:

    Nope, the problem was that you used Mouse.X and Mouse.Y in your expression. And since touch devices like phones don't have mouses it couldn't get it's coordinates. Replacing those with Touch.X and Touch.Y solves the problem. Here's a fixed version: https://dl.dropboxusercontent.com/u/166 ... wPath.capx

    glerikud

    Thanks you so much !! ou're the best ! I was so obsessed by the touch action that I completly forgot to check the rest of the code.

  • Hi,

    In the enclosed .capx, everything works perfectly well on PC (draw path, click red dot to make it follow path) but it fails to work on touch device. But the code is the same

    Is there any explanation to that ?

    https://www.dropbox.com/s/cy7meg88k77ea ... .capx?dl=0

    Thanks for your help

  • Thanks 99Instances2Go ! Your proposition is very interesting too ! I'll try to implement "start blob movement when blob is taped" and possibility to delete trajectory if user is not pleased with it.

  • zenox98 I agree with you, Thanks ! But... my frame only states Edit, Report, Quote, no cross on this very post

    you're right ! I didn't do things well but now it works ! Thanks so much for your help ! I'll try to implement red dot appearing when line is drawned and impossibility to trace a second path.

  • Hi

    Thanks for the compliment by I have been helped and used my basic skills to adapt this help to my needs.

    Your last submission is interesting for its new approach but still does't work on touch device. It's very strange how touch/mouse react differently from computer to touch screen. Any idea about that Ashley ?

    BTW, there are 2 points I implemented on my last attempt :

    • red dot appears once path has been drawn
    • once a path has been drawn, it's impossible to draw another one until the one on screen is deleted or completely achieved by the moving dot
  • *deleted post*

  • Thanks

    But I'm afraid I'm not good enough with Construct to really understand your advices. If ever you sometime have the chance to look at the capx, it might tell you more about my needs.

  • Hi vitortaranto

    This thread is a bit old but maybe you can help me with this capx you posted years ago.

    It matches exactly my need except for two things:

    • When a path is drawn and the rocket moving, how can I prevent the user to draw another path before the first one is finished ?
    • How can I make it work on touch device ?

    Thanks for any help you can provide me with !

  • > Thanks

    > but how do I implement that ?

    >

    Sorry, I didn't look at your capx so not sure what you are doing exactly, but here's an example to explain what I mean and you can apply it to your situation.

    Let's say you want to create 10 sprites starting at coordinates 100, 100 and every 25px moving straight right (increasing X):

    ON whatever triggers

    -For startindex=0 endindex=9

    --create sprite at location x = 100 + 25*loopindex; y = 100

    This will create 10 sprites at x coordinates 100, 125, 150, 175, 200...

    Hi Badmood,

    thanks for the advice. Actually I'm trying to draw a path with the mouse spawning dots on a regular distance. Then, a sprite follows the path

Laurent's avatar

Laurent

Early Adopter

Member since 18 Jan, 2012

Twitter
Laurent has 1 followers

Trophy Case

  • 12-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

17/44
How to earn trophies