dop2000's Recent Forum Activity

  • Set "Set angle=No" in Bullet properties.

  • Your event #4 is triggered on every tick. You can't use "Trigger once" here because you are dealing with multiple instances of pedestrians.

    So you need to add another condition "Animation Dead is not playing", or change your event like this:

    Pedestrians HP=0
    ...Pedestrians set HP=-999
    ...Pedestrians set Animation to "Dead"
    ...Pedestrians set bullet speed to 0
    ...Pedestrians spawn BloodPool
    

    Alternatively, you can simply move all these actions to event #3.

  • Bison You can find MoveTo addon compatible with C3 runtime here:

    construct.net/en/forum/construct-3/plugin-sdk-10/construct-3-runtime-a-few-cons-137539

  • It's not recommended to mix Physics with other behaviors (Pin, Solid, Bullet etc.). You can have them in one game, but you need to be careful to make sure they are not in conflict with each other.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What behavior are you using for monsters movement? If it's 8-direction, then I don't recommend mixing it with Physics. Instead, use "8direction set vector X/Y" or "8direction simulate control" actions.

    For example:

    set variable a to angle(player.x, player.y, enemy.x, enemy.y)
    Enemy set vector x to (player.X+200*cos(a))
    Enemy set vector Y to (player.Y+200*sin(a))
    

    Or, you can add Bullet behavior to enemies. When you need to push enemies away from the player, set Bullet enabled, speed=200 and acceleration=-200 (note, it's a negative value), set bullet angle of motion to angle(player.x, player.y, enemy.x, enemy.y)

  • You can easily do this with Bullet behavior (no Physics). Set "bounce off solids" on the ball and make walls solid.

    If you want to do this with Physics, use "Physics enable/disable collision" action.

  • Another option is to load all strings into an array. Pick a random string (array X index), then delete it from the array.

  • Music does not stop when you switch layouts, so it's no need to resume it. The problem is with the "setVolume" function or the slider. The function doesn't work correctly and music volume is set to silent.

    You need to set variable4 before calling the function on start of the layout. Otherwise you divide by 0 and nothing good can come from it.

  • I assume your question is about Construct 3? This is Construct 2 forum.

  • You can do this:

    On every tick, set position to
    X: round((Mouse.X("Game")-128)/Global_GridX)*Global_GridX
    Y: round((Mouse.Y("Game")-128)/Global_GridY)*Global_GridY
    

    Simply unlock the Background layer and delete the extra instance of highlight sprite from it.

    Also, create an unused layout "Assets" and move there all instances of objects which you spawn in runtime. Keeping them off-screen on your main game layout may cause different issues in the future.

  • I don't really understand the problem. It looks fine to me.

    There is one thing I would fix - change event 20 from "DragDrop is enabled" to "DragDrop is dragging". Also, you have two instances of highlight sprite, one on Game layer and one on Background.

  • You can change velocity with events too. For example, if overall speed is N times greater than maximum speed, set velocity X component to Self.Physics.VelocityX/N, and Y component to Self.Physics.VelocityY/N

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