Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove Gson dependency start custom libjtmx implementation | Nao Pross | 2018-12-15 | 4 | -5/+17 |
| | | | | | | | | 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.active | Nao Pross | 2018-12-13 | 2 | -10/+12 |
| | |||||
* | Fix Map.getSize() to return a Dimension | Nao Pross | 2018-12-12 | 3 | -7/+6 |
| | |||||
* | Add loaded member to sprites and minor corrections | Nao Pross | 2018-12-12 | 4 | -21/+36 |
| | |||||
* | Minor access and synchronization corrections | Nao Pross | 2018-12-12 | 6 | -28/+34 |
| | |||||
* | Separate UPS from FPS, make thread for GameWindow (graphics thread) | Nao Pross | 2018-12-12 | 5 | -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 sprites | Nao Pross | 2018-12-07 | 2 | -2/+49 |
| | |||||
* | Fix NullPointerException on MapScene.tileAtCoordinates() | Nao Pross | 2018-12-04 | 1 | -2/+6 |
| | |||||
* | Replace old BattleScene code with new impl from WorldScene | Nao Pross | 2018-12-03 | 5 | -303/+43 |
| | |||||
* | Start impl of TurnInfo widget to show mission details | Nao Pross | 2018-12-03 | 2 | -1/+33 |
| | |||||
* | Fix anchors, add TerrainInfo widget | Nao Pross | 2018-12-03 | 6 | -24/+98 |
| | |||||
* | Update ActorInfo | Nao Pross | 2018-12-03 | 2 | -3/+3 |
| | |||||
* | Add widget anchors to place widgets in relative positions | Nao Pross | 2018-12-03 | 2 | -1/+36 |
| | |||||
* | Update PerfView to show FPS instead of DeltaTime | Nao Pross | 2018-12-03 | 2 | -7/+10 |
| | |||||
* | Refractor sleep in Scene rendering loop for better performance | Nao Pross | 2018-12-03 | 2 | -28/+37 |
| | | | | ~10 us improvement | ||||
* | Update Scene thread pause to use a higher level interface | Nao Pross | 2018-12-03 | 2 | -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 cursor | Nao Pross | 2018-12-02 | 5 | -12/+78 |
| | |||||
* | Add static class Font, update ActorInfo panel | Nao Pross | 2018-12-02 | 5 | -37/+90 |
| | |||||
* | Update default window size to 720p | Nao Pross | 2018-12-02 | 1 | -1/+1 |
| | |||||
* | Add option to not render the grid to MapScene | Nao Pross | 2018-11-27 | 2 | -7/+14 |
| | |||||
* | Add unscii-16 as default font in Scene | Nao Pross | 2018-11-27 | 4 | -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 change | Nao Pross | 2018-11-26 | 1 | -2/+4 |
| | |||||
* | Fix PerfView text color | Nao Pross | 2018-11-26 | 1 | -0/+3 |
| | |||||
* | Capitalize actor names in testmap.json | Nao Pross | 2018-11-26 | 1 | -1/+1 |
| | |||||
* | Add WorldScene and ActorInfo widget | Nao Pross | 2018-11-26 | 7 | -19/+101 |
| | | | | | The Scene canvas is now added in MapScene (still a temporary workaround) in a 1x1 GridLayout. | ||||
* | Remove old MapEditor code | Nao Pross | 2018-11-25 | 3 | -268/+1 |
| | |||||
* | Make Map.get take a path relative to /subconscious/res/maps | Nao Pross | 2018-11-25 | 2 | -2/+8 |
| | |||||
* | Add jar recipe in Makefile, move res folder inside package | Nao Pross | 2018-11-25 | 3 | -27/+17 |
| | | | | MapLoader was update accordingly to load maps as resources | ||||
* | Rename MenuScene to MainMenuScene and minor code cleanup | Nao Pross | 2018-11-24 | 10 | -48/+29 |
| | |||||
* | Add simple PerfView widget to show the deltaTime | Nao Pross | 2018-11-24 | 2 | -0/+34 |
| | |||||
* | Add dynamic widgets (update on every gameloop tick) | Nao Pross | 2018-11-24 | 2 | -3/+27 |
| | |||||
* | Enable use of assertions | Nao Pross | 2018-11-24 | 1 | -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 loop | Nao Pross | 2018-11-24 | 2 | -1/+8 |
| | |||||
* | Add RenderingHints and minor performance improvements | Nao Pross | 2018-11-24 | 4 | -1/+20 |
| | |||||
* | Remove Swing dependency | Nao Pross | 2018-11-24 | 3 | -18/+12 |
| | | | | We can build everything on top of AWT | ||||
* | Update MapScene size members on window resize | Nao Pross | 2018-11-24 | 2 | -1/+15 |
| | |||||
* | Add simple widget.Clickable interface with example Button | Nao Pross | 2018-11-21 | 4 | -3/+44 |
| | |||||
* | Start implementation of widgets feature | Nao Pross | 2018-11-21 | 2 | -1/+47 |
| | |||||
* | Comment out annoying @Deprecated for MapLoader | Nao Pross | 2018-11-21 | 1 | -3/+3 |
| | |||||
* | Disable Pause feature, add scene UNIQUE_NAME generator | Nao Pross | 2018-11-21 | 6 | -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 Pross | 2018-11-21 | 6 | -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 pause | Nao Pross | 2018-11-21 | 9 | -137/+275 |
| | | | | Compiles, but its totally broken | ||||
* | Add res folder for resources | Nao Pross | 2018-11-20 | 1 | -1/+1 |
| | |||||
* | Refractor MapScene.render() AffineTransforms | Nao Pross | 2018-11-20 | 3 | -19/+32 |
| | |||||
* | Correct BufferStrategy rendering | Nao Pross | 2018-11-20 | 1 | -4/+9 |
| | |||||
* | Remove Scene.absoluteRender(), add Scene.build() | Nao Pross | 2018-11-20 | 5 | -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 / locks | Nao Pross | 2018-11-20 | 4 | -27/+53 |
| | |||||
* | Move Map loading into Game (out of graphics) | Nao Pross | 2018-11-20 | 4 | -24/+59 |
| | |||||
* | Add currentMap to Game, waitStateChange now returns the new state | Nao Pross | 2018-11-20 | 2 | -3/+10 |
| | |||||
* | Refractor MapScene | Nao Pross | 2018-11-20 | 4 | -138/+159 |
| |