henriquesv's Recent Forum Activity

  • Hello!

    I have just added collision behavior on my objects. I am using mouse to drag-and-drop them around the screen. I have also created transparent/invisible objects that are supposed to be immovable and block the other objects.

    This block object really blocks them... but while dragging the objects the system let me to overlap this "wall" and only moves the object to an available place if I release the mouse button.

    I can't allow the player to drag this objects over the walls.

    Any ideas?

    Thanks!

  • Thanks caiorosisca! =)

  • Ok.. I will answer myself the question. It happens that I bumped into the Global setting looking for something else =)

    So, the Global Setting for Physics that the manual talks about is underneath Events Sheets. For this, you just have to create a new Event (System -> On Start of Layout) and the Object's action!

  • Hello!

    I read that I can change Physics actions on Global Settings (). I would like to change "world gravity" because I need the overall physics beaviours... but I cannot have the gravity pulling the objects down.

    Any ideas?

    Thanks!

  • Hi!

    I have an object which has to have left/right movements. I cannot use 8-direction behavior because I won't use keyboard.

    So I tried CustomMovement. The thing here is that I don't want to work with acceleration. The object physics inertia is killing me. I just want to set the object's constant speed.

    Here's where I am:

    Events sheet:

    • System (On tart of layout): Object -> Set CustomMovement Overall speed to 1
    • System (Every tick): Object -> Accelerate CustomMovement 100 toward (Object.X + touch.Beta, Object.Y)

    Whenever acceleration goes left or right or even mouse movement (if it is before or after the object) I want the object to move left or right in constant speed.

    Any ideas?

    Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Great guys! Thanks!

  • I have just tested with iOS (Ejecta). Is is working just fine!

    While in Landscape I use Beta to tilt from left / right.

    =)

  • Thanks! Did you have any opportunity to test with Android and iOS devices?

    I have worked with GameSalad and it seems to normalize the acceleration values to both Android and iOS devices.

    Once I worked with PhoneGab and the reference values were different from Android and iOS. For instance: Android would use value from -0.1 to +0.1 and iOS -100 to 100.

  • Hello!

    I'm already moving an object with keyboard and mouse buttons.

    I would like to make the game algo available to Android and iOS. But I need to use accelerometer to move forward and backward.

    Is there any good example to do this? I couldn't find it.

    Is there any difference on configuration or how to deal with accelerometer input between Android and iOS?

    Thank you!

henriquesv's avatar

henriquesv

Member since 26 Mar, 2014

None one is following henriquesv yet!

Connect with henriquesv

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies