ForsakenBA's Forum Posts

  • If you look at the Flappy Bird template, you will notice that the bird actually stands still. Who moves is the scenario on the X axis.

    I didn't understand your project very well, but there are several ways to do it. You can simply change the X axis to Y (Vertical), or use Behaviors, such as the Bullet with the movement angle to 270º (Up) for example.

  • Hello, yesterday I asked in another part of the forum how to read a camera connected by an OTG cable on Android, but I had no answer.

    Studying the subject a little more, I think this could be solved with some code in JS, but I don't know the language. Could anyone help me with this?

    Tagged:

  • First you draw your bar and position it on the screen (Obvious).

    Then, in Every Tick, you put the formula (TotalCornStored/TotalCorn)* max bar size (Height or width).

    It is recommended to use the lerp command to have a smoother transition.

  • Hello, me and a friend are trying to make a game, and one of the demands is not to use the phone's internal camera, but an external camera, connected by an OTG cable. I put in the User Media plugin but it only recognizes the internal cameras.

    Could someone help me to be able to read the OTG camera?

  • 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:

  • 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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.