summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update gitignoredevNao Pross2018-12-161-0/+3
|
* Add initial XML obj representation for MapNao Pross2018-12-153-1/+74
|
* Remove Gson dependency start custom libjtmx implementationNao Pross2018-12-157-12/+24
| | | | | | | | This commit breaks MapLoader and by consequence the entire game. Being in Java 9+ now we will have multiple modules, namely: - libjtmx: separate minimal tmx (tiled) files loader library - subconscious: the game itself
* Change Tile.loaded to Tile.activeNao Pross2018-12-132-10/+12
|
* Fix Map.getSize() to return a DimensionNao Pross2018-12-123-7/+6
|
* Add loaded member to sprites and minor correctionsNao Pross2018-12-124-21/+36
|
* Update makefile to allow disablig -Xmx flagNao Pross2018-12-121-1/+5
|
* Minor access and synchronization correctionsNao Pross2018-12-126-28/+34
|
* Separate UPS from FPS, make thread for GameWindow (graphics thread)Nao Pross2018-12-125-106/+236
| | | | | | | | The separation of game logic updates from render updates is necessary to proceed on the implementation of sprites. Otherwise the speed of animations of menus and sprites would depend on the game update speed. This commit breaks PerfView.
* Add initial impl for spritesNao Pross2018-12-072-2/+49
|
* Fix NullPointerException on MapScene.tileAtCoordinates()Nao Pross2018-12-041-2/+6
|
* Replace old BattleScene code with new impl from WorldSceneNao Pross2018-12-035-303/+43
|
* Start impl of TurnInfo widget to show mission detailsNao Pross2018-12-032-1/+33
|
* Fix anchors, add TerrainInfo widgetNao Pross2018-12-036-24/+98
|
* Update ActorInfoNao Pross2018-12-032-3/+3
|
* Add widget anchors to place widgets in relative positionsNao Pross2018-12-032-1/+36
|
* Update PerfView to show FPS instead of DeltaTimeNao Pross2018-12-032-7/+10
|
* Refractor sleep in Scene rendering loop for better performanceNao Pross2018-12-032-28/+37
| | | | ~10 us improvement
* Update Scene thread pause to use a higher level interfaceNao Pross2018-12-032-18/+12
| | | | | Scene now uses locks from java.util.concurrent.lock instead of the internal Object.{notify(), wait()}
* Connect ActorInfo to mouse events to show info of actor under cursorNao Pross2018-12-025-12/+78
|
* Update makefile to make javac errors more verboseNao Pross2018-12-021-1/+1
|
* Add static class Font, update ActorInfo panelNao Pross2018-12-025-37/+90
|
* Update default window size to 720pNao Pross2018-12-021-1/+1
|
* Add option to not render the grid to MapSceneNao Pross2018-11-272-7/+14
|
* Add unscii-16 as default font in SceneNao Pross2018-11-274-8/+34
| | | | | There is also CamingoCode-Regular.ttf that can be used in the future for dev stuff in the UI.
* Deleted Game.start() content, add check for state changeNao Pross2018-11-261-2/+4
|
* Fix PerfView text colorNao Pross2018-11-261-0/+3
|
* Capitalize actor names in testmap.jsonNao Pross2018-11-261-1/+1
|
* Add WorldScene and ActorInfo widgetNao Pross2018-11-267-19/+101
| | | | | The Scene canvas is now added in MapScene (still a temporary workaround) in a 1x1 GridLayout.
* Remove old MapEditor codeNao Pross2018-11-253-268/+1
|
* Minor makefile correctionNao Pross2018-11-251-1/+1
| | | | It was copying another res folder inside res
* Make Map.get take a path relative to /subconscious/res/mapsNao Pross2018-11-252-2/+8
|
* Add jar recipe in Makefile, move res folder inside packageNao Pross2018-11-255-29/+25
| | | | MapLoader was update accordingly to load maps as resources
* Remove super dangerous pack recipe from makefileNao Pross2018-11-241-16/+2
| | | | | It has some problems and deletes everything on your working directory. Super dangerous.
* Rename MenuScene to MainMenuScene and minor code cleanupNao Pross2018-11-2410-48/+29
|
* Add simple PerfView widget to show the deltaTimeNao Pross2018-11-242-0/+34
|
* Add dynamic widgets (update on every gameloop tick)Nao Pross2018-11-242-3/+27
|
* Enable use of assertionsNao Pross2018-11-242-3/+7
| | | | | Assertions are faster and normally not enabled, so they are a good to debug when things that *should* never happen, happen.
* Call Game.update() on Scene loopNao Pross2018-11-242-1/+8
|
* Add RenderingHints and minor performance improvementsNao Pross2018-11-245-3/+21
|
* Remove Swing dependencyNao Pross2018-11-243-18/+12
| | | | We can build everything on top of AWT
* Update MapScene size members on window resizeNao Pross2018-11-242-1/+15
|
* Add simple widget.Clickable interface with example ButtonNao Pross2018-11-214-3/+44
|
* Start implementation of widgets featureNao Pross2018-11-212-1/+47
|
* Comment out annoying @Deprecated for MapLoaderNao Pross2018-11-211-3/+3
|
* Disable Pause feature, add scene UNIQUE_NAME generatorNao Pross2018-11-217-52/+75
| | | | | There is a bug with the management of the scenes that has to be solved before implementing the pause (and consequently PauseScene)
* Fix InvalidStateException at scene loading, add Scene.requestScene()Nao Pross2018-11-216-87/+138
| | | | | The internal game state management has also been changed for the new scene management in the graphics
* Generalize to use only Scenes, attempt to implement pauseNao Pross2018-11-219-137/+275
| | | | Compiles, but its totally broken
* Add res folder for resourcesNao Pross2018-11-202-1/+1
|
* Refractor MapScene.render() AffineTransformsNao Pross2018-11-203-19/+32
|