"When the player landed, the game reset both variables back to False."
Ok. And how to define that player landed?
Platform Engine - A Few Thoughts
-
- Prole
- Posts: 9
- Joined: Mon May 04, 2009 11:41 am
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Platform Engine - A Few Thoughts
Well, for example, you could check for y <= 0 and collisions with platforms, as I did it with Jump Game.Cruiser23rus wrote:"When the player landed, the game reset both variables back to False."
Ok. And how to define that player landed?
(See http://love2d.org/forum/viewtopic.php?f ... t=30#p6575)
Help us help you: attach a .love.
Re: Platform Engine - A Few Thoughts
In my particular case I knew where the ground was at all times, so it wasn't hard to find. In a platform game you almost have to be tile-based. If you don't know where the ground is, you're going to have a hard go of things.
We don't borrow, we don't read, we don't rent, we don't lease, we take the minds!
Who is online
Users browsing this forum: Google [Bot] and 3 guests