dop2000's Recent Forum Activity

  • See "Blend Modes" template in Construct 2. You might need to put both the mask sprite and the tilemap on a separate layer and set "Force own textures=yes"

  • Add Flash behavior. Player On collision with bullet -> Player Flash.

  • Make the BlockPerimeter sprite visible, it will help to understand how the code works. When Enemy is overlapping 3 instances of BlockPerimeter, this means a corner where it needs to turn right. When it doesn't overlap any BlockPerimeter sprites, it's a corner to turn left.

    It's a pretty specific demo, because all sprites need to be places with pixel precision. So it will probably not suit your game, but it may give you some ideas.

    • English

      Since blocks can't be rotated in your game, you can do this:

      in a loop try to place the block to each position on the board, performing the same check from "Checking" function. If the check is successful, stop the loop. If the loop has ended and a suitable position was not found, the game is over.

    • На русском

      Когда создана фигура, запускай цикл для каждой клетки на доске, в котором проверяй, помещается ли фигура в данную позицию. Можно использовать такую же проверку, как в функции "Checking". Если фигура помещается в свободные клетки, можно прекратить цикл. Если цикл прошел полностью, а фигура так никуда и не поместилась, то конец игры.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • No, that was a different problem. Sometimes you upload an image, it gets inserted with "IMG" tag, but it doesn't appear in the post, and you have to edit it and re-upload the image again. This is still happening from time to time.

    Today I can't upload any images at all. I select a file, press "Upload image" button and nothing happens.

    Tom, could you fix it please?

  • I made a demo for another post, take a look:

    dropbox.com/s/g61j043mgr1pkkn/SimpleStickingMob_dop2000_fixed.capx

    Another option is to make a path for each enemy - say, with small invisible sprites. Move the enemy from one sprite to another. You can define several instance variables on these sprites to control the movement, say to change direction, turn or pause.

  • Yeah, noticed the same issue. You need to create a post here:

    github.com/Scirra/Construct.net-website-bugs/issues

  • Yes, Rexrainbow has a great collection of addons for this! You can load csv data into an array, or work with it directly.

    construct.net/en/forum/extending-construct-2/addons-29/plugin-csv-csv2array-csv2dicti-41868

  • gabmusic Great example from mekonbekon, but may be a bit overcomplicated for your job. If you have a small number of fish and fixed odds, you can hard-code them and simply do this:

    Set r=random(100)
    
    if r<=22 Spawn FishA
    else if r<=31.5 Spawn FishB
    else if r<=39.5 Spawn FishC
    ....
    
  • Yeah, Pin is lagging a little and is not suited for fast moving objects. You need to set position on every tick, it shouldn't be much different in terms of performance.

  • Well, it depends on the complexity of the game. If it's a simple motion (like Bullet or 8Direction), instead of the clone sprite you can use a couple of variables relX and relY. Then set the main sprite to table.X+relX, table.Y+relY

    If you need Platform behavior or something like that, then I think the invisible clone is the best option..

  • One method is to use another (invisible) clone sprite, see this example:

    dropbox.com/s/4ng5prk12wcrrqk/ManOnABoat.capx

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