Ashley's Recent Forum Activity

  • Actually, I found a way to fix it. You need to position and size the sprite in terms of the viewport, rather than the window size. You should get in the habit of always using the viewport expressions (ViewportLeft, ViewportTop, ViewportRight, ViewportBottom) rather than the window size expressions because the window size is kind of irrelevant when the display has been scaled.

    https://dl.dropbox.com/u/15217362/FixedCanvasSnapshot.capx

  • It doesn't work when scaling is enabled because although the sprite is the size of the window, because the display is scaled it is resized and no longer appears to be the size of the window.

    This is a little tricky to solve - you need to resize the sprite larger by the amount the layer has been scaled. TBH, canvas snapshotting wasn't really designed with this in mind.

  • See how to make a platform game. You need a rectangular collision mask for animations to work properly, usually handled by an invisible object behind the player.

  • This is a bug/limitation in our UI library. It would be difficult to change. For now workaround by opening the color picker dialog and choosing the RGB values.

  • This is by design. It is to help soften the edges of sprites, and ensure edges are blended the same way as transparency inside the image. See this image:

    <img src="http://www.scirra.com/images/crop1pxborder.png" border="0" />

    The left images are cropped with no border, and the right images are cropped with a 1px transparent border. The top image is a tiny 6x6 sprite scaled up large, and the bottom image is just an ordinary 32x32 sprite rotated slightly.

    Notice with no border two problems occur:

    • top image: transparency inside the image blends smoothly, but the edges are hard, which is inconsistent. With the 1px transparent border it is treated the same way over the whole image.
    • bottom image: edges appear 'hard'. With a 1px transparent border the image has 'soft' edges which looks better quality, because it allows the edges to linear blend to transparency.

    When cropping the origin, image points and collision poly are also offset by 1px so it should realistically have no impact on the behavior of the game.

    Does this really cause any practical difficulties? I think it's a nice tweak to ensure the best quality display of graphics, especially on rotated sprites.

  • You're asking for an event which says "Pick the instance of Bar whose Bar.PinnedUID expression matches the currently picked Foo UID". This is not easy to express in Construct 2's event system in a single condition. It goes against the typical way conditions work. To be honest I don't see anything wrong with the first or second examples. I guess containers would help here as well, they're still on our todo list.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • countofquad - your outline is correct, it will trigger 'on created' during the 'create object' action and the trigger finishes before it moves on to the next action. The 'On created' event does not affect the other event's SOL at all. Events in Construct 2 pick in isolation and it is not possible for one event to change another event's picked instances.

  • It looks like a problem in the WebGL renderer. I'll take a look on Monday.

  • Families pick their instances separately, by design. Picking any object within the family does not touch the family's picked instances, so it is still in 'all picked' mode. You probably want to use a 'CloudFamily: On created' trigger instead.

  • I guess their servers may occasionally have outages, especially since the service is new. I imagine it would typically always complete in under 10 minutes.

  • The top bar takes up some room, which changes the aspect ratio of the remaining area. If you're using a scale mode, this means the game scales down but gets a little wider, meaning some area outside the layout is shown. It's a well known problem - see supporting multiple screen sizes for more info.

  • We are a small team with a todo list still 50+ items long. It is really difficult to accept any new feature requests, especially cosmetic ones.

Ashley's avatar

Ashley

Online Now
Early Adopter

Member since 21 May, 2007
Last online 27 Oct, 2026

Twitter
Ashley has 1,833,651 followers

Connect with Ashley

Trophy Case

  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • Forum Mega Brain Made 20,000 posts in the forums
  • x126
    Coach One of your tutorials has over 1,000 readers
  • x74
    Educator One of your tutorials has over 10,000 readers
  • x6
    Teacher One of your tutorials has over 100,000 readers
  • Sensei One of your tutorials has over 1,000,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • x44
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

32/44
How to earn trophies

Blogs