Toby12's Forum Posts

  • I think there's an example of an angry birds clone somewhere on the forums :)

  • I've read the tutorial on this topic and multiple threads, but still find this area tricky.

    From what I gather it's best to create your game in 16.9 and use scale mode. What I'm still unclear about is how this deals with the issue of smart phones, tablets etc... They have a vast range of resolutions. Should I be creating a game in the highest possible resolution supported by mobile devices and make sure it's in a 16.9 aspect ratio? Or have I completely missed the point :P.

    Searching the forums though, it seems clear to me that the supporting multiple screen sizes is still a grey area. Maybe we can thrash this issue out once and for all and eventually sticky this?

    Thanks for reading :)

    Edit: Said I got a reply but there is no reply O.o

  • you checked this - scirra.com/forum/topic45416.html ?

    There's several examples of grid movement and I'm sure there's one where objects are essentially in the way :).

  • So to avoid scaling issues for different sizes we just make the background bigger and use the 16:9 ratio? Or have I misunderstood something :)

  • bump :)

  • Thanks, helped a lot :)

  • Could you share how you achieved this possibly, I'd be really interested in implementing this into something I'm working on :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I realise this has been asked countless times, but I'm still slightly unsure about this topic.

    After reading the tutorial on multiple screen sizes I got the impression to support the largest aspect ratio 16:9. Is this right (in relation to mobile devices, tablets etc) and does the resolution particularly matter in relation to this? I.e. should I design in a 16:9 ratio and the highest possible resolution supported by these platforms?

    Also, I was wondering the effect of a horizontal layout compared to a vertical layout when looking at aspect ratios, resolutions etc.

    I hope this post sort of makes sense and thanks for reading :)

  • What would be the implication of using a plugin or custom behaviour in your game, which someone has posted on these forums? Or say asking for help and subsequently using the method they have proposed?

  • Hi,

    Firstly I'd just like to say thanks for your reply :). I want to be able to interact with the "ball" in a way which allows me to drag it around the screen (whilst clicking and holding on it with the lmb) and then once released will fall and stop on the immovable object (the floor).

    The problem I have is, during the process of dragging, positioning the ball you can drag it through the immovable object. This is the interaction that I want remove.The result i'm looking for is that when dragging, when the "ball" hits the floor, it will only roll a long it etc (move left to right visa versa) but not below the floor.

    It's basically the achieve the placement of physical objects :).

    Is this of any more help?

    EDIT 1: One partial solution seems to apply physics force to the mouse x and y position. It means you can drag the object through the immovable one. However, it's not exactly smooth and the object rotates circularly around the pointer on the screen.

    EDIT 2: Did some more searching on the forum, found your thread on mechanics and such. Have a partial solution (from a capx your linked + I added in few physics events). Only issue is, I can't seem to get more than one object working at the same time without it going crazy. Here's a link -

    dropbox.com/s/6gnqvoxhuouacq5/First%20version.capx

  • I have two collision objects; one immovable (the floor as it were) and one movable (the ball).

    I've added a sort of drag and drop behavior to the ball using physics, the problem is that the ball will pass through the floor object. I was wondering if there was a way to stop this? I think it's something to do with the ball being set to the position of the lmb is down, but I'm not quite sure how to go about cancelling this when it hits the collision point of the floor.

    I've searched the forums for a solution, but have had no luck so far and tried various methods, i.e. destroying the ball on contact but it's not quite the result I'm after. Will continue to read the manual and try different things in the mean time :).

    Link below.

    Thanks for reading :)

    EDIT: Just as a little side note, I added the link in the reply not to bump my post but I couldn't see the edit button initially ^^