dop2000's Recent Forum Activity

  • https://www.dropbox.com/s/c1eixd9c58aib ... .capx?dl=0

    Among other things I increased LOS range, otherwise enemy never has LOS to Jeff. Now it's chasing Jeff straight away.

    Angle 0 in Construct2 is at the right, so all sprites should be facing right, that's why I turned your EnemyAI image.

    Also you are using tiled background wrong. You should not have hundreds of instances of tiled background! Just put one instance on the layout and resize it.

    If you want different tiles with different grass, use TileMap object instead. But again, you need only 1 instance of tilemap with 300 tiles, not 300 instances with 1 tile each <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • When Shift is down, you can't use LastKeyCode as it is, you need to modify its value.

    Here is a small demo I made, hope you find it useful:

    https://www.dropbox.com/s/ao7tk4n9lre3h ... .capx?dl=0

  • ...and now your link is invalid (shortened).

    Try posting it without the "https://" part

  • I meant your capx file, not the preview..

    Could you at least post a screenshot of your event sheet?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Could you share your capx file?

  • Did you upload windows shortcut file - DeadByRicki.lnk?

    Please save you project as a single file in C2 and upload the capx file.

  • If you think that conditions are overlapping, try adding "else":

    EnemyAI X < Player.X = EnemyAI set dir to 0 Moving right

    Else

    EnemyAI X > Player.X = EnemyAI set dir to 180 Moving left

    Else

    EnemyAI Y < Player.Y = EnemyAI set dir to 90 Moving down

    Else

    EnemyAI Y > Player.Y = EnemyAI set dir to 270 Moving up

    If this doesn't help, could you share your capx?

  • set Text to "@"

  • If by "first" you mean first created, then you can do System->Pick Nth instance event.

    Or you can access instance properties without picking it, by using the expression Sprite(n), where "n" is the instance number (IID).

    For example: Sprite(0).X

  • Zebbi I don't like the idea of using pathfinding. With pathfinding the sword will eventually get stuck somewhere.

    If this was my game, I would probably do this:

    Launch the sword using Bullet behavior with deceleration and maybe small gravity. While flying forward, it bounces off walls and other obstacles, kills enemies. When it's flying back, it flies through obstacles. You can set its opacity to 50 or add some other visual effect to make it look like a "ghost" sword on the way back

  • mekonbekon That too, probably. But if you set values >100 to all three parameters, the sprite should become white, not black.

    So the problem is that the function can't access an instance that has just been created.

  • Try adding "Wait 0" between "Create object fx_echo" and "Function call"

    You need to wait 1 tick for object to be created.

    Another (better) solution would be to pass fx_echo.UID to the function as a parameter.

    Inside the function use "fx_echo Pick by Unique ID"

    This will allow to pick a newly created instance of the fx_echo object before it actually added to the layout.

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 280 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