marcel1980's Forum Posts

  • Families are great for grouping objects to simplify code, however they do create some issues when trying to pick particular objects and referencing instance variables etc.

    https://www.scirra.com/tutorials/556/understanding-picking-with-respect-to-families

    But, used properly you can use them to optimize your code quite a bit. Basically they group objects so you can do things like hit check against all objects in the family "monsters" versus checking against Troll, then Archer, then Grue, etc etc.

    Thanks for the info, what would you suggest when i want to multiply my enemies, what should i do first?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Greetings!

    im at the point where i created a "functional" enemy with his animations + death animation as a separate object spawned on his death.

    Now i want to add more enemies and looking for a process how to simplify all this. I heard of families but right now im not familiar with the basics. Is this the point where i need to create family for enemies?

  • Hi all!

    anyone knows how do i set up the time for one-time shot particle? It always goes off the first second once i run the game and its ignoring all my settings so far <img src="smileys/smiley5.gif" border="0" align="middle" />

  • thanks guys it works :)

  • Hi All,

    im solving the following problem - i want my hero to have a "charge" move, which is a fast movement forward in which he can destroy enemies. I play an one frame animation in this event. So far i couldn't make a soft transition from this move, to his previous state.

    If the player isnt moving and just press this action move, my hero don't know to which state he should return - if idle or moving. So right now i can only add walk after this event and it happens that the hero has his walk animation even if the player isnt moving :/.

    I should propably add some variables to movement and idle and then detect them? So far i can't figure out how to do that..

    thanks a lot!

  • yup that helped a lot! ):)

  • Hi guys,

    i want to make an action move if key is pressed. But i want to set a time during which the key doesn't respond to a repeated pressing. im not sure if its understandable - basicaly i want the action triggered by the button to last 1-2 seconds and in this time i dont want the button to respond when repeatedly pressed. Anyone got an idea?

    Thanks!

  • Plinkie i tried to add points to have the colision shape very closely to the actual sprite but the problem then is, when he jumps he get stuck sometimes in the middle of a platform:/. The platform collisions are box-like shaped so just 90degrer angles so this shouldnt cause him to hang:/

  • Hello everyone! Im having a bit trouble to adjust the collisions for my hero. If i make the collision box smaller, he happens to overlap the tiles from side. The opposite - when i make the box larger, he stands in air when going from a platform. The hero sprite has his legs thiner than his torso which causes these problems. Is there any way to overcome this without actually redraw him and lose his unique look? :/

  • What do you mean? Configuring the parameters of the particles, or the event that activates them? Can you explain what you need a little more?

    Lukedirago i mean the event that activates it. The parameters are easy to find out but i want to define the event, when the projectile hits an object.

  • Hello all <img src="smileys/smiley1.gif" border="0" align="middle" />

    anyone can help me how do i set up start of the particles? They are meant to be single shot. I want to start them when an object hits another...

    Thank you in advance!