henriquesv's Forum Posts

  • I need an object (wall)) that makes it impossible for another (player token) one to overlap it. At the same time, the Token cannot just stop its movements.. it has to slide.

    One more thing, when I have more than 1 token, while dragging them around, they are able to overlap each other, even with collision enabled!

  • Hello!

    I have 6 groups of random objects. I want to run an Event Sheet for each group on a Main Event Sheet.

    This Event Sheet generates an Array with random numbers.

    I tried it for the first one but afterwards the system won't let me include another "Include" of it.

    I think that including or "calling" this Event Sheet will make the Project much cleaner and simple.

    Is there any way?

    Thanks

  • Hi Naji! Thanks for the reply!

    Well... I tried that... but the object stops in all directions. I would like it to still be able to slide on the walls.

    For instance:

    The player has a wall above the object, still it is dragging it towards the wall but a little bit to its right.. so the object would I least move to the right. =)

    I would love to see it working with only behaviors. In a matter of fact it works... but Dragging let's the object to overlap the walls (even though it bounces it off later).

    Thanks!

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

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

    =)

  • Try Construct 3

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

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