SquareMation's Forum Posts

  • I cant figure out how to pic UID in Construct 3 so I can stop killing all enemies at the same time.

  • Found this video that explains how to solve the problem.

    https://www.youtube.com/watch?v=1QVDkkRziPE&t=490s

  • Does anyone know how or an example of how to hvae an enemy melee attack a player and the player bounce off and take damage in a Topdown game?

  • Trying to play background music and it will not play. The file type is correct I am not sure what the problems is. Anyone have a suggestion or am I missing something

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Your event runs on every tick, which means 60 times per second or even faster. The easiest solution is to add another condition like "Every 0.5 second" to it.

    Also, instead of destroying and spawning the arrow all the time, simply move it to the next option.

    Works perfectly thank you!

  • I am trying to have a layout with 3 options to select. Using a gamepad for the game. Everything I try continuously loops and breaks. Any help much appreciated.

  • If I had more detail on what exactly you're trying to achieve I may help finding a work around.

    NW, I got this resolved, I simply started project over. It works exactly as you described

  • brunopalermo you seem to be right. I can only assume this has to do with using families *sigh*

    families and functions killin' me

  • >

    > If you want your turret to be able to turn independent of the base, you must pin it position only.

    >

    Pretty sure this does not work, i have tried.

    BUT i will try to make small project with just this when i get home to rule out something else in project is not affecting it.

  • I want an enemy tank with a turret that targets player objects.

    What I can't get is the turret to turn

    'base' of turret is container

    base on created --> turret1 pin to base (pos & angl)[/code:3a6fxekb]
    
    *base has bullet behavior and it's path set
    
    *turret1 has bullet, turret behavior (enabled)
    
    [code:3a6fxekb]turret1 on created --> turret1 add turret target player[/code:3a6fxekb]
    
    It will shoot at player but turret does not spin
  • OK I was looking at the wrong project, the family .capx in other post was just what I needed to get going. Now I'm going breakdown so I fully understand each part.

    This has had me stumped for 8 hours (im slow i guess )

    Thanks!!!!

  • I am not sure how to pick the specific member, that's the part I am very confused on.

    I tried to to set in 'on create' but it stays global for all

    example:

    enemy1 on create ---> set Family Variable HP to 5

    as soon as any enemy1 loses 5 HP they all blow up

    I know I have to solve this before I go any further, to have enemy1, enemy2, ect to have all different HP.

    Or is this something Families can't do, and I will have to set up Hit Points and collision events for each enemy type?

  • I think I asked this wrong in beginners,

    How do I a set a family variable to different values for some members?

  • What I am trying to do is control Hit Points in the Enemy Family.

    I am not sure how this is done.

    How can I set Hit Point for 'enemy A' to X and 'enemy B' to Y.

    How can I subtract Hit Points from specific 'enemy'?

    I looked at functions, but all the examples have me thoroughly confused, and I can't figure how to set up even a simple function.

    Family 'bullet' on collision w/ Family 'enemy' --> Family 'enemy' Hit Points -1

    *but this does -1 to all enemies not specific enemy

    Also can't figure out how to set HP for different enemy types.

    HELP!

    EDIT: Codah example is perfect!