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

Game Scalability #13

Open
wants to merge 5 commits into
base: Version1
Choose a base branch
from
Open

Game Scalability #13

wants to merge 5 commits into from

Conversation

BlindTerran
Copy link
Owner

This pull request is dedicated to refactoring the entire game and eventually allows the game to perform in a scalable manner

Refactor vehicle Y positions, vehicle height and the dashed line so that they can adapt to a proper scale when the  final value N_LANES changes
Refactor the pedestrian Y positions and pedestrian height so that it self adapts to the change of lane numbers
Refactor the AABB Y positions and its height so they change along with the N_LANES
Refactor the vehicle and pedestrian width and x positions
All game objects are now scalable. When the lane number changes, game will response to that change and adjust object size
Add the target score on the game info bar
Increase the speed of the pedestrian, this should make the game more playable and less challenging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant