FIx ampire bot and black crystal.#21
Open
jgilmore wants to merge 5 commits into
Open
Conversation
It seems that whoever implemented this reimplementation had a faster computer than I. With the shorter turnstyle time, I fail to make it and have to re-retrieve the token about three times out of four. This isn't supposed to be a twitch game, but a puzzle game. Redoing the same parts over isn't useful, so I've increased the time to make it hard NOT to make it.
Black crystal is now a negatively charged normal crystal. Fixes ampire bot death not working. Fixes black crystal not chargable. removes redundant "BlackCrystal" class. Also reduces code copy'n'pasteing (a little bit, anyway.) In the original game, the black crystal could be charged, becoming a normal crystal. Thus giving you two energy crystals through the rest of the game.
There's probably a better way to do it. But when I hit the "Run" button, it runs. So I'm reluctant to mess with it further. Make an exec target for maven/eclipse integration added some eclipse related files to .gitignore added save games to .gitignore (how where they not there before? Running start.sh would have created them...)
Hardest part here was getting "array.sort" to accept the new comparitor class as the correct type. I think. If I read the error messages correctly. Man, java's weird.
Pass "debug" anwhere in the command line to re-enable. Moved cheatmode variable to the DQ object, and initialize it before the DQ object is created. So main menu message works correctly, and the cheatmode is per gaming session, not per level or per savegame.
This file contains hidden or 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
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.
Ampire bot doesn't die reliably. I say reliably because I got it to work ONCE, and ever after it ignores the black crystal.
Also, on level 2 you're supposed to be able to charge the black crystal, changing it into a normal crystal, and giving you two energy crystals throughout the rest of the game.
(I also have a turnstyle twitch slowdown here, which I can move to another pull request if you care that much...)
Note that since this removes BlackCrystal.java, old save games won't work AND YOU ALSO MUST MANUALLY DELETE RO1.LVL in the root directory. Since it's automatically created ANYWAY, I don't know why we bother to keep it around?
I don't know any easy way to fix the above.