clarke2509's Recent Forum Activity

  • its like mini golf and football(soccor), with 2 opposing teams of 4 trying to get the ball in the opposing teams goal. The player can move freely and can also fire "bullets" at the ball. Right now my AI all just charge at the ball randomly shooting at it towards the goal.

    What im hoping for is to maintain field position,

    Shoot more accurately at the goal. (right now im literally just using goal is within x angles then they shoot)

    Any help is greatly appreciated, Thank you

  • right now i just use pathfinding to make the AI move to the ball but its not great, has anyone found a good way of doing it?

  • Thank you both for your help, the file was very helpful and i have it working now.

  • I'm not sure completely what is meant by "it only lets me place one of each object". Do you mean that pressing the button, dragging and putting down an object only works once ever? Or that you'd like to press the button, drag, and then keep clicking to put down as many as you want?

    I mean so i press the UI button, the object follow my cursor, i then press the button again to release the object, then if i press that same object in the UI again, the one i previously placed, disappears, it seems like a simple fix but i am unfamiliar with the UID system.

  • Anyone know how to do this, surely there is a more simple way of creating a click and drop UI... for example tower defence/RTS style UI

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Try saving the UID of object created to a variable when it is created. Then add a Pick by unique ID condition to position that specific instance of the object under your mouse or place it.

    Can you explain to me how i do this please, I'm not familiar with the UID and cannot find a relative UID tutorial.

  • im trying to click with mouse on a button then an object is created on the mouse and follows the mouse until clicked again where it is then placed down... the way im doing it now works terribly so has anyone got a better way of doing it...

    heres how im doing it now;

    Variable PlaceObj = 0

    Mouse - On left button clicked on (button) - set PlaceObj to 1

    - Create obj (object) at mouse.x, mouse.y

    system - PlaceObj = 1 - Set position to round(mouse.x/16) * 16, round(mouse.y/16) * 16

    - Every tick

    mouse - on any click - set PlaceObj to 0

    - set position to self.x, self.y

    Issue with this is, it only lets me place one of each object.

    P.S Sorry i dont know how to import image, tried making it as clear as i can.

  • Ah thank you so instead of rotating through events, you must use the Rotate behaviour. It works perfect now.

  • Hi, i am making like a power bar and at the centre is the perfect point and towards the ends is the worst. I have an arrow which i want it to rotate clockwise until it gets to a certain and angle and then to change to counter-clockwise until it gets to a certain angle.

    Does anyone know how to do this?

  • im experimenting with all the different movements i want to create a more smooth movement which replicates a space ship in space.

    Does anyone know of a spaceship movement which looks like its actually in space?

    Thank you.

  • ahh for some reason this worked, I created a new family and transferred all the objects over and for some reason it worked so it must have been some sort of bug from adding objects to the family.

    Thank you all for the support.

  • Yes this is what is confusing me though, when I create object family It should use all the families behaviours right?

    Instead for some reason, it is resetting the family behaviours on each object, behaviours which I can't access with the event sheet, such as directions, set angle, default controls (from the 8Dirextion behaviour)

clarke2509's avatar

clarke2509

Member since 9 Oct, 2014

None one is following clarke2509 yet!

Trophy Case

  • 10-Year Club
  • Popular Game One of your games has over 1,000 players
  • Email Verified

Progress

12/44
How to earn trophies