haroonjoblo's Forum Posts

  • Problem Description

    ____ When I build a mobile App in XDK using Android potion, and when I Install that APK into my phone, I see the performance is too slow and very bad. I was testing it in Chrome VIA wireless and the performance was good.

    However I always get an error when I build using Crosswalk for Android option, where I get the following message on my phone when i try to install it "Parser Error, There is a problem parsing the package." and this is why I built using Android option not crosswalk.

    Any help is appreciated..

    Regards

    Haroon

  • I am having the same problem.

  • Hello All,

    I wonder if there is a way to use foreach to loop through all spirits in a specific layer whereas the spirits are not the same type. Currently the foreach that I see in Construct2 allows me only to loop through a specific object.

    Thanks in advance

    Haroon Shishani

  • Thanks sqiddster, I think I will try the overlap :)

    And Joannesalfa Thanks you were helpful

  • I don't get what you don't get !!

    I just said I don't know how to upload the file in here since the editor doesn't have an upload option :)

    Any way I will register in the dropbox and post the file here.

    Thanks

  • There is no upload option in my editor !

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • is there any function like isTouching that gives true if one object is touching another one ?

    But the touching should depend on the image collision polygon.

    I just want something like

    If ball borders are touching both circles then

    if that object on the first circle is going down and pushing the ball down then

    explode the ball and destroy it

  • I've been trying to work this thing out.

    I have a 2 circles and a ball.

    I want the ball to explode When its trapped between the 2 balls while another object is pushing it down.

    <img src="http://img443.imageshack.us/img443/3451/examplenr.png" border="0" />

    I Appreciate any Ideas.

    Thanks

    Haroon Shishani

  • I just wanted to say it worked great, when the distance of the ball and the object is with in a specific range i create the placeholder object in the position where the ball fall, and I destroy the object when the ball leaves that distance :)

  • actually the placeholder object is probably the best approach for me since my 100 objects are exactly the same.

    it's sounds very good idea to use the placeholder, I will diffidently try it.

    And I have another scenarios to use the Immovable property that would work great :)

    Thank you guys

  • Yes it sounds good idea.

    So when the object is immovable, does it mean I can have as much as immovable Physic object with no performance lack issues.

    I just wanna know What is the maximum count of immovable physic objects is recommended to have.

    And Thanks zsangerous for your reply :)

  • Hi guys,

    is there any way to add or delete physics behavior to an object at run time.

    I have like maybe 50-100 physics object . and must of them are inactive all the time. they get activated when another object overlaps them.

    And if there is no way to do so, What is the maximum number of physic objects on the layer that don't affect the performance in mobile devices.

    And Can I have like 100 physic object which are immovable, I just use them with another movable object like a ball.

    Thanks

    Haroon Shishani

  • try Sin movement.

  • Yep, right now The links are not getting separated when I changed the linear damping to a higher value.

    But the iron ball seems to be like a balloon, when I Apply a force to it, it moves realistically, but doesn't go back like a really heavy iron ball, rather it goes back like a balloon!

    I am not good in physics, I don't know if there is something I am missing.

  • Hi Ashley,

    What if I want to pick an object and join it with the parent. like the following

    system | for each anchor

    anchor | pick nearest to (anchor.x,anchor.y)

          Create revolute joint for the parent anchor with the picked one

    I wish there is something like .parent

    or if there is away to write some Javascript.