Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2018-12-12 | Separate UPS from FPS, make thread for GameWindow (graphics thread) | Nao Pross | 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. | |||||
2018-12-07 | Add initial impl for sprites | Nao Pross | 2 | -2/+49 | |
2018-12-04 | Fix NullPointerException on MapScene.tileAtCoordinates() | Nao Pross | 1 | -2/+6 | |
2018-12-03 | Replace old BattleScene code with new impl from WorldScene | Nao Pross | 5 | -303/+43 | |
2018-12-03 | Start impl of TurnInfo widget to show mission details | Nao Pross | 2 | -1/+33 | |
2018-12-03 | Fix anchors, add TerrainInfo widget | Nao Pross | 6 | -24/+98 | |
2018-12-03 | Update ActorInfo | Nao Pross | 2 | -3/+3 | |
2018-12-03 | Add widget anchors to place widgets in relative positions | Nao Pross | 2 | -1/+36 | |
2018-12-03 | Update PerfView to show FPS instead of DeltaTime | Nao Pross | 2 | -7/+10 | |
2018-12-03 | Refractor sleep in Scene rendering loop for better performance | Nao Pross | 2 | -28/+37 | |
~10 us improvement | |||||
2018-12-03 | Update Scene thread pause to use a higher level interface | Nao Pross | 2 | -18/+12 | |
Scene now uses locks from java.util.concurrent.lock instead of the internal Object.{notify(), wait()} | |||||
2018-12-02 | Connect ActorInfo to mouse events to show info of actor under cursor | Nao Pross | 5 | -12/+78 | |
2018-12-02 | Add static class Font, update ActorInfo panel | Nao Pross | 5 | -37/+90 | |
2018-12-02 | Update default window size to 720p | Nao Pross | 1 | -1/+1 | |
2018-11-27 | Add option to not render the grid to MapScene | Nao Pross | 2 | -7/+14 | |
2018-11-27 | Add unscii-16 as default font in Scene | Nao Pross | 4 | -8/+34 | |
There is also CamingoCode-Regular.ttf that can be used in the future for dev stuff in the UI. | |||||
2018-11-26 | Deleted Game.start() content, add check for state change | Nao Pross | 1 | -2/+4 | |
2018-11-26 | Fix PerfView text color | Nao Pross | 1 | -0/+3 | |
2018-11-26 | Capitalize actor names in testmap.json | Nao Pross | 1 | -1/+1 | |
2018-11-26 | Add WorldScene and ActorInfo widget | Nao Pross | 7 | -19/+101 | |
The Scene canvas is now added in MapScene (still a temporary workaround) in a 1x1 GridLayout. | |||||
2018-11-25 | Remove old MapEditor code | Nao Pross | 3 | -268/+1 | |
2018-11-25 | Make Map.get take a path relative to /subconscious/res/maps | Nao Pross | 2 | -2/+8 | |
2018-11-25 | Add jar recipe in Makefile, move res folder inside package | Nao Pross | 3 | -27/+17 | |
MapLoader was update accordingly to load maps as resources | |||||
2018-11-24 | Rename MenuScene to MainMenuScene and minor code cleanup | Nao Pross | 10 | -48/+29 | |
2018-11-24 | Add simple PerfView widget to show the deltaTime | Nao Pross | 2 | -0/+34 | |
2018-11-24 | Add dynamic widgets (update on every gameloop tick) | Nao Pross | 2 | -3/+27 | |
2018-11-24 | Enable use of assertions | Nao Pross | 1 | -3/+1 | |
Assertions are faster and normally not enabled, so they are a good to debug when things that *should* never happen, happen. | |||||
2018-11-24 | Call Game.update() on Scene loop | Nao Pross | 2 | -1/+8 | |
2018-11-24 | Add RenderingHints and minor performance improvements | Nao Pross | 4 | -1/+20 | |
2018-11-24 | Remove Swing dependency | Nao Pross | 3 | -18/+12 | |
We can build everything on top of AWT | |||||
2018-11-24 | Update MapScene size members on window resize | Nao Pross | 2 | -1/+15 | |
2018-11-21 | Add simple widget.Clickable interface with example Button | Nao Pross | 4 | -3/+44 | |
2018-11-21 | Start implementation of widgets feature | Nao Pross | 2 | -1/+47 | |
2018-11-21 | Comment out annoying @Deprecated for MapLoader | Nao Pross | 1 | -3/+3 | |
2018-11-21 | Disable Pause feature, add scene UNIQUE_NAME generator | Nao Pross | 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) | |||||
2018-11-21 | Fix InvalidStateException at scene loading, add Scene.requestScene() | Nao Pross | 6 | -87/+138 | |
The internal game state management has also been changed for the new scene management in the graphics | |||||
2018-11-21 | Generalize to use only Scenes, attempt to implement pause | Nao Pross | 9 | -137/+275 | |
Compiles, but its totally broken | |||||
2018-11-20 | Add res folder for resources | Nao Pross | 1 | -1/+1 | |
2018-11-20 | Refractor MapScene.render() AffineTransforms | Nao Pross | 3 | -19/+32 | |
2018-11-20 | Correct BufferStrategy rendering | Nao Pross | 1 | -4/+9 | |
2018-11-20 | Remove Scene.absoluteRender(), add Scene.build() | Nao Pross | 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. | |||||
2018-11-20 | Refractor game state change detection / locks | Nao Pross | 4 | -27/+53 | |
2018-11-20 | Move Map loading into Game (out of graphics) | Nao Pross | 4 | -24/+59 | |
2018-11-20 | Add currentMap to Game, waitStateChange now returns the new state | Nao Pross | 2 | -3/+10 | |
2018-11-20 | Refractor MapScene | Nao Pross | 4 | -138/+159 | |
2018-11-20 | Add Game class, fix GameWindow's scene loading / management | Nao Pross | 6 | -61/+229 | |
The new Game class contains the state of the game and the main logic to manage maps, actors and scores. | |||||
2018-11-20 | Make x y members of Tile public | Nao Pross | 1 | -2/+2 | |
2018-11-20 | Suppress serialVersionUID warning | Nao Pross | 5 | -40/+52 | |
2018-11-20 | Separate MapLoader constructors | Nao Pross | 1 | -6/+6 | |
2018-11-20 | Implement unbreakable weapons | Nao Pross | 1 | -6/+12 | |