about summary refs log tree commit diff stats
path: root/src/com
Commit message (Collapse)AuthorAgeFilesLines
* Started work on mobsStarla Insigna2012-06-035-26/+188
| | | | Mice are randomly added to rooms and they move randomly. They move through the player, currently, however.
* Consolidated makeRoom methodStarla Insigna2012-06-033-202/+159
|
* Removed screen refresh loopStarla Insigna2012-06-031-12/+12
| | | | Now, the screen repaints itself only after it changes (or the component resizes or something and needs to be repainted). This is much better than the refresh loop because it uses much less CPU and doesn't make your computer's fan growl at you.
* Added field of view (using recursive shadowcasting)Starla Insigna2012-06-031-11/+98
|
* Added background colors for tilesStarla Insigna2012-06-032-16/+40
|
* Replaced basic dungeon generator with a much cooler oneStarla Insigna2012-06-023-81/+537
| | | | Also added support for more than two types of tiles, which are represented by characters. Later I'll add the functionality for different coloring of characters, because the bright Xs are kind of annoying.
* Added basic random dungeon generator and moving viewportStarla Insigna2012-06-022-25/+147
|
* Fixed wonky charactersStarla Insigna2012-06-027-23/+104
| | | | Instead of rendering a font, characters are now taken from a character map. Also, tick() was removed from GameState because it is only ever called after processInput() and so there's no real point in having separate methods.
* Added movable playerStarla Insigna2012-06-026-67/+188
| | | | TileGameState has been renamed to MapViewGameState. Currently, there is a an @ symbol that can be moved around by pressing the arrow keys on the keyboard. The symbol is not perfectly positioned in its tile, which is a problem. Also, it looks pretty fuzzy and bad. The tiles of the game state also now change randomly every few turns.
* Created GameState mechanismStarla Insigna2012-06-024-51/+152
| | | | I'm using a rendering system based off of FourPuzzle's, but less ugly. This one comes with built in variable window size, so the last commit was a bit unnecessary. TileGameState is just a dummy that does what the last commit did: display randomly colored tiles. 320x240 for game size is also just a placeholder for now.
* Added variable size tilesStarla Insigna2012-06-021-4/+68
|
* Created a windowStarla Insigna2012-06-021-0/+27