SquareMation's Recent Forum Activity

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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Is there a way I can have a sprite check if another instance is in a certain position from/near it?

    (This is what I am trying to do, if that helps)

    I am trying to set a sprite so it create another or destroys itself depending on condition.

    You can see the 'A' with the yellow arrow, it can spawn another instance in any of the square around that are green. If more than 2 instances are in the areas in green the sprite is destroyed.

    This works fine with instance variables,EXCEPT it can only recognize a instance it has created.

    Below you can see if the sprite 'A' in the red area creates another instance in the area colored orange, will have no effect on the instance in green, sense it only recognizes instances it has created (the way it is so far).

    Is there a way I can have a instance sprite A check if a another instance of 'A' is at X,Y ?, or am I going about this wrong

  • Try this: scirra.com/forum/plugins-pode-html-pack_topic51522.html

    Works perfect, THNX!

    <img src="smileys/smiley10.gif" border="0" align="middle" /> <img src="smileys/smiley10.gif" border="0" align="middle" /> <img src="smileys/smiley10.gif" border="0" align="middle" /> <img src="smileys/smiley10.gif" border="0" align="middle" /> <img src="smileys/smiley10.gif" border="0" align="middle" /> ramones     <img src="smileys/smiley32.gif" border="0" align="middle" />

SquareMation's avatar

SquareMation

Member since 27 Jun, 2013

None one is following SquareMation yet!

Connect with SquareMation

Trophy Case

  • 11-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

13/44
How to earn trophies