dop2000's Recent Forum Activity

  • Then yes, collision probably happens between the frames.

    I would pin another invisible box to the player ("PlayerFallingBox"), the same width as PlayerBox, but 3 times higher.

    And use it to detect collisions with enemies when the player is falling.

  • It's because the building sprite is still behind the black "light" layer.

    You need to make another layer between the "light" and "layer 0" and move the building to it.

  • I'm guessing your sprites (small boxes and walls) have origin image points not in their center.

    When you wrap them and flip, each sprite is rotated 180 degrees around its origin point and this mess happens.

  • Did you do this?

  • I checked your capx, it works fine. Health is subtracted correctly from either Player or Pursuit.

    You can preview in Debug Mode and check for yourself.

  • MMGames

    You decide:

    C3 editor has lots of new features and tools, but there is almost nothing new that you can add to the final game. So no, you can't make a better game in C3, comparing to C2.

    C3 can export for mobile, but as I understand, it only works for selected platforms.

    C3 is still a fairly young software and there are lots of bugs and problems with it.

    Many popular C2 plugins have not been ported to C3 yet.

    C2 will not be getting any new feature updates, only bug fixes.

  • Create a separate layer ("Layer 0" on my screenshot), set "Force own textures=Yes", "transparent=Yes"

    Place a black sprite on top of the building on this layer.

    Place a small Light sprite with "destination out" blend mode on this layer, above the black sprite.

    You can pin this Light sprite to player - it will look like the player is carrying a candle.

  • Keyboard On Space pressed -> Player start animation "Attack"
    
    Enemy On collision with Player
        Player animation "Attack" is playing  -> Enemy subtract 1 from Health
        Else                                  -> Player subtract 1 from Health
    [/code:2577gggo]
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It would help if you could share your project file or a screenshot of your event sheet.

    If collision is not registered, objects must be moving very fast and be quite small.

    Say, if two sprites 100px wide are moving towards each other, their combined speed should be 3000-6000px/sec or more.

    You can make a simple event to check that the collision is indeed not registered:

    Sprite1 on collision with Sprite2 -> Browser log "collision"

    If this is really the case, try increasing their size by pinning a bigger collision box (invisible sprite) to them. You can only use it to detect collisions while objects are in the air and moving very fast.

  • The only way I know is to turn "Snap to grid" on, select all sprites, wrap selection. And then flip by resizing, making sure that the final width of the wrapped area is the same.

  • Change the order in the last condition:

    Sprite6 a=Sprite.a

  • You can post your questions here, or if it's a big one - open a new post.

    I would also suggest you study some tutorials <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    https://www.scirra.com/tutorials/all

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 271 followers

Connect with dop2000

Trophy Case

  • 9-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

29/44
How to earn trophies