vee41's Recent Forum Activity

  • > if you put the enemies into a family you could save the uid of the family

    > the collision would pick the right enemy a,b or c

    How would I put the enemies into a family? What's a "family" in C2 terms?

    Here is link to description of families.

  • Try this: give diamond sprites bullet behavior and set it's properties to speed: 200, gravity: 200

    If you turn the diamonds angle straight up (rotate counterclockwise wise 90 degrees) it all adds up to a nice effect :)

  • Randomize number (perhaps with help of method described before, perhaps with something more efficient) and push it into an array. Every 5 seconds pop the amount of numbers you want.

  • You could check for collision at offset (right in front of sprite) and if other object is detected you can disable collisions in case the speed condition is filled.

    Or you could use the invisible collision sprite like you said yourself. It's probably your best bet. :)

  • Or just use the max function.

    largestValue = Max(apple, pear, banana, watermelon)

    Nice, didn't know of that!

  • Try something like this:

    variable largest

    variable largestValue

    for each item

        item.value > largestValue

        largest = item

        largestValue = item.value

    Items could be a family, a sprite or whatever fits your needs :)

  • Something like this?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • A collision check should do the trick, here is a demo:

    Evil Sprites

    You could adjust it to your environment, so you check for object speeds when collision happens etc.

  • Should be there under 'System' actions. :)

  • If you have a variable where you have amount of stars, all you need to is spawn the correct amount of stars. You could so it with this sort of event:

    For 0 to AmountOfStars - 1

          Create Object Star at (X+50*loopIndex, Y)

    The X+50*loopIndex makes sure the stars are not spawned on top of each other, but 50 pixels apart.

  • You can either have a behavior on object or not, there is no way to have separate versions of the same object. Doesn't really make sense when you read that sentence, huh? :)

    What you can do, is disable/enable the anchor behavior on sprites you wish via events.

    Add an event like this:

    On start of layout

    Pick the free moving sprite

         Set Sprite Anchor disabled

  • Something like this perhaps?

    Scrolling text demo

    Using some custom behaviors like MoveTo or EasyTween creating this would probably be a bit easier.

vee41's avatar

vee41

Member since 12 Apr, 2012

None one is following vee41 yet!

Trophy Case

  • 12-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

14/44
How to earn trophies