-
Notifications
You must be signed in to change notification settings - Fork 19
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
Better tank game no dimension mapping #19
Open
brynnperit
wants to merge
20
commits into
gladiusjs:develop
Choose a base branch
from
brynnperit:betterTankGame-NoDimensionMapping
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Better tank game no dimension mapping #19
brynnperit
wants to merge
20
commits into
gladiusjs:develop
from
brynnperit:betterTankGame-NoDimensionMapping
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Added a second tank which is coloured red Added 4 walls around the arena
Conflicts: examples/tank/tank.js
Updated options for box2d in cube-collision and tank to take advantage of dimension mapping Added newer versions of libraries
Added new version of libraries
Limited tank firing speed Remove console.log commands
Added a procedural sphere creator Added new version of physics library
…ing setLinearVelocity and setAngularVelocity Made tanks have physics objects attached Removed scaling from tanks Added new version of box2d library
…n set to true. This causes them to do better collision detection against other dynamic objects. Moved the bullet velocity property out to be grouped with the other properties
…tank's collision boundaries. Fixed bug related to weird bullet directions
Added collision filters to bullets and tanks so that bullets no longer can collide with the tank that fired them. Added new version of box2d extension that allows the two above improvements to work
Made the red tank get stunned for a period of time after being collided with so that it moves only according to physics impulses Added new version of the core library that includes a new version of the math library
… tank Made the red tank fire shots at the green tank Changed the way tanks are created so that they don't have to have an x rotation applied after creation Caused the player's tank to get stunned by impacts, but for a shorter period of time than the AI tank Caused both tanks to do a full turret rotation over the course of the stun, to visually show that they are stunned Added a removeExcessRotation function, which simplifies a rotation angle to be still correct but within the range of -PI to PI radians Simplified some math in the red tank's movement code Added a new version of the core library
Re-ordered some code in tank.js
Added new version of core library
…l aren't right, but it's an improvement. Added newer version of box2d without direction mapping
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.