moebios's Forum Posts

  • Because the monster UID is passed through a function. So I can not just call the monster directly as you suggested. =/

  • I have a "Family" called "Monsters".

    Inside the "Family Monsters" I have:

    • Monster A (UID = 1)
    • Monster B (UID = 2)
    • Monster C (UID = 3)

    I'm trying the following:

    On Start of Layout:

    ??? > Pick FamilyMonster with Instance UID = 2 > RiseMonters: Spawn FamilyMonster on layer X;

    ??? > RiseMonters : destroy;

    Am I doing something wrong?

    Thanks all

  • I agree...

    but in my case, should not be so hard to make the instances attack individually. I'm noob...

  • I changed to 'timer', but they (the heroes) do not attack.

    <img src="https://dl.dropboxusercontent.com/u/2064178/timer.png" border="0" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Wow, I did not know existed this behavior. Now I've to learn how it works.

  • I understood. But I've no idea how make a timer for each 'hero'.

  • I do not understand. I am already using 'for every x seconds' condition <img src="smileys/smiley19.gif" border="0" align="middle" />

    <img src="https://dl.dropboxusercontent.com/u/2064178/combat-test-construct.png" border="0" />

  • I downloaded your CAPX and everything went well. What is your question?

  • Hi everyone,

    I again =)

    I'm trying to make one A.I. that attacks all enemies in its path. The problem is that the soldiers behave equals. I wanted them to behave individually. Can anyone give me a little help?

    Demo

    CAPX

    Thank you all

  • I changed 'spacebar' to 'z' and works here

  • Hi,

    Anyone can help me with a function?

    I try create function to buy buildings in my prototype game.

    For example:

    I have a global variable called GOLD, then I have buildings, each have a VarCoast variable ...

    Building1 - VarCoast = 1000

    Building2 - VarCoast = 500

    Building3 - VarCoast = 2000

    ...

    I want to create a function to subtract gold from my GOLD global variable.

    I try this:

    <font color=blue>

    • Mouse On left button Clicked on Bulding 1 >> Function Call "Buy"(VarCoast)

    ...

    • Function On "Buy"

    - GOLD => param(Varcoast) >> Subtract (VarCoast) from GOLD

    </font>

    <font color=red>

    BUT... How I get VarCoast to subtract to my global variablo GOLD?

    </font>

    I make this easily without make function. But I have to repeat the code for each building. I think a function let the code cleaner.

    Got the point?

  • Hello,

    I'm doing a test game on ipad, and I got a problem: I want touching on the left, the car sped up, and touching on the right side, I can control the direction of the car. The problem is that when I touch the left side of the ipad, touches the right side stop working. Construct does not support multi-touch?

    Tnks =)

  • Worked, thank you so much.

  • Sorry for asking something so stupid. But I spent hours, read several forum posts and still can not read a variable from a JSON into a dictionary (dictionary.get ("name")).

    My Json:

    {"c2dictionary": true, "data": {"name": "blablabla", "race": "blalalala", "id": 1}}

    <img src="https://dl.dropboxusercontent.com/u/2064178/dictionary.jpg" border="0">

    CAPX

    Anyone can help me? =/

  • So... I'm trying to use 'derp' now, but, I don't understanding their final parameter.

    The circle don't move to a new position, he is "jumping" to a new position. How I can fix this? Somebody know?

    <img src="https://dl.dropboxusercontent.com/u/2064178/construct2.gif" border="0" />

    Capx:https://dl.dropboxusercontent.com/u/2064178/test02.capx

    Thank you   <img src="smileys/smiley1.gif" border="0" align="middle" />