R0J0hound's Recent Forum Activity

  • tucamone

    Gravity is global so you could either disable gravity and every tick apply a force to each object so they have their own gravity, or you can leave the gravity on and cancel gravity on so objects by applying a force opposite the direction of gravity on an object's pre step.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Zebbi

    I'm not sure I follow, the object would need two sets of positions, one for it's top view position and one for how it will be on the mode7 view. I'm pretty sure the behavior only converts the top view position to the mode7 one.

  • tucamone

    Is the ground moving with the physics behavior? All other movement behaviors are unmoving to the physics behavior. Otherwise I don't know.

  • You could give the object you want to spawn in the bullet behavior then you could do this:

    every 1 seconds

    --- create sprite at (random(640),random(480))

    --- sprite: set angle to random(360)

    --- sprite: move forward -640 pixels

    sprite: bullet distance traveled > 640

    --- sprite: set speed to 0

    There's also the third party move to behavior that may be useful here.

  • An family instance variable would work well for this.

  • That's part of the answer. The other issue is even if you used that expression every tick it would be the same. You need a variable that you change over time and use that for the lerp. This could work:

    global number go=0

    global number t=0

    on click

    --- set go to 1

    go = 1

    t < 1

    --- add dt to t

    --- road2: set scale to lerp(0.1608, 0.0804, t)

  • Guyon

    I think you need to do:

    nwjs.AppFolder&"mydog.jpg"

  • every tick

    --- box2: set animation frame to 0

    box2: is overlapping box1

    --- box2: set animation frame to 1

    repeat 10 times

    box2: animation frame = 1

    box2: is overlapping family1

    --- family1: set animation frame to 1

  • Put the paster on a layer with a parallax of 0,0, and make it only the size of the screen. Then you could use the is on screen conditions before pasting the objects.

  • It worked when I did it, so unless I wrote it down wrong, I don't know what's amiss.

  • 2d.

    Give the paper the bullet behavior. To shoot it create it at the player and set the angle of motion.

  • Yes, what have you tried so far? What are you stuck on?