summaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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
|
* 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-253-27/+17
| | | | MapLoader was update accordingly to load maps as resources
* 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-241-3/+1
| | | | | 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-244-1/+20
|
* 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-216-51/+73
| | | | | 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-201-1/+1
|
* Refractor MapScene.render() AffineTransformsNao Pross2018-11-203-19/+32
|
* Correct BufferStrategy renderingNao Pross2018-11-201-4/+9
|
* Remove Scene.absoluteRender(), add Scene.build()Nao Pross2018-11-205-21/+34
| | | | | | | | absoluteRender was a useless method since the normal render can be extended by overriding and calling super.render() Scene.build() is a new method which runs once when the scene thread starts, and is meant to be used to initialize the scene.
* Refractor game state change detection / locksNao Pross2018-11-204-27/+53
|
* Move Map loading into Game (out of graphics)Nao Pross2018-11-204-24/+59
|
* Add currentMap to Game, waitStateChange now returns the new stateNao Pross2018-11-202-3/+10
|
* Refractor MapSceneNao Pross2018-11-204-138/+159
|
* Add Game class, fix GameWindow's scene loading / managementNao Pross2018-11-206-61/+229
| | | | | The new Game class contains the state of the game and the main logic to manage maps, actors and scores.
* Make x y members of Tile publicNao Pross2018-11-201-2/+2
|
* Suppress serialVersionUID warningNao Pross2018-11-205-40/+52
|
* Separate MapLoader constructorsNao Pross2018-11-201-6/+6
|
* Implement unbreakable weaponsNao Pross2018-11-201-6/+12
|
* Move util.Palette to graphics.Palette, fix canvas resizeNao Pross2018-11-194-3/+3
|
* Create java package for the projectNao Pross2018-11-1912-7/+40
|
* Set up CardLayout for GameWindow and Scene pause/resumeNao Pross2018-11-194-39/+130
|
* Update GameWindow and remove parent frame dependency on SceneNao Pross2018-11-195-77/+74
|
* Update Scene class (and some derivates) to be abstractNao Pross2018-11-198-63/+83
|
* Add Actor.SkillSet, remove useless members in various strucutresNao Pross2018-11-194-96/+63
|
* Add TODOs for various correctionsHEADmasterNao Pross2018-11-1910-7/+102
|
* initial commitmafaldo2018-11-1811-0/+1434