Gmadd9's Recent Forum Activity

  • Hello,

    I read the tutorials to the wait-function but the loopindex is not working as I expected.

    I'm trying to work with the loopindex after a wait, but it returns -1 everytime.

    [attachment=1:qx051y20][/attachment:qx051y20]

    [attachment=0:qx051y20][/attachment:qx051y20]

    I expected it to return 0,1,0,1.

    What am I doing wrong? Is it a bug? Or what can I do, to get the index after the wait?

    Thanks a lot!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for the detailed response. I think the idea with the images would work fine/best, even if it feels a bit weird to solve it this way, but if there is no build in solution... it will fit I guess. But it's good to know that there isn't and I'm not building any creepy stuff, if it would have been one click .

    But I will take a look at the plugin too.

  • Hello,

    perhaps Im thinking too java, but is there any way to store objects or their identifiers in a variable and create them with these informations? Till now Im just able to create an object over the system-action, but in this case you cant use a variable/string.

    Case: Create Arrow depending on the ammo you have (many possible ammos!). After Creating it, there should be some actions, like turning, setting velocity... so I don't want to test all possible ammos with a condition and than turn and move them like:

    if ammo1--> create arrow1,turn, setvelocity,move

    if ammo2 --> create arrow2, turn, setvelocity, move

    ...

    I just thought about making a ghost arrow and put the different arrows in a family and both in a container.

    but that would be even a lot of conditions with just one action:

    if ammo1--> create arrow1

    if ammo2--- create arrow2

    turn, setvelocity,move container

    im searching for this:

    create object("identifier")

    turn, setvelocity, move object

    Or any other idea?

    Thank you very much!

Gmadd9's avatar

Gmadd9

Member since 24 Oct, 2014

None one is following Gmadd9 yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies