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.
Changes:
Gravity tokens are interesting. They were added in the mechanics test, but were never used after. You can assume they became gravity lines, but they're still pretty interesting.
This PR freshens them up a little -- a better default sprite, a sound when you touch them, and making them respawn on death.
Additionally, a few createentity arguments have been added:
meta1
is a sprite ID offsetmeta2
is the colourp1
is if the entity animates or not (0 is doesn't animate)p2
is a sound ID offsetOf course, these additions shouldn't affect gameplay, other than respawning on death which is just convenience (you can just leave and reenter the room to respawn them otherwise), so these changes are solely visual and auditory. Hopefully this breathes some life into the unused entity.
(Who knows, maybe we could even get an edentity later when more of those are added due to the main-game-as-custom-level goal...?)I have now added an edentity for consistency, however this means this PR now affects gameplay.Legal Stuff:
By submitting this pull request, I confirm that...
CONTRIBUTORS
file and the "GitHub Friends"section of the credits for all of said releases, but will NOT be compensated
for these changes