GameThirsty's Recent Forum Activity

  • Update

    I did mess around with the physics a bit, I got something what I wanted working, still have to test on mobile

  • Ruskul

    I am not too sure if I should use physics though, as it is CPU intensive for mobile development, that is where I am not sure what to do.

    I am trying to allow the player to just press and hold the screen, the thrust increases while holding for a period of time, that already works using the bullet behavior.

    Then I want the player to be able to "steer" the rocket counter clockwise and clockwise, by using the mobile device orientation. Like tilting the phone left and right, and it would steer the rocket in both directions. Here is a little sketch in paint in what I am picturing in my head. It is a crude drawing, sorry.

  • Can you add a Touch event so when you Touch the screen again the rocket will Angle toward Touch.

    Sadly, no I cant. I would overall like to use the phones beta/ gamma orientation to move the rocket. I know touching can change the angle of motion, with the "set angle of motion - angle(Sprite.X,Sprite.Y,Touch.X,Touch.Y)"

  • Hello everyone!

    I been working on a little mini experiment, to try to emulate rocket physics using the bullet behavior, and by touching the screen, the sprite will move up and continue to accelerate, and if you stop touching the screen, the sprites speed will eventually slow, and go downward. You may touch the screen again to start thrust.

    All of this works, however what if I wanted to change the angle of which the projectile is traveling? I cannot figure out how to do this, ive tried setting the bullets angle of motion differently, that does not work, and rotating the sprites angle does not work, it will rotate the sprite, but the bullets motion doesn't compensate for the angle I adjusted the rocket. (it just travels in the same, straight bullet line) I am not sure if even the bullet behavior is enough to emulate the rocket, would physics work better?

    Screenshot of events:

    Any help please?

    I appreciate it!

  • I've been working on a new social app built entirely in Construct 2 and PHP. Here is a little idea of what is possible, I am no expert in app making either, but have some experience.

    https://www.facebook.com/video.php?v=1628442714048363&set=vb.1484562541769715&type=2&theater

  • QuaziGNRLnose

    I am beginning to dissect your fps controller example and start from scratch to understand the concept. I have my camera looking around with the mouse, and I am moving the camera in the 3d space with the WASD keys, however everything is working as planned, I still cannot grasp one concept, and that is the fps controller example acts like a spectator, how do you go about not letting the camera move up and down in height whenever you look up in 3d space and move forward the cameras height location changes?

    I think it has something to do with setting the players position on the Y axis, but not quite sure.

    Thank you!

  • IntelRobert

    I haven't been following this thread lately, but has the WebGL mode blacklist been disabled?

  • You will have to make a new instance of the object you wish for vertical objects. Every instance of object going vertical, you cannot change it for horizontal or all of them will. Make two separate sprites. You should probably read up on instance picking.

  • You have to set the angle of a bullet motion via event like in the example I gave you.

  • I do not think im sure what you mean, can you give me the .capx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Which ones? the ones that you set the angle to 0 or 90

  • Can this help you?

    You have the correct idea, I just want to incorporate it with the clamping function like my first example. I just don't know to use the drag and drop behavior with it.

GameThirsty's avatar

GameThirsty

Member since 29 Nov, 2012

None one is following GameThirsty yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies