3030's Recent Forum Activity

  • Ive jumped at an angled platform maybe 100-200 times straight and it seems when im paying attention, i have no problems but its pretty much if the corner of the player box is off by 1 pixel it will miss the jump even if it looks like it should make it. I think this is a case where it's technically correct, but it 'seems' broken since if you're just playing normally, jumps that 'should' work, don't...

    not sure what could be done to fix tho.. I would say maybe use special sprites for the diagonals where the collision is 'sunken' a bit... the player will aim for the 'visual border' but they have a bit of wiggle room since you've brought back the actual collision by 5 pixels or something..... maybe...?

  • Worked a charm. Trying to think of how to make this easier in the long run but basically i set 3 variables:

    playerX

    playerY

    playerFacing

    And when the player collides with the 'levelchange' sprite, it sets the 3 variables to whatever they should be (playerX and playerY of the 'next' screen i'll be in, playerFacing = which direction they are looking, so if they come in from the right, it sets them to face left, etc)

    Then on LayoutStart i basically set the player position to whatever the x/y are and set the Mirrored based on playerFacing. Bam!

    Thanks again RockmanZero

  • RockmanZero, you helped me huge. Basically I'll have an event at the load of each layout that:

    1- Checks where you came from.

    2- sets player position according to that check

    3- sets the new current level.

    Thanks a tonne man!! Just wasnt thinking straight, not enough sleep or something. Your words were a vision of clarity. ;)

  • Hey, been reading the forums for a couple weeks now but I have my first question that I cant seem to find the answer to in the tutorials / forums.

    I have a simple event-based level change when player collides with a marked off sprite area it triggers the system event to change layout to, say, Level 2. Problem is, it just uses the default player position when i appear in Level2. If I set the even to "set position of player" after it changes layouts, it seems to ignore it.. in fact it seems to ignore all events after that level change.

    So.. is there a way to determine what the "last level" was? Then I can have a condition on layout start that says if it's coming from A, set player position to X,Y. If it's coming layout B, set player position to X,Y.

    Or is there another way I should be setting the player position / changing the level?

    Thanks a million you guys all rock.

    Nate

  • Still getting the black screen when rotating the iPad.. just curious if this is this a fixable thing?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Any help on how you solved the problem? I cant seem to create topics - i get Internal Server Error 500 too.

3030's avatar

3030

Member since 29 Jul, 2012

None one is following 3030 yet!

Connect with 3030

Trophy Case

  • 12-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies