Author Topic: Jump Code Explanation  (Read 22980 times)

0 Members and 1 Guest are viewing this topic.

Offline parserp

  • Hero Extraordinaire
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1455
  • Rating: +88/-7
  • The King Has Returned
    • View Profile
Re: Jump Code Explanation
« Reply #15 on: March 23, 2012, 04:48:18 pm »
Basic? or Axe? do you want realistic gravity or no?

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Jump Code Explanation
« Reply #16 on: April 18, 2012, 02:21:19 am »
This is an incredibly late reply, and probably has been answered by now. But there are a couple ways that I can think of off the top of my head. Depending on how you are storing your map data you can check the spots above and below in a check before falling or going up another spot. You could also have your sprites have a constant spot that is either taken or not, depending if it is a "solid" block or not that you check. Same concept though. Anyways...ya.
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline dl

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 16
  • Rating: +0/-0
    • View Profile
Re: Jump Code Explanation
« Reply #17 on: May 03, 2012, 05:51:46 pm »
i will try this when i get home

Offline tpt1234567890

  • LV3 Member (Next: 100)
  • ***
  • Posts: 45
  • Rating: +0/-0
    • View Profile
Re: Jump Code Explanation
« Reply #18 on: October 28, 2013, 11:37:16 pm »
should work, meishe91...