dop2000's Recent Forum Activity

  • 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

  • It's hard to tell without knowing more about your game, there are lots of possibilities.

    From what I've seen, Bullet is probably not the best choice here.

    If the game is grid based, maybe instead of collision detection you should scan the Tilemap, look for the tile with Red arrow in the direction of movement. And then use MoveTo behavior to move to that destination tile. Or something like that.

    Or if you want to use Bullet, you can try "System Pick by Overlapping point" event instead "On collision".

  • Just add it to the same layer with that black rectangle.

  • You can define an image point a few pixels lower of the bottom edge on the character sprite. And then use "System -> Pick overlapping point" to check if this point is overlapping the floor.

  • You can make very small collision polygons on both sprites (blue and red arrows).

    Then collision will happen much closer to their center.

    On collision set Blue arrow position to Red arrow position, and only then change the angle of motion.

  • Objects are not rendered when off-screen. If they are not part of CPU-demanding events and don't have "heavy" behaviors (like Physics) enabled, then they should be using very little resources. You don't need to delete them.

    You can exclude off-screen objects from events using "Is on-screen" and "Is outside layout" conditions.

    • Post link icon

    mOOnpunk , Agree, lots of bugs.

    To add to your list:

    Tolerance slider of the Fill tool is useless (with some images). It changes from 0 to 500, however at 0 it fills nothing, and at 1 it fills almost everything.

    Animation speed can be set to negative values.

    Copying/pasting images with alpha doesn't work.

    Resizing with "Stretch" setting sometimes crops images.

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