I'VE DONE IT!!!!!

AfterBurnettAfterBurnett Member Posts: 3,474
edited November -1 in Working with GS (Mac)
After a day of trying to work out how to get my characters jumping like an old-school 2D fighter, I gave up on gravity/acceleration and all that and went the "digital" route. It's a bit of a workaround but it works! Basically I use a bunch of timers and move rules that trigger only when up and left or up and right are pressed, so I have three separate jump moves. Straight up, up/left and up/right. No variation in distance or height, just like Street Fighter 2. Woohoo!!!! There's probably a better way to do it but hey, it work ;)

Comments

  • reddotincreddotinc Member Posts: 653
    well done :).. I'm sure there are lots of ways that you could do it but if you get it done one way then i'm sure that's good enough!
  • AfterBurnettAfterBurnett Member Posts: 3,474
    Gah... not working as well as I'd planned....
  • reddotincreddotinc Member Posts: 653
    POLYGAMe said:
    Gah... not working as well as I'd planned....

    lol but you sounded so confident!
  • AfterBurnettAfterBurnett Member Posts: 3,474
    I was... but I added in the UP ONLY jump... threw a spanner in the works. Also, WAY too many rules and attributes for a simple move... DOING MY HEAD IN!!!!
  • reddotincreddotinc Member Posts: 653
    What behaviours are you using?
  • haim96haim96 Member Posts: 87
    and people Laugh at me when i asked to add built in jump behavior to gamesalad editor....
    :(
  • reddotincreddotinc Member Posts: 653
    haim96 said:
    and people Laugh at me when i asked to add built in jump behavior to gamesalad editor....
    :(

    I think that would be too limited.. it wouldn't work how everyone might want it to.. it's much better to program it exactly to your needs
  • AfterBurnettAfterBurnett Member Posts: 3,474
    If it were that easy... WHAT A BITCH! I'm basically making him move for a set amount of time before changing direction, so about 4 or 5 timers and move behaviours to make him jump in an arc. I think I'll give up on this method and go back to the physics engine instead... gotta be a way. The rest of the game seems so simple compared to working out this jumping malarky! lol.

    Malarky!

Sign In or Register to comment.