-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add jumper spin, rewrite some logic (#92)
* Remove unused method This method had no references, I don't know what was the origin of this, probably some early Jumper color overlay(?) * Retrieve the node once, extract and refactor animation switch * Migrate sprite rotation from new codebase * Extract and reorder methods * Extract physics methods, change sprite flipping logic * Extract physics methods, change sprite flipping logic * Adjust the clamp * Update comment * Rename variables * Format, reorder methods * Fix typo * Remove unused flag, reorder methods * Reorder built-ins, cache components, set player data on _Ready Rather than accessing the nodes all the time through GetNode, just cache them once on _Ready and reuse. This also changes when the player-specific Setters are fired, because when we call Init on join, the node has not really entered the tree yet, so the components were not ready to use. * Add jumping hotkey * Format code, switch to cached components
- Loading branch information
1 parent
a996486
commit 8142ea6
Showing
2 changed files
with
141 additions
and
105 deletions.
There are no files selected for viewing
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
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