vee41's Forum Posts

  • I want to make a destructible terrain like Worms, What I have to do?

    I know there is a Canvas Object in Construct Classic, it can update collision mask ,But I can't find such a function in Construct 2, Please tell what I have to do.

    PS: I'm not from a contry which speak English, so please forgive me if I say something wrong. =w=

    Rojohound posted great example here

    Like said before, there really is no smooth way of doing it. Basically what he did is he separated visual side (canvas) and collision side (array).

  • Doesn't that exist already? Check use mouse input part.

  • Syntax would be: loopIndex("X Loop")

  • Hi!

    I know how to spawn random objects... buuuuut

    How can I make my layout spawn new sprites at random points over time so that these sprites do not overlap each other?

    thanks!

    You could take a look at this for one way to check for overlapping objects on spawn.

    Evil sprites example

  • The logic is:

    On collision if velocityY > 100 OR velocityX > 100 than do this: blah blah

    What you are probably looking for is:

    On collision

    .. if velocityY > 100

    OR if velocityX > 100

    ... do stuff

  • You could/should put them into container. The idea would be, that you place only the swing-arms, and at the start, platform would be generated for that.

    So you could do something like this if the elements are in same container:

    at start of layout

    ..for each swing-arm

    ... set platform position

    ... pin platform to swing-arm

  • I beg to differ, you can have two triggers in the same event block.

    Right click the main event block and make it an 'OR' block. I just tested it and it lets me do it in the editor.

    Absolutely, but functionality would not be what I'd imagine he is aiming for :)

  • So shortly:Why can't I use the "on collision with another object" and the "Keyboard: On Z pressed" conditions on the same event?

    You can't do that , because they are both triggers. Check this manual entry for more indepth explanation.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Could anyone point me to a good tutorial or maybe an essential plugin for making cutscenes easy (or less of a "pain in the **** as Wreckless puts it!)

    EasyTween. Then again, it's essential plugin for anything that moves :P

  • Looking really good! You got my vote (and plenty of others too it seems)!

  • yeah, im curious too. Would love an easier way to do scores.

    This is simply to confusion for beginners..

    Arcade plugin was released a while ago. Also, there are 3rd party plugins like clay.io that allow you to create online highscore tables pretty easily.

  • i've not understood the difference :/

    It's pretty much the same thing with few differences, post your .capx, as the problem is probably somewhere else.

  • On pipe created

    .. random(100) < pipe.spawn

    ... spawn the plant

    ... print the good text

    .. else

    ... print the bad text

    Should work :)

  • Here is an example that uses technique a little bit like the solution I mentioned before:

    Animation stuff

  • I edited the above example a bit, might be a bit more what you are after.