Reflextions's Recent Forum Activity

  • hmm, I ditched the drag and drop nd tried this:

    web example

    capx

    Its crude.

    Drag and throw gentle.

    Havent tested how it works on touch..

    Well see that creates issues with other physics objects, look at this:

    here

    that, and once your pointer goes off it stops, which is why I used if is in touch after the initial touch.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm guessing the mechanics are about the same, throwing is just other direction, and the trigger is near same imo..

    Mechanics just differ slightly hehe

    Unless I'm reading the code wrong, this isn't a real time method, it doesn't drag, so much as teleport.

  • Thats actually what the effect intended is ...

    Upon release object calc values to aply impulse angle

    Alright, it looked very similar to a method I used for a catapult effect in something else. Won't it still interfere with the physics though? I've already tried a method with position.

  • It's not easy, you need server-side service such as .php, .asp or some language to GET and POST scores in database via AJAX, also you should allow cross-domain.

    There an easy solution, you should look up about Clay.io plugin.

    Do clay.io leaderboards have to be implemented on that site, or would it also work with something like an android game?

  • Drag and drop object

    on touch set x,y start points

    on release set x,y end points

    get angle(start.x,start.y,end.x,end.y)

    get distance(start.x,start.y,end.x,end.y)

    To determine speed for object through something ike impulse applied:

    with a simple approach, use the distance as a reference for power. ie The longer someone dragged, the bigger the impulse applied.

    Or you could do something fancy, like, setting begin and end time of the drag too and comparing to distance traveled, then apply impulse proportianally.

    Thanks, but I think you misinterpreted my original post or I didn't phrase it well, but I'm not trying to get a catapult effect, I want to be able to drag a rag-doll independently and have it's velocity and whatnot carry through once released. But this must all be done through physics otherwise it will mess up all the collisions and such.

  • I'm trying to be able to drag and throw a ragdoll with touch. The controls now are way too jumpy, and I don't know how to approach this. Does anyone have an idea?

    The Project

    Relevant Code

    Thanks!

  • Awesome, what are appbackrs plans regarding amazon?

  • So all we have to do is put "appbackr" in the validation comments for our tizen apps to qualify for appbackr benefiets?

  • Burump

  • Since this thread has already been posted, and I have the same question, and the previous response has disappeared. I'll post my issue here.

    I'm trying to be able to drag and throw the ragdoll with touch. The controls now are way too jumpy, and I don't know how to approach this. Does anyone have an idea?

    The Project

    Relevant Code

    Thanks!

  • Bump, Links still broken.

  • shudapanda.serw5.com

    Play the game and try placing a bamboo.

    Is this something like what you want?

    If it is, I'll send you the file for example!

    Hey, could I get the source as well?

Reflextions's avatar

Reflextions

Member since 8 Aug, 2012

Twitter
Reflextions has 478 followers

Connect with Reflextions

Trophy Case

  • 12-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • x9
    Popular Game One of your games has over 1,000 players
  • x4
    Famous Game One of your games has over 10,000 players
  • x2
    Viral Game One of your games has over 100,000 players
  • Contagious Game One of your games has over 1,000,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • x3
    Great Comment One of your comments gets 3 upvotes
  • x2
    Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

23/44
How to earn trophies