spacedoubt's Forum Posts

  • Feedback: You changed the sprites and added a start button...

    Keep going!!!

  • Set angle toward (mouse.x("Layer 0"), mouse.y("Layer 0"))

    Read toward the bottom of this manual entry if you'd like to know why:

    https://www.scirra.com/manual/114/mouse

  • I really don't know the answer, but would maybe having an invisible sprite already on the other layer work?

  • Pretty cool!!

    (PS your avatar reminds me of maniac mansion.)

  • Draw some jagged lines, add a glow effect.

  • use a variable. Have it count up every time an enemy is spawned. when it hits 25 stop spawning.

    when it hits 25 and they're all dead, end the level.

    Will that work for ya?

  • Of course! Think about anything that is published..

    When a band releases a new album, don't they make a huge deal about it first, with teasers and such?

    When a new movie's coming out... etc.. etc..

    No one knows if these things are any good before they come out (how could they?), so you have to convince them it's worth their time/money! Get them excited about something they can't even have yet, so when they can, they'll be sure and get it.

  • You're regenerating the obstacle map before you change the solid state. So it takes it till the second time to register. However, it seems like doing this too fast makes both button click events happen at once. So what I did was added another short wait and ordered those actions like this:

    wait 0.1

    set solid enabled/disabled

    regenerate obstacle map

    (guess you need another wait here to let regeneration finish)

    then find path

    Let me know if that works for ya.

  • Unless it's needed for something I'm not seeing, try lowering the Players deceleration.. something close to 12500 should get you what you're looking for.

    when the player falls off, it no longer simulates pressing right, so he decelerates..

    EDIT: Maybe not exactly.. But something along those lines, heh.. might have to experiment and change some of the other values till you get the right combination..

  • You have to regenerate the obstacle map...

    https://www.scirra.com/manual/154/pathfinding

  • From:

    Do not use third party plugins in your .capx file. This is necessary to prove the problem is not caused by another developer's code, which Scirra can't support.

  • JJEvil

    Nah, I did that a while back in Toon Boom animation studio. Music was done in Reason. and Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don't know if this matters to you or not, but I noticed once that the L parameter in the Adjust HSL goes from 50 to 150 instead of 0 to 100 like the others..

  • and yeah, as codah said, you added the pathfinding behavior, but you haven't used it...

  • you have it set

    if enemy has line of site

    then chase player

    which means, when enemy loses line of site, that's no longer true.

    you need to set a state. try making a variable

    if enemy has line of site

    then set variable to 1

    if variable is 1, chase player.

    this way, when the enemy loses line of sight, the variable can still be 1 and he will keep chasing.