Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support side-view games #5

Open
jorgegv opened this issue Dec 18, 2020 · 0 comments
Open

Support side-view games #5

jorgegv opened this issue Dec 18, 2020 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@jorgegv
Copy link
Owner

jorgegv commented Dec 18, 2020

Add support for platform games in side view (i.e. gravity and floor detection support).

Since obstacle detection is already implemented (it's in the basics), only gravity management needs to be done. The platforms are obstacles.

Notes:

  • With the current obstacle detection code and the implementation of gravity, Mario-style platforms can already be handled (if Mario jumps below a brick, he does not pass through, but bounces down; but if he falls on a brick, he keeps on it)
  • We can define a new obstacle type TT_PLATFORM that can be passed through from below, but not from above (if the hero hits it from below, it behaves like a DECORATION but if the hero falls on it, it behaves like an OBSTACLE)
@jorgegv jorgegv added the enhancement New feature or request label Dec 18, 2020
@jorgegv jorgegv added this to the Release 0.7.0 milestone Sep 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant