rekjl's Forum Posts

  • Thanks guys, finally returned home to check both capx out. Wow, honestly didn't expect it to be that simple. Haha thank you so much for that....and here I was trying so much complex condition and selections.

    blackhornet, thank you for that capx. That is exactly what I was trying to implement in my game. It looks perfect for my case.

    Thanks to both of you guys, I learned something new. Really appreciate it, both of you.

  • Thank you blackhornet and I'm travelling right now so away from my computer, will go back and study both your capx after 3 days. Again, thank you so much guys, really appreciate it!

  • blackhornet thanks I never knew that if I set the family variable, it is also automatically assigned to each object as well. But I am still having problems comparing between instances. Could you please show me how to get it to work properly?

    http://www.mediafire.com/file/mktlt9oaa5amai0/InstanceExample.capx

    I have a capx here that I can't get to work. I want each sprite to move to the nearest sprite, than when overlapping, the one with the higher position is destroyed. Would appreciate any help you can share. Thanks.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • But the problem is if I use family, I can't compare the instance variables anymore. The family only works will variables and behaviors that assigned to it and not those within it if I am not wrong.

  • Thank you ! What you explain makes perfect sense, but I seem to have problem with building up the correct events for it. I tried:

    On Sprite is overlapping Sprite

    Sub:

    Pick nth instance: Sprite instance 0

    Sub Sub:

    System compare: Sprite(0).variable > Sprite(1).variable: Event Action

    Else: Event Action

    I thought it would work like this, haha but obviously it didn't. Which part am I getting wrong?

  • Hi everyone, I want to create a royal rumble type game, where the results are already predetermined. This is what I had plan to use to create it, but please feel free to share if you can think of a more effective approach.

    Each object will have 2 lives, so they need to be hit twice before they lose and removed from the game. Each instance will have their final ranking set in their own variables, ranking from 1 to 6. They will each approach the nearest instance, and fight it out for a while. The one with the lowest ranking, will lose and be knocked back. Both of them will than go after the nearest instance, but not themselves again, and fight and continue on until only the winner is left.

    The problem I am having is comparing between instances and selecting one based on the variable being higher or lower. I just can't seem to find a way to select an instance based on two conditions. For example, pick nearest to sprite.UID=variable, but than I can't say exclude this sprite instance because they just fought, or say which one should lose when compare between the two variables.

    Would really appreciate any help on this. Thanks.

  • korbaach, thank you very much! Perfect!

  • korbaach, could you please help me with another array problem I am having.

    Imagine an array like the one below:

    23....25....12....25....25....19....25

    0.......1.......2......0......2......1......2

    Select all y1 with value 2. Got three results. From those three results, choose a random y0 with value of 25, and return the x array value, which should return x4 or x6.

    I really can't find a way to select one set of values from y1 array, than from those selection choose based on y0 values. Would really appreciate your help on this.

  • Thank you so much. This is exactly what I was looking for. Really appreciate it!

  • Hi everyone, how do you pick a random position in an array that contains certain value, and return the array x and y position.

    For example

    0 1 2 0 5 0

    3 8 4 9 0 3

    I want to choose a random array position that contains the value 0, which in this case will choose one of the following 0,0 3,0 5,0 4,1 and return the array position.

    I tried but still can't seem to get the results I wanted for this. Would appreciate any help on this, thank you.

  • Yeah sorry, have to agree with bclikesyou, Inkscape is more vector art. If you only want vector, than the software he recommended would be easier and more effective.

  • which could summon

  • Haha anyone else noticed their badges increased? I think I just tripled my gold badges today. All from the Fanatic badge, looks like a bug there.

  • First, do you have any software in mind? If you don't, I would recommend Inkscape since it is free. Once you have a software you want to learn from, just check youtube. There are literally tonnes of tutorials on so many different art styles there. Good luck!

  • I've not used XDK ever since I switched to cocoon last year so I can't really weigh in. But the limitation of 2 projects shouldn't be an issue. You can just delete one current project, and than create a new one. Than if you want to update the previous game, you can delete another and just create another. Sure it is a hassle, but if you can't afford the subscription program, I don't think this is something to really complain about considering how well it performs.