To compile the program, type:
javac -cp lanterna.jar:. PokemonMysteryD.java
To run the program, type:
java -cp lanterna.jar:. PokemonMysteryD
OR:
java -Djava.awt.headless=true -cp lanterna.jar:. PokemonMysteryD
- Created Pokemon Class
- Added Instance Variables
- Added Accessor Methods
- Added the ability to add moves to its moveset.
- Added basic toString()
- Created Move Class
- Added Instance Variables
- Added Accessor Methods
- Added basic toString()
- Added implementation of decrease and increase of PP.
- Create Sample Test Driver to test methods for Move and Pokemon.
- Created Tile Class
- Added Instance Variables
- Added Constructors
- Added Accessors
- Added makeWalkable method to setColor and change variable at same time
- Created Map Class
- Created Instance Variables for start coordinates and a 2D array of the Tiles
- Created buildArea method to create an area around a point is walkable with randomly generated sizes
- Started work on terrain generation using buildArea
- Wrote main for PokemonMysteryD class to view Map class using Lanterna
- Tweaked Map Class
- Changed the way swaths of walkable land were generated by changing how the path was generated
- Adjusted values to ensure that all the walkable land were always connected
- Fixed new bugs that prevented map from displaying properly
- Add location x,y instance variables for the Pokemon class.
- Also edited constructor and add the "symbol" instance variable.
- Create Player Class that utilizes the Pokemon class.
- Create accessor methods, mutator methods, etc.
- Update Driver with code utilizing the Player class.
To sleep or to work on APCS project? A wise pokemon trainer told me to sleep.
- Merge the changes in bl/pokemon to master.
- Change int color to an array of ints to be used for specific methods dealing with background/fore-color in the lanterna documentation.
- Git rebase to remove changes in a previous commit that caused issues before merging.
- Changed map starting size and randomized starting location near center on map
- Changed from using Terminal.color to using rgb values for the map
- Created setBg method to use replace how the background is currently set and to be used to reset background color after Pokemon has moved on it.
- Dealt with lots of problems after merging before pushing commits and messing up with moving the HEAD.
- Changed setBg
- Created method to spawn pokemon at given location
- Created methods to randomly spawn player pokemon
- Started on options screen.
- Created new branch: "options"
- Understand Lanterna implementation
- putString(), refresh(), etc.
- Completed transition between options and gameplay.
- Background and color schemes were edited.
- Added new imports for "TerminalSize", etc.
- Made sure islands don't spawn on map
- Spawns moving pokemon
- Figured out how to revert to orignal colors on the path behind pokemon
- Made walls not walkable
- Made pokemon not move when it reaches a wall, but there's an unknown bug with that that freezes the pokemon
- Did lots and lots of debugging and fixed the code such that the player Pokemon stops when it hits a wall
- Changed map size
- Worked on creating more instructions and options.
- Made things cleare and more visible to cause less problems with merging
- Spawned Partner Pokemon
- Move partner Pokemon along with player pokemon
- Made Pokemon randomizer class to choose random pokemons to start with
- Created stairs on map. Starts new level once you reach those stairs
- Used POkemon randomizer class to spawn random pokemons on map
- added code to make sure that Pokemons don't walk on top of each other
- Create basic Start Screen template
- Merged Qiong's work and mine
- Fixed most errors between transitions of start screen and options and dungeon gameplay.
- Edit pokemon randomizer to only spawn 6 pokemon per floor rather than 15.
- Fix bugs and issues when switching from gameplay and the option screen by using the Backspace.
- Create messages that appear in the combat box by pressing either WASD to "face" and 1,2,3,4 for specific moves.
- Edit instructions slightly by providing some visuals and objectives as well as new key controls.
- Clear useless files that existed previously in the project.
- Create Pokemon Information screen that appears below the combat messages.
- Added code to have pokemons move towards player after every step
- Made sure that pokemons only moved towards player half the time to prevent swarming
- Fixed swarming even more
- Implemented heal potion tile
- Randomly choose between map tile theme
- Fixed glitch where you can move your player/pokemon in the options screen.
- Implemented combat for the enemies present on the map.
- Puts up a blank screen once game over occurs. (Planning to add messages/graphics for "Game Over" and "Restart" tomorrow.