jump of wall, platformer game

MoebiusMoebius Member Posts: 194
edited July 2012 in Working with GS (Mac)
Howdy Gs developers, lightbulb here, by using the "mega template" from POM's now i have the double jump feature for my platformer game, however i want to be able to do the jump of wall, i've already searched on the forums, but i haven't found a that useful template, is there any out there, otherwise is anybody willing to give me a detailed explanation on how to achieve this,

THANKS A LOT
lightbulb

Comments

  • mynameisacemynameisace Hull, UKMember Posts: 2,484
    If nobody knocks a project or solution for you, I'll make one. I have a crazy migraine at the moment so not doing no work tonight.

    Ace
  • MoebiusMoebius Member Posts: 194
    k Ace, thanks for your support :D
  • GraphicWarehouseGraphicWarehouse Member Posts: 927
    DO all developers get migrains :D
  • MoebiusMoebius Member Posts: 194
    hmm... still not getting, @tshirtbooth, i believe it is made the way you just mentioned, however i am still not able to achieve it, any template or more detailed explanation available? :D?
  • MoebiusMoebius Member Posts: 194
    edited April 2012
    .
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    Threw this together real quick, let me know if its what you had in mind.

    http://www.mediafire.com/?pz8e5lkoa1jcx2h
  • MoebiusMoebius Member Posts: 194
    nice, however i wanted it when pressend e.g spacebar jump automatically to the opposite side, while practically on middle air and colliding with wall, trying to figure it right now, but without any luck :(
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    K i wasnt sure if thats how you wanted it

    Try this

    http://www.mediafire.com/?gqco0jhw1s7hm87
  • LeonardDeveloperLeonardDeveloper Member Posts: 4,630
    @mjmdesign
    Im sure if you're on the screen for more than 6 hrs it starts coming along..
  • MoebiusMoebius Member Posts: 194
    hmm... not working as i wish :/, retook the project and i haven't figured it out yet, i wish the same effect as in super meat boy, cheeseman or frenzy pop, almost, but not yet, not working as it should :/ any idea?
  • AsymptoteellAsymptoteell Member Posts: 1,362
    I've been working on a platformer too, lately, and the wall jump was a much bigger problem than I'd expected. If you want to be able to jump off the walls outwards, I'd make that behavior separate from your normal jumping behavior. Also, you'll have to be careful making sure your actor doesn't jump off the walls when on the floor also touching a wall, unless that's what you want.

    Overall, when the actor's touching the wall, but not the floor, move at a 45° or so angle outward from the wall. You'll probably want to be able to jump off of walls forever, so make sure the normal jumping setting doesn't turn off that ability after 1 or 2 jumps.

    I feel like that's about it. In mine, I made the walls separate actors altogether than the floors, but it's all a matter of preference. If you make them part of the same actor, however, it will take a lot more math, which is, in addition to tedious, often times very bad for performance.

    Start by making a perfectly vertical wall jump figured out, then work on adding the jump out, then tweak it, then bug fix.

    Asymptoteell
Sign In or Register to comment.