dop2000's Recent Forum Activity

  • You can also check how it's done in the Kiwi Story template. There are two sprites - an invisible Player_Base with simple collision mask and Platform behavior, and Player_Mask with all animations.

  • Are you using the Desktop App? Try updating everything from links in this post:

    construct.net/en/forum/construct-3/general-discussion-7/construct-nw-js-desktop-app-131317

  • dropbox.com/s/18be3s3vp9g8vc6/GMTK%20Game%20Jam%202021-fixed.capx

    C2 has so many quirks - with Pin, OR-blocks.. This would be much easier to make in C3 using hierarchy.

  • I use a simple trick - put some character where you want to insert a line break, then replace it with newline in runtime.

    For example: Hello there,^general Kenobi!

    Set text to replace(array.at(index), "^", newline)

  • You do not have permission to view this post

  • You can make the collision polygons 1px smaller. To pin a neighboring sprite you'll have to again check for "overlapping on offset" instead of using "on collision".

    So when the player arrived to a new position, check if it's overlapping at a small offset (say 2 pixels) any new pieces in four direction. If it does, pin these pieces to the player.

    Answering your second question - you can put small invisible sprites in the center of each cell in the target area. When all these sprites are overlapping the player will mean that the level is completed.

  • You do not have permission to view this post

  • I can think of two options -

    1. Use "Overlapping at offset" to check if it's safe to move in the selected direction on the grid. You have to repeat this check for the main Player sprite and for all connected parts.

    2. Completely different approach - use a tilemap object as a Player. So each time you need to add a new piece to the player, instead of pinning it, add it as tiles to the tilemap. Tilemap is the only object in Construct which allows to modify its collision mask.

  • Here is an example:

    .

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

  • You do not have permission to view this post

  • Physics ragdoll must be made with phyiscs joints. You can't use Pin or hierarchy to connect body parts to each other.

    Hierarchy may be used only to spawn the ragdoll. Here is how you do it:

    1. Disable Physics by default for all body parts.
    2. Disable all "Transform X/Y/Width/Height" checkboxes in hierarchy properties for all body parts.
    3. Spawn the parent object, for example Body. All other body parts will also be automatically created.
    4. After "Wait 0" enable Physics for all spawned instances, pick children of this Body and create physics joints to them.

    Here is an example from my game

    (I don't need to pick children, because there is only one ragdoll on the layout at all times)

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 279 followers

Connect with dop2000

Trophy Case

  • 10-Year Club
  • Entrepreneur Sold something in the asset store
  • 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
  • x5
    Popular Game One of your games has over 1,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • x3
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x14
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

30/44
How to earn trophies