mrneko's Forum Posts

  • Thanks guys.

  • I have 5 layouts (level 1 to 5) that share the same event sheet. So at the end of each level, player can continue to the next level and so on.

    The problem is that when I reach the next level, a lot of events in different groups are not working. Is there a way to completely restart the event sheet?

    I even tried to change to another layout first (main menu) then go back to the next level, but it's still broken.

  • Kyatric

    Link is not working. Could you upload the file again?

    Thanks.

  • Gmoney

    Thanks for the tips. I need exactly that but one with bullet behavior. Do you know if it works the same? I try to replicate it but the path seems very different. Most importantly, I want to know the path after bouncing off solid object.

  • Don't really know the exact way to put it but it's something similar to this screenshot taken from the game "Peggle". I want to show a line that predicts the path of the bullet before shooting it. I believe Peggle is using Physics behavior but I'm using bullet behaviour for my game.

  • I found the solution. Basically I just use a dummy sprite to get the angle between the two balls and set the position towards that angle. Thanks for the tips guys.

  • newt

    I tried that but sometimes the ball went further in. I guess it's due to collision polygon. The ball is round but there are only 8 collision points. I am guessing certain collision area is within the ball perimeter and thus it stopped slightly later. Do you have a solution to this? Not sure if adding more than 8 collision points is a good idea but that's the only solution I can think of.

  • Thanks for the replies!

    Gmoney newt

    I tried your expression but it doesn't give the result I want. As in, sometimes it will be off by a few pixels. Does the collision polygon affect the results? The objects are different sizes.

  • Hi,

    I have 2 round objects, A and B. Object A will move towards object B in a bullet behaviour. I want the object A to stop immediately on collision with object B. I am thinking of getting the collision coordinate so that I can set the position of object A. What is the best way to detect this precisely? Or any other approach that's better?

  • Sorry to bump this thread. Still looking for a solution.

    How do I lerp the hue?

    I have set R G B as variable and set a range for each to be generated randomly. How do I set the lerp for the transition to happen smoothly?

  • Hi,

    Is browser object: open in new window not working for Crosswalk 15 build?

    I tested it on my desktop browser and it's working. When I export it to Android app, it doesn't work on my mobile phone.

  • Try Construct 3

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

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

    Found it under Effect Section of the forum.

  • I read about that part. How do I find TouchID? Do I define it myself?

  • I want to detect the location of touch on different side of the screen.

    The basic idea is that:

    Touch: Is in touch:

    Touch.X<(LayoutWidth/2) : Set var1 to Touch.X

    Touch.X>(LayoutWidth/2) : Set var2 to Touch.X

    How do I get the system to recognize different Touch.X?

    Currently when I touch one side of the screen the other side wouldn't register.

  • LittleStain

    Thanks. Made a bit of modification based on your suggestion and it worked.

    Maukka

    Thanks for your input too.