snugsound's Forum Posts

  • 5 posts
  • Thanks for clarifying

  • Can you elaborate? From my perspective there should be nothing below the bottom "margin" area. Why is it wrapping? Only the "tiled" area (the middle 16, in the zoomed-in image above) should be wrapping, unless I'm misunderstanding the intended behaviour of the 9-patch?

    Adding a row of transparent pixels is fine for scenery, but for objects with the "Solid" behaviour it then results in a gap for floor collisions, since there are no collisions masks for 9-patches.

  • Link to .capx file (required!):

    snugsound.com/dev/c2-9-patch-wrapping/9-patch-wrapping.capx

    Steps to reproduce:

    1. Create a 9-patch object using attached image (Source-image.png); set all margins to 16, "Edges" and "Fill" to "Tile" and "Seams" to "Exact"

    2. Add a few instances to a new layout

    3. Run the project

    Source image:

    <img src="http://snugsound.com/dev/c2-9-patch-wrapping/Source-image.PNG" border="0" />

    Source image (to show 16px grid, and transparency):

    <img src="http://snugsound.com/dev/c2-9-patch-wrapping/Source-image-with-16px-grid.PNG" border="0" />

    Observed result:

    Some blocks have visible seams

    <img src="http://snugsound.com/dev/c2-9-patch-wrapping/9-patch-wrapping.PNG" border="0" />

    Expected result:

    No seams should be visible since "Exact" was specified

    Browsers affected:

    Chrome: yes

    Firefox: yes

    Internet Explorer: N/A (not targeting IE)

    Operating system & service pack:

    Windows 7 SP1 32-bit

    Construct 2 version:

    C2 R132 32-bit

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Kyatric, I didn't see a tut for this so I just put one together, if you'd like to add it to your how-to list:

    scirra.com/tutorials/601/platform-style-crushing-blocks

    Thanks :)

  • Link to .capx file (required!):

    It occurs with any of the included demo projects

    Steps to reproduce:

    1. Open a new tab (i.e. layer, event sheet)

    2. Press CTRL+F4

    Observed result:

    The tab closes AND the project is previewed

    Expected result:

    The tab should close. The project should not be previewed unless F4 is pressed without holding the CTRL modifier.

    Browsers affected:

    N/A

    Operating system & service pack:

    Windows 7 SP1 32-bit

    Construct 2 version:

    C2 R132 32-bit

  • 5 posts