shirokuma's Recent Forum Activity

  • Can you explain a little more? Are you talking about the Scroll To behavior?

  • You could use distance:

    distance(x1, y1, x2, y2) Calculate distance between to points

    From this manual page:

    https://www.scirra.com/manual/126/system-expressions

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don't think I used anything in it that requires the licensed version of C2.

  • See if this gets you started. Use the right arrow and left arrow to move, and the up arrow to enter doors or buy something.

  • Sorry, I guess that one hurt my brain too much. I uploaded the wrong file. Here is the correct one.

  • Glad you found it!

    FYI: I take Fish-n-Chips tips!

  • Click on the View tab, then place a checkmark in the Properties Bar item.

  • Is there another On start of layout in your Level_1_Events event sheet where you might be setting karakter's position? Can you put the project up on dropbox or google drive and private message me a link? I can take a closer look at it.

  • You still can. Which led me to this:

    [quote:1trzanri]layer.viewLeft

    layer.viewRight

    layer.viewTop

    layer.viewBottom

    Defines the rectangle of the currently visible viewport. This may be larger or smaller than the canvas size if the scale is not 1.0.

    You don't have a scale set to below 1.0 do you?

  • It seems like the gaps should appear on both sides. I recall reading something about settings that cause the layout to be drawn from the upper left, but of course I can't find it now.

    I was re-reading through this tutorial and it sure sounds like it's an issue of aspect ratio: (Other than the gap is on one side.)

    https://www.scirra.com/tutorials/73/sup ... reen-sizes

    [quote:143056tt]This is the same problem faced by TV producers. There are many TVs out there using aspect ratios of 4:3, 16:9 and 16:10. If a producer films a TV show only in 4:3, on a 16:9 TV there will be gaps at the sides, or possibly even unintended off-set equipment and crew visible! Similarly, if you draw a background exactly fitting one display, then run it with Scale outer mode on another display with a slightly different aspect ratio, gaps will appear at the side or content outside the layout becomes visible. This can even happen if you simply don't take in to account the space taken up by the status bar on devices like the iPhone.

    There are two ways to solve this problem:

    1) Use Scale outer mode, and draw your backgrounds wider (or taller, depending on orientation) than the window size, past the normally viewable edges, to ensure no gaps ever appear regardless of the device aspect ratio.

    2) Use Scale inner mode, and make sure nothing important is close to the edges, since the edges are susceptible to being cut off on different size displays.

    You might try the solutions offered just to see if it changes anything.

  • Ouch... This one hurt my brain! But it was fun to get it figure out. In the Set scroll to Y line you can adjust the final 0.05 to change the scroll to speed.

  • Do you know what the aspect ratio of your mobile device is? If it's a 16:10 and your project gets scaled to match the height it looks like there would be a gap similar to what you mentioned.

shirokuma's avatar

shirokuma

Member since 8 Mar, 2014

None one is following shirokuma yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies