haker337's Forum Posts

  • Might need to use the individual objects rather than a family. Looks like you are calling them all rather than the one you touched.

    Might pass the UID to the function in a perimeter so you can pick the one you clicked on. Can also pass the click location and compare the nearest family object to the click.

    Could you show example?

  • Hello cleverest developers.

    I have been making rpg game with Construct 2.

    So, I need a battle system with using families called enemies.

    My question is how to process death of enemies respectively.

    it's my attack process.

    Thank you for reading.

  • Hello developers.

    I realized that when changed layout, array is not stay.

    I want to stay some arrays when changed layout.

    How to stay arrays?

    Thanks for reading.

  • > Hello developers.

    >

    > I want to check overlapped objects.

    >

    > For example,

    >

    > Object A is overlapped with Object B

    >

    > How to check the state of overlapping?

    >

    > Thank you for reading.

    >

    You could use the condition:

    ObjectA is overlapping another object : ObjectB

    Thank you!!

  • Hello developers.

    I want to check overlapped objects.

    For example,

    Object A is overlapped with Object B

    How to check the state of overlapping?

    Thank you for reading.

  • Hello developers.

    Now I'm going to make a inventory.

    I'm already done a creating array.

    But How to express slot of inventory?

    I will make sprites called slot1~slot10.

    And each sprite has animation of items.

    Is it best way to express slot of inventory?

  • Hello developers.

    When For 1 to 10, How to stop when loopindex is 5?

    I want to use break But can't find it

    Could you help me?

  • To explain more, if object1, object2 is existed in Family1, And family instance value is HP, 100. but HP of object1 is 150. How Can I set in families separately

  • Hello developers.

    I want to use individual instance value in families.

    How can get it?

    Thanks for reading.

  • Hello developers.

    I want to use data structure array in json.

    for example,

    in Javascript

    var obj = [{id: 1, name: 'good'}];

    console.log(obj[0].id);

    output : 1

    How to express in Construct 2?

  • Maybe you could explain what you are trying to do, so an answer can be given?

    Objects without behaviours and/or actions attached will allways stay at the same position, so a fixed x, but ofcourse also a fixed y..

    Well, it uses moving of enemies.

    So, Object.X is changed by passing time.

    I want to anchor to fix x of objects.

    For example, the x of object is 1500

    object is going to 1450

    and if reached, going to 1550

    and again going to 1450

    and if reached, going to 1550

    How can I solve this problem?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm going to use CSV eventually.

  • Hello, cleverest developers.

    I want to use fixed x of objects.

    How to fix x of objects?

  • I want to use this expression like

    var obj = [{id: 0, type: 0}]

    alert(obj[0].id);

    How to express in Construct 2?

  • Hello. developers.

    I want to fix the x of sprite initially

    How to fix the x without dynamic change of x?