Laurent's Forum Posts

  • Hey Stepteven,

    Thanks a lot, this is amazing how it works !

    I just have a problem : I have drag/drop objects on the layout and when I touch and move them, the layout is panning as well. Is the a way to prevent that ?

    Thanks again !!

  • Woaw, It's absolutely amazing. Thank you Naelian.

    But a few questions :

    • is there a way to suppress the white margin that appears left and right of the background image at the en d of panning ?
    • is there a way to make pan stop when an object on the scene is dragged ?

    Thanks again !

    Laurent

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for this suggestion but I really would love to avoid using this transparents objet. Because, as specified, it intercepts actions on active objects that it overlaps.

    Would it be possible to use another approach with, for exemple, recording the absolute position of a click/touch spot on the screen and transmiting its movement to the layout ?

  • Well, both would be nice. The first one to navigate on a huge layout, the second as a transition to another layout.

    Naelin, thanks for your solution. I thought about it but there's a problem : the big invisible square intercepts the touch command applied to active objects on the layout.

  • That would be great, Septeven. I tried to but didnt manage to deal with the variables.

  • That's it !

    Thanks for your help. It will be much appreciated.

  • Lovely ! But how do I turn it to work on touch device ?

  • Dear all,

    I'm working on a game using a layout larger than the playing window. I'd like to be able to scroll the layout left/right with a finger through a touch command.

    Programming logic a a little beyond my comprehension so I'd need your help for that.

    Kind regards

    Laurent

  • Oh, and please, would it be possible to have an iBookks Author widget export ?

    Thanks for your work, Construct 2 is fantastic !!!

  • Really, I'd love to be able to export in ios native app.

  • Thanks, Keepee. And how do I get the inclination from the device sensors ?

  • Oh, Thanks Kyatric. But that's why I was longing for a great all-in-one behavior, because I'm really not used to maths and I don't know how to grab information from the tablet gyroscope.

  • Hey there,

    In the physics behavior, gravity direction points to the bottom of the page. Would it be possible to update this behavior and ad a function allowing the gravity direction and stength to change according device inclination ?

    I'm sure that's a behavior many people would love to have.

    L

  • Hum, thanks.

    Any exemple ? I must admit I'm a bit stuck.

  • For an application on a mobile device, I'll need to implement such a fonction.

    In the page, there would be a tree and when an action is performed, apples will fall. But I don't want them to fall to the bottom of the screen but to the real ground and that, wathever the rotation angle of the device.

    Any hint on how to do that ?