Kraudi's Recent Forum Activity

  • Hello!

    Another problem I have is the share sheet I would like to add on iOS. I used the official share plugin but it doesn't work. When I press the button nothing happens.

    Did I do anything wrong?

    Regards,

    Kraudi

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

  • Thank yo uvery much Nepeo

    I'll look into that because that sounds interesting. Hope to figure something out and hope it isn't too complex.

  • Ok I changed some stuff it is definitely more accurate. I did it with 'move 1px forward" you mentioned.

    Heres the v2 demo

    polyth-game.com/builds/snooker2

    Though it's still not good enough because if you play the red ball just thinly the line indicates that you will not hit the ball. Nevertheless the white ball still hits the red ball in the end so that means some calculation is not 'good enough'. Also the shot line sometimes goes the wrong way.

    If you have some minutes would you mind looking into the c3 file itself if I share em?

    Regards and tnx!

  • Thank you very much R0J0hound

    I tried doing it with the loop and it works but it's very inacurate. DOn't know If I've made some mistake but you can have a look in the demo here.

    polyth-game.com/builds/snooker

    (You can move red balls with pressed right mouse)

    Also this is the code I've made.

    i.imgur.com/WOWk561.png

    I've also added more collision points to the red balls so it is more accurate but doesn't changed much.

  • I think this thread would help me a lot if the image there is still online

    construct.net/en/forum/construct-2/how-do-i-18/detect-collision-point-balls-84860

    I think this is what I need to get the coordinate of the impact between the 2 balls so I can calculate the angle of motion.

  • Hey guys.

    I can't get it together.

    This is how my game currently looks

    i.imgur.com/oR2SjIE.png

    What I wanted to do is show a projected line for the red ball (white short line). So If change the angle the line should show the direction the red ball goes to. I thought it would be easy but I just don't know how to do it.

    I think something like calculate the angle the balls are hitting each other to calculate their direction?

    Ignore the green line, its just to check collision with any red ball.

    Would be nice if someone has an idea which I could may understand :D

    Regards,

    Kraudi

  • Thank you! Looks like I have just missed some stuff :D

    Btw is there any alternative to rex_moveTo using the current runtime?

  • Hello.

    I've used rex_moveto.c3addon in C3 for a couple of month. After a short break I rebought a c3 licence and I added the moveto behaviour again to c3. It is in the list of installed behaviours but I can't add it to a sprite because it is not on the list if I click on Add behaviour.

    What I'm doing wrong?

    Regards,

    Kraudi

  • sometimes it is not obvious, but when i put the 'Picked=0'-condition above the 'pick random'-condition it seems to work:

    This seems to work without the boolean after I tested it a couple if times. Hope it works stable:-D Weird but okay I take it :-D

    Thanks for the solution. I got angry because I couldn’t get it to work :-D

  • Yes. You can create an instance boolean and set it to 'true' when the card was picked. Then add the condition 'is boolean not true' under 'pick random'. Find out where and when you can reset that boolean.

    Thanks. I've tried but it is only done with 1 card on each click. I've set the boolean to false when an card arrives at their destination.

    i.imgur.com/Mxtag6y.png

Kraudi's avatar

Kraudi

Member since 14 Jan, 2013

Twitter
Kraudi has 1 followers

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

16/44
How to earn trophies