justifun's Forum Posts

  • - that's hand drawn animation, so no, you'd make that in another application

  • Did you try opening the Tower defense pathfinding example file and see how they did it?

  • When you use the action "on object clicked" it will "pick" only the object you clicked on.

    For your destroying example, you need to specify which object is going to get destroyed, by picking it first.

    it can be the one you clicked on,

    the one with the highest Y value

    the one with the lowest opacity.

    however you want to pick it

    so for example

    On Mouse "enemy" is clicked -> destroy enemy

    or

    Enemy.Opacity < 50 -> destroy enemy (this will only destroy and enemy with less than 50 opacity.)

    The event "picks" and the action runs the corresponding code based on what you picked.

  • You can use the bullet behavior with gravity turned up.

  • Place a circle sprite and scale it to the size of the dotted line.

    then do a check

    If redbox is overlapping circle area

    AND redbox is NOT overlapping inner blue circle -> Loss

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Subscribe to Construct videos now
  • There's also a "push out solids" behavour that rex rainbow made that you can just add to your object, and they won't overlap.

  • You can make a invisible box, and assign the bullet behavior to that.

    Then assign "pin" behavior to the image, but only pin it in "position"

    that way it will always face upright while moving via the bullet behaviour

  • on key "left" pressed - set raptor to mirrored

    on key right pressed - set raptero to not mirrored

    he will stay facing whichever last direction you pressed.

  • Someone also made a behavior for shaking objects.

  • you need to use the "find path" again instead.

    since its a new layout.

  • Skvor - Great artwork btw!

  • Ideally you would set up a bunch of different "states" for your character. and assign him a variable called "state".

    if: state = "walking" -> do walking animations etc.

    and make seperate conditions for each state he might get into.

    this allows you to group a number of actions together and he will be able to do lots of different things depending on the movment required and which animation needs to be played.

    then one simple way to pick which state he'd go into randomly is

    every X seconds - set enemy.state to = choose ['walk', 'sleep', 'run', 'pushups']

    so it will randomly throw him into a new state every x seconds.

    or base it on other conditions like.

    while enemy.state = "walk" -> every 1 second, add 1 to enemy.walkingsteps.

    if enemy.walkingsteps > 100 - set enemy.state to "sleep"

  • Check out http://quirktools.com/screenfly

    You can test your game on various device sizes (and custom resolutions).

    Simply type your C2 local ip into the URL to test your game locally eg: 192.168.1.10:50000

  • http://quirktools.com/screenfly/

    is a handy tool for testing different screen sizes.

    just type in your local C2 IP address as the URL you want to test eg: 192.168.1.10:50000