I am trying to spawn a rope on touch condition..
i had downloaded rope.capx and trying to edit that so that when i touch anywhere on screen, a rope is created on that touch..
Please Help Its been 3 - 4 hours i am trying for different solutions but had not find one yet...
Please help as i cannot attach capx because of reputation below 300
i am attaching file link in text form..
This is in Text Form You need to add dot before and after dropbox...
Please do Help I Need to Complete a project ASAp...
Post the URL to your capx as text we can copy in the URL bar, it will do the job.
I don't know where you are getting your "rope.capx" from, so not sure how to help on there.
Basically, spawning on touch, you need your project to have a touch object.
Use the condition "On any touch" and the action System: Create object.
In your rope.capx you likely have some initiation for the rope, or events that happen on start of layout that you will want to encapsulate in something like the Function plugin to be able to call that code whenever you want, and pass it the Touch.X and Touch.Y position as the origin from where to spawn the rope.
Thanks For Your Reply
also i tried to add touch object and replace it by system on start of layout but the result was unexpected..Joint in rope is not present
ok, here you go...
Develop games in your browser. Powerful, performant & highly capable.
Thanks A lot it helped a lot...Thank You Once Again
can u also please tell me the way the player remains in the air after leaving the rope going towards the angle in which he leaves and in the velocity he was swinging on the rope...Thanks In Advance
I Am Trying To Make The Player Swing in the air after leaving the Rope..
please tell me the way the player remains in the air after leaving the rope going towards the angle in which he leaves and in the velocity he was swinging on the rope...Thanks In Advance
I Am Attaching The text Link For Capx
Please Add "Dot" Before and after dropbox
Thanks AllanR For the Capx in my Earlier Problem..
Instead of multiplying topics, try to work on what's already given to you and keep it to a single topic.
You don't even have a "release the rope" in your current project.
What interaction of the user is that supposed to be ? This, you could implement.
And then find out how to move the "character" accordingly.
Those forums are not just a "do my game for me" service.
Do some work as well and provide the capx for it.
I believe it would be some thing like set angle + add force x / y in direction swing. so that you have a fling effect. But not sure how to code that. Yet......... Having to much fun learning how stuff works.