LittleStain's Forum Posts

  • Let's see what the manual has to say about that:

    Engine:

    the remaining time spent in the Construct 2 engine, which is the overall estimated CPU with the events, physics and draw calls times subtracted away. This includes processing behaviors and other engine housekeeping.

  • Well if the conditions are right, that can be done..

    I don't know when you would want it to happen..

    Setting angle and position is easy.

    Making it smoother would consist of setting a (boolean) variable and while it is true rotate and move to instead of going instantaniously..

    Knowing when to set and unset this variable would be the hardest descision..

  • Shame, it would be nice to have such a feature, especially on a per event sheet basis.

    Global variables per event sheet?

    I don't get it..

    But like I said, removing unused variables will do (almost) nothing for performance, so it seems like an unimportant feature to me..

  • Not that I know of..

    It isn't nescessary for optimization, so only readability of your event sheets would improve..

    I guess the easiest way to find out, would be to put the variable name inside the eventsheet searchbox and see if they are referenced inside events/actions..

  • Would using frames or animations work for this?

    Just create the enemy sprite and pin it to the rectangle..

    On creation set either the animation or frame to choose()

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • my event sheet is a mess really ive messed up the ai and recreated it. maybe you could recreate with what ive told before. and you can see what I'm talking about, with them overlapping and ignoring the collision box

    There is really no reason for me to spend time on creating something that might not even resemble your situation.

    It's your question, so I suggest you create the example of your problem.

    That way we can both be sure we don't waste our time on useless things..

  • > You should have enough to post a link as text, and very soon (500 rep) you will have enough for normal links.

    >

    what if someone took my capx and ripped me off. what could you do as a mod

    If you are worried about your graphics :

    Replace them before uploading

    If you are worried about your events:

    Nobody is keeping you from uploading a downgraded version of your game, only containing the problem.

    That being said, I guess having a game that actually works would be much better than "protecting" a game that doesn't..

  • So something like:

    First add an imagepoint to the player where you want the weapon to be

    Give the weapon pin-behaviour

    Player on collision with weapon

    weapon set positon : player.imagepointX(1), player.imagepointY(1)

    weapon pin to player

  • Do you have animations of the player with the weapon, animations of the player picking something up, or do you just want to set the weapon to a point on the player and pin it?

  • 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..

  • > 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?