Commit Graph

124 Commits

Author SHA1 Message Date
a2bffd3840 [Editor] Replace brush range buttons with slider 2021-02-07 10:58:01 +01:00
3af2bba44e [Editor] Create working base for brush range selection
Also: "brush size" has been renamed to "brush range" for the sake of
clarity
2021-02-07 10:41:04 +01:00
0651e774f3 [Editor] Map resizability - attempt III 2021-02-06 13:20:28 +01:00
df53527230 [Editor] Map resizability - attempt II 2021-02-06 13:01:22 +01:00
2bd7687088 [Editor] Map resizability - attempt I 2021-02-06 13:01:09 +01:00
f6fcfdbd81 [Editor] Simplify temporary MainView code 2021-02-06 11:14:03 +01:00
9c1373434e [Editor] Make layer operations undoable 2021-02-06 11:13:37 +01:00
1374f2843b [Editor] Make UndoRedoService context aware 2021-02-06 11:13:28 +01:00
1a8e34f25b [Editor] Remove unnecessary TileSetVM view-model object 2021-02-06 11:13:10 +01:00
13bf2aef9e [Editor] Split MapFragment to single views 2021-02-05 23:20:31 +01:00
064a4976a8 [Editor] Refactor editor code (i.e. 3-space tabs) | optimize imports 2021-02-05 21:05:49 +01:00
eec8ec8a80 [Editor] Enable moving and removing layers 2021-02-05 21:02:16 +01:00
a448ddeee8 [Editor] Enable creating and selecting layers in map editor 2021-02-05 19:59:34 +01:00
9909e23707 [Editor] Introduce GameMapVM view-model object 2021-02-05 18:20:28 +01:00
7266b3fdac [Editor] Introduce BrushVM view-model object 2021-02-05 17:56:58 +01:00
8f3fca3f4b [Editor] Replace map brush-related callbacks with Brush model 2021-02-05 17:34:43 +01:00
d18a38347c [Editor] Install Ikonli - JavaFX icon library 2021-02-05 16:31:44 +01:00
85e4d7ac02 [Editor] Add tiled background to tileset 2021-02-05 08:57:34 +01:00
eb14c98baf [Editor] Create basic map editor layout 2021-02-04 23:27:28 +01:00
18219a065f [Editor] Enable drawing with selected brush 2021-02-04 23:27:21 +01:00
90c2cdcd95 [Editor] Enable tiles selection in TileSetCanvas 2021-02-04 23:27:08 +01:00
8fb2730d09 [Editor] Apply TileSetPane to the MapFragment 2021-02-04 23:26:53 +01:00
acc0c1bd55 [Editor] Improve brushes 2021-02-04 23:26:42 +01:00
e5f1ef1260 [Editor] Create brushes 2021-02-04 23:26:30 +01:00
29e9a0ec6a [Editor] Implement TabPane in MainView | make MapFragment immutable 2021-02-04 17:37:11 +01:00
fc8e7128ed [Editor] Create working PoC of tile drawing 2021-02-04 13:15:03 +01:00
c0c04233bd [Editor] Remove unnecessary map rendering in loop 2021-02-04 10:37:27 +01:00
d94e810977 [Editor] Create basic undo/redo system 2021-02-04 09:22:41 +01:00
db55743aed [Editor] Leverage Spring Framework to work as DI container 2021-02-04 08:17:44 +01:00
7a5ba2c4e2 [Editor] Add support for map scaling 2021-02-04 08:16:51 +01:00
c798cd7e5f [Editor] Enable creating empty MapFragment 2021-02-03 23:37:49 +01:00
d06984b261 [Editor] Refactor map model 2021-02-03 23:19:57 +01:00
f69823266b [Editor] Enable displaying map 2021-02-03 22:52:42 +01:00
73d0d94553 Create execution time measurement aspect 2021-02-03 22:48:05 +01:00
46baed4335 Create FPS monitor 2021-02-03 22:47:51 +01:00
de80cf04ed Create image layer 2021-02-02 20:35:08 +01:00
1b87af14b2 Replace Scene with GameMap | improve GameMap to allow variable layers
From now on, GameMap is the central container for objects
and is acting as a scene was before.
What's more, GameMap is not restricted to 4 layers anymore.
User can combine TileLayers (which define the terrain)
and ObjectLayers (which can contain movable objects) together
and is no limited to have only one ObjectLayer.
Thanks to that it would be easier to implement i.e. birds which actually
are a movable objects and are flying above the map and the highest
terrain (top TileLayers in fact).
2021-02-02 11:36:26 +01:00
1c47e66022 [Editor] Update TornadoFX version to 2.0.0-SNAPSHOT 2021-02-02 00:24:24 +01:00
353ebe1189 [Editor] Install TornadoFX module 2021-02-01 22:01:39 +01:00
2e82402a52 Create Editor module 2021-02-01 19:56:26 +01:00
30a508fb7b Do a slight improvement on GameMap and add 'performed' flag to Movement 2021-02-01 14:46:31 +01:00
b047a2530a Make Scene implements Updatable interface 2021-02-01 13:50:51 +01:00
8e2c63aac7 Introduce pushToScene() and removeFromScene() Entity's methods 2021-02-01 13:19:54 +01:00
44e875299a Fix invalid tile coordinates in GameMap.setTile() method 2021-02-01 12:49:07 +01:00
b6439e010a Introduce off heap garbage collector 2021-02-01 12:38:11 +01:00
71a1e47d24 Create basic movement collision detector 2021-02-01 10:55:09 +01:00
a141354439 Do some little improvements in the code 2021-02-01 08:53:47 +01:00
93c61e371f Repackage Entity-related code 2021-02-01 00:04:19 +01:00
212073d48a Fix some little bugs 2021-01-31 23:55:59 +01:00
050fa14631 Introduce MeshManager and EntityManager 2021-01-31 23:22:47 +01:00