ForsakenBA's Recent Forum Activity

  • Hello, I've been trying to use geolocation to generate a real map within a game, but something is wrong.

    For the time being I didn't create anything, I just took the available template and tried to use it. When I'm testing with the remote preview and my phone the geolocation works normally. But if I compile a debug apk and install the app on my phone, it shows Illegal Access, and it doesn't load the location.

    I encountered the same problem, but not in the construct on that site, but the solution to the problem is to remove the plugin and install it again. I tried this in the construct, deleted the plugin, and recreated the commands, but it didn't work.

    my phone is a Redmi Note 8 Pro, but I also tested it on a Redmi A3 and the same thing happened.

    Does anyone know how to solve?

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank you very much, I was able to open Google Maps, but I was unable to enter the parameters to load the location. I tried to use the same ones in the template but it didn't work.

  • Hello,

    I am creating a project that uses geolocation, and following the website template I can get my location. Is there a way to put a mini map inside my game that shows this location?

    Tagged:

  • Could you be more specific about how it didn't work as you would like?

    Sure, let me try to explain better....

    at that moment, all I want is to move a disc (buck), as in a game of air hockey, but without the disc that is in the hand of the match. He would be invisible in the case. I want to see only the buck on the screen.

    With the help of TheDom, I already managed to put the buck and the disk (which is still visible) already play it with the movement of my finger. But the buck is moving alone on the screen, and if I put the speed to 0 as suggested, the disc don't hit the buck.

    Forgive me for so dumb questions, but I'm learning to use the program, and I did not find examples of this in any tutorial or in the forum.

    I'll have more questions after that, but to start, if I could it already be the beginning of learning.

    Thanks

  • Thanks, but It did not work as I would like

  • set it's speed to 0

    It was so obvious! duh Thanks again.

    and only let the ball without the disc, you know how to do?

  • Create an object that will be the circle to hit the puck. Call it "Finger_Point" Give it solid behavior.

    use the touch object like so:

    Is in touch> Finger_Point> Set Position to Touch.X, Touch.Y.

    Give the puck Bullet behavior and set it to bounce off objects.

    If you want different speeds by hitting it, you'll have to use the physics behavior instead.

    I used these settings as you said, and it worked. But I wanted a circle "invisible", ie just wanted the ball visible on the screen, without the disc.

    Another question, when I add the bullet behavior to the object it moves alone when I start the project. How do I make it stop?

  • Thank You, TheDom, I will try now.

  • Hi, everybody!

    I'm studing how to build games with Construct 2, and I want to learn how I can move an object with a finger tap (mobile game), like Air Hockey, but only with the ball and nothing else,

    I want to slide my finger in the screen, and when my finger hits the ball, it moves.

    I know this will involve physical, because the faster I move your finger, the higher the speed of the ball. And when she hit the corners it should do angular motion.

    I don't have any capx with this example, because I don't know how to beginning.

    Please, help me! Thank you.

ForsakenBA's avatar

ForsakenBA

Member since 13 Apr, 2015

None one is following ForsakenBA yet!

Trophy Case

  • 9-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

11/44
How to earn trophies