dop2000's Forum Posts

  • If you want to make a "fake" hole (only change the image), you can use blend modes. In Construct 2 select File-New and search for Blend Modes example.

    If you need to change collision mask of the wall, you will have to do this with tiled background, see this post:

    construct.net/en/forum/construct-2/how-do-i-18/simple-scorched-earth-worms-ga-129595

  • Mouse on Object clicked
    Mouse cursor is NOT over BlackBlock
    

    Same with Touch:

    Touch on Object touched
    Touch is NOT touching BlackBlock
    

    Or if the black area is always at the bottom of the screen, you can simply compare Mouse.Y or Touch.Y

  • Use Particles object.

    Set angle = 270

    X randomizer = screen width

    Y randomizer = screen height

    Set Gravity

    Change other parameters to your liking.

  • This may be caused by wrong collision polygons or misplaced origin image points. If this doesn't help, please post your project file.

  • You can create 3 instance variables: redHearts, maxRedHearts, soulHearts

    On red heart pick up, set redHearts to min(redHearts+1, maxRedHearts)

    On soul heart pick up, add 1 to soulHearts.

    .

    When character is hit:

    If soulHearts>0, subtract 1 from soulHearts.

    If soulHearts=0, check if redHearts>0, subtract 1 from redHearts.

    If both redHearts and soulHearts are zero, character dies.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If I understand your question correctly, you can try Browser.QueryParam expression. After the submission you generate and send the user a link like this:

    www.mywebsite.com/game.html?c2id=2382392
    

    Then in your first layout you check if Browser.QueryParam("c2id") contains any value. If it does, you request data with c2id=2382392 from Google Spreadsheets and open another layout with the form where user can review and re-submit it.

  • Save the score in a global variable. Switch to another layout, show the value of that variable.

    This is a super basic question. You should probably start with tutorials:

    construct.net/en/tutorials

  • Yes, Bullet is not a good choice here, either use Tile Movement or Pathfinding behaviours.

  • In C2 this can easily be done with Paster plugin - on every tick paste game layer(s) on it, then resize. Don't think this is possible with DrawingCanvas.

    To make 8direction move slower at Y axis - create an instance variable oldY, on every tick set Player Y to lerp(Self.oldY, Self.Y, 0.5), then set oldY to Player.Y . This is not recursive and will decrease vertical speed by 50%.

  • You can use CB Hash or similar plugin to digitally "sign" your save data. Save it together with the hash, on load check if the hash is correct.

    This will make the simple editing of the save file impossible, but won't protect from a more experienced hacker.

  • Try to change the first condition to "On object Enemy clicked", and remove "Cursor over enemy". If this doesn't help, please post your capx.

  • It works fine if you set Diagonals:enabled in pathfinding properties. But of course, following the NPC with a camera at 50x speed is not a good idea.

  • You need to post a screenshot, otherwise how can I know what are you doing wrong?

  • You do not have permission to view this post