LittleStain's Recent Forum Activity

  • Ok first off all unbounded scrollig is set to no, so it will never scroll further than the layout-dimensions..

    That's actually the reason no scrolling occurs at all at the moment..

    Either increase the layout, set unbounded scrolling to yes, or scroll the trees over the layout instead of the other way around..

    Secondly, if you have an event that scrolls every tick, like in this example, you probably should remove that if you want to change the scrolling..

    the platform on landed event works perfectly if you remove that every tick event..

  • I'm not sure if it's possible to call them directly, but you could ofcourse use instance variables for them and use the set effect parameter to instance variable, than you could change the instance variable with the slider..

  • What do you mean by code?

    These are events on the event sheet?

    And what do you mean when you say construct2 doesn't have coding possibilities?

    all you have to do is add the events and the action to your own event-sheet..

  • If you are using the slider bar object, isn't this as simple as using the action "set value"

    And there is no reason for the slider bar to start at 0 for you can change the maximum value, minimum value and value at runtime..

  • ok..

    Don't understand why my suggestion won't work, but maybe replacing the player on landed with player is on floor would work..

    If not please share your capx or events, cause guessing won't really help anyone..

  • I guess you could add a boolean instance variable Stacked and set it to true when stacked

    If there isn't a line yet add a detection sprite at the right y-coordinate

    object is overlapping detection

    object is stacked

    level end

  • Should be something like:

    player on landed

    platform pick nearest to player.y

    system scrollto platform.y

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • In what way does a real life box land?

    I don't understand the illustration..

    Do you mean you want to check the angle of the box on collision and if the angle is not 0 or 90 or 180 or 270, but somwhere in between choose the closest of those 4 angles an rotate toward it having the center of rotation on the point it landed?

  • It shouldn't be hard..

    Your code should work..

    Jump example

  • Could it be the collision polygon of your sprite is overlapping a solid?

    If so the jumping won't work...

  • I made a stretching arm once..

    You could use Timer behaviour

    to have things happen on timer..

    One way would be to set a variable when you want the stretch to happen,

    set the width of your sprite to : sprite.width+1 as long as the variable is set

    and unset the variable after one second on timer.

LittleStain's avatar

LittleStain

Member since 26 Apr, 2011

Twitter
LittleStain has 4 followers

Trophy Case

  • 15-Year Club
  • Email Verified

Progress

16/44
How to earn trophies