Banqueiro's Forum Posts

  • 5 posts
  • I have two box:

    I just want to randonly, the red box born "on start of layout" in a random box. Simple, but i am almost killing myself. And i give up of Google.

    Please, help guys. There are no capx to show, just 3 lines stopping a animation.

    PS: Explanation again: on start of layout, red box born in any of two box.

    Detail, the game will have more then green boxes.

    Sorry english.

  • Hi guys, i have a big problem and i not found nothing here in the forum or in the Google to help me.

    So, lets go.

    Look the problem:

    I have the initial distance (Example):

    Latitude: -22.5457785

    Longitude: -44.5447771

    The final distance:

    Latitude: -22.548887

    Longitude: -44.55080

    I did this script:

    But im not getting the 100% correct distance. The diference is between 8-11%.

    How can i fix this? Somebody knows a better way to calculate distance using latitude and longitude? Its very important to my project.

    Or if somebody know a good plugin that i can work inside them. The Google maps is cool, but dont allow this.

    PS: The GPS latitude and longitude are receiving info from Geolocation of construct.

    Thanks all and sorry the bad english.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Made this little capx as an example for you, just check how it works. It is pretty simple

    Thanks bro. Its help me too.

  • Have you checked all your collision polygons?

    Are they the same for each animationframe?

    Hi Little Stain, are you talking about the collision polygons of the floor or the players?

    Please, look the images:

    The players pollygons are the same for all animation:

    The floor pollygon:

    That´s the code if needed, but i think its not important for this problem:

  • Hey guys, how do i fix this problem with floor? The player fall inside the floo, lol.

    Look the images:

    Sorry my poor english and thanks.

  • 5 posts