sqiddster's Recent Forum Activity

  • I would like to see this, also.

  • 1. get rid of the scroll-to behavior, and make an event:

    every tick:

    --> scroll to X: player.X

    --> scroll to Y: player.Y + somenumber

    2. You will have problems with an infinite layout. For something like this, you should have the background moving down, and the player standing still.

    As for how this is done, have a look at the FAQ, specifically the scrolling/camera section.

  • As am I. I have a strange compulsion to add an easter egg which immediately rickrolls you.

  • instead of using 'move forward 10', use 'set y to self.Y - 10'

  • You'll want to set a timer variable.

    Something like this:

    on left click:

    if timer > 0.5:

    --> shoot bullet

    --> set timer to 0

    every tick:

    --> add dt to timer

    You can change the '0.5' to change the possible rate of fire. You can also change 'on left click' to 'left button down' to allow them to hold the mouse button down to keep firing.

  • I put the effect object on the main layer, set the layer properties to 'force own texture', and set the mask effect to 'source atop'.

  • That's exactly what I'm looking for. Interestingly enough, I got it working using 'source atop'... curious.

    Now, is there a way to do this so the subtractor is on a different layer? If that's not possible, is there a way to simulate parallax? The subtractor really needs to have parallax.

  • OK, Ashley, this is what I want exactly:

    Main layer. Everything on this layer should be effected.

    Background layer. Should not be effected at all.

    I tried what you said, but it doesn't seem to be working. Any tips?

    EDIT: 'source atop' makes it work perfectly! Cheers mate.

  • Not sure what you mean there. I'm open to any ideas.

  • I think so, but you better know server-side stuff and whatnot.

  • If variable 'stop' equals 0, every X seconds:

    --> set frame to floor(random(0,number of frames in animation)

    On space bar pressed:

    --> set 'stop' to 1.

    You might need a +1 to the number of frames due to the floor(), not sure. Try it out.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I think (I may be wrong) this actually impacts performance, so options like this and rotation were left out on purpose.

sqiddster's avatar

sqiddster

Member since 5 Sep, 2011

Twitter
sqiddster has 4 followers

Connect with sqiddster

Trophy Case

  • 13-Year Club
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Email Verified

Progress

16/44
How to earn trophies