Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 26 May 2012
Offline Last Active Aug 27 2016 09:47 PM

#5259064 How to do collision like mario with gap dash?

Posted by on 25 October 2015 - 09:40 PM

I have written some simple 2D platform game now.

and i'd like to write a mario clone myself.

problem is how to do a gap dash which means when i am on running mode i can dash foward for one tile gap.

If not running,i will walk down the one tile gap,and falling down.

I think if i just change the speed,i can not promise to pass the hole tile.

cause if i stand some place i still may run exact to the hole positon.

Then i think maybe i can large the collision rectangle when i was on running mode by 1 or 2 pixels.

which can promise if it is one tile gap,i will not run down,cause i fill the whole collisioin area by enlarging the rectangle.

but i am not sure this is a good idea.

What's the usual way to do gap dash collison?

Want to learn some new and better ideas.

#5171049 How to achieve some folding paper effect like IOS game Tengami

Posted by on 02 August 2014 - 12:51 AM

sorry,here is the video from youtube.it flip too fast.
and thank you kryzon for the keywords and book,it really helps.