LittleStain's Recent Forum Activity

  • Are you guys just bumping up your post stats?

    Like I'd need that..

    I honestly want to help this person, but without knowing what the problem is, it gets hard..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • > Well I gave this answer, because it's a way that works..

    >

    > If you want a specific explanation for your specific situation, it would probably be much easier if we knew what your specific situation is..

    >

    > Could you provide an example?

    >

    alI i want all enemy's to collide with each other without destroying each other because they are all chasing the player.

    All I want to know is how your events/behaviours are set up so I can answer your question..

  • Well I gave this answer, because it's a way that works..

    If you want a specific explanation for your specific situation, it would probably be much easier if we knew what your specific situation is..

    Could you provide an example?

  • > so something like

    >

    > sprite is overlapping sprite

    > > sprite destroy

    > > system create sprite at : x=random() y=random()

    >

    > would work?

    >

    I don't want to destroy them

    Why not?

    You are creating a new instance in the same event..

    So the number of instances stays the same..

  • Nevermind, here's the full capx I need to know how to check if its centered inside cursor sprite and how to turn it to 0 degree angle smoothly through physics angular velocity action or something with a 60 fps animation like so.

    https://filetea.me/t1sgZ5xhPMLTlyrzYc8rRb2Xw

    https://infotomb.com/tkk4p/50f5bebafc49 ... 74e0ff4ec9

    I have no idea what to do with the capx..

    Something like this?

  • When should the boss move?

    When should the sometimes be?

    What are the conditions for those actions?

  • Also, like stated above you are setting the width to 0*Spawn1.sizefactor

    By the way, Spawn 2 will probably not be set to the right size, because you are not referencing Spawn1 in the event, so the program has no idea which instance of spawn1 you mean..

  • grigrizljac I changed it to 100 and it still don't do anything...

    You don't have something stupid like a destroy outside layout behaviour attached, do you?

  • And without bound to layout even better..

    As you can see I use use the clamp() expression to limit the x and the y position of the object..

  • Well, you have this event:

    Enemy worm head is outside of layout

    set worm advise x - to enemy head x

    set worm advise y - to enemy head y

    So they are at the same spot..

    I always thought two things in the same spot have a distance of 0

    So the text is completely right..

    This should work a lot better

  • Maybe you could explain in a better way what you would like, for I don't understand the question..

    Would it be possible to share a capx, maybe?

    Or you might consider drawing an example..

  • I guess I would do it something like this:

    Give the Sprite a variable Direction

    System pick sprite by comparison Abs(sprite.x-player.x) > 100

    -- Sprite.x < player.x

    Sprite set direction : "Right"

    -- Else

    Sprite set direction : "Left"

    Sprite compare variable direction = "Left"

    Sprite simulate platform pressing left

    Sprite compare variable direction = "Right"

    Sprite simulate platform pressing right

LittleStain's avatar

LittleStain

Member since 26 Apr, 2011

Twitter
LittleStain has 4 followers

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies