Yann's Recent Forum Activity

  • capx... not caproj

    save your file as single file

  • send the capx we are running in circle (:

  • You can select all your text and change their property.

    As long as you only select the same kind of object you'll be able to modify an entire selection at the same time.

    It's easier if you them on the same layer and lock the other layers

    You then just have to Ctrl+A to select them all.

  • Mouse: on object left click
      -> Object: set destroyed to true
      System: repeat 10 times
        -> Object: create object on layer 0 at Object.X+50,Object.Y
    Object: is destroyed
      -> Destroy

    hmmmm should work

  • probably something like

    milliseconds = timer-floor(timer)

  • smitchell I don't think it's an integer issue 'cause the creator (spawner) sprite isn't place on float position.

    My best guess it that sometimes, the collision isn't triggered. And if you miss even just once, no background will be created anymore so... white screen.

    So I think you shouldn't use sprite to check for position but just position check it's more reliable.

    like that scrollingBullet.capx

    Also, using bullet behavior to scroll a background is interesting, never thought about that.

  • If you don't use global objects, just reseting global variables should be enough.

    If you use global objects it's a bit more complicated.

  • clock.capx

  • maybe, but I'm not sure

    on whatever event you want
      -> Sprite: Spawn Bullet at image point 1
      -> Bullet: set angle to Sprite.angle
      -> Sprite: Spawn Bullet at image point 2
      -> Bullet: set angle to Sprite.angle
      -> Sprite: Spawn Bullet at image point 3
      -> Bullet: set angle to Sprite.angle

    This way your bullets should be at the same angle as your spawner sprite, and since you set speed to a negative value, they should go backward as you want (if I'm not wrong)

  • You need a kind of flag to differenciate the two for picking.

    Create the boolean instance variable 'destroyed' on your object with default false

    and then

    Mouse: on object left click
      -> Object: set destroyed to true
      -> Object: create object on layer 0 at Object.X+50,Object.Y
    Object: is destroyed
      -> Destroy

    This way, when you left click on the object, another one should be created 50px to the right and this one should disappear into nothingness.

  • Well I hope you have a good idea 'cause in this example you can't jump on a platform (move up and move sideway). Once you jumped you have no choice but to fall. Because you can only move one direction at a time and falling wins over left and right.

    Otherwise you would never fall by keeping your finger on left or right arrow. You can try by changing the order and put the fall event underneath the left and right (: (try it, it's fun you're floating \o/)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Did a little tweaking on Ize's gesture capx (:

    gestureMod.capx

Yann's avatar

Yann

Member since 31 Dec, 2010

Twitter
Yann has 5 followers

Connect with Yann