Commit Graph

596 Commits

Author SHA1 Message Date
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
a04538874b Extract some responsibility from MovableObject to Entity 2021-01-31 20:02:27 +01:00
3c7143ad20 Merge Movement object to MovableObject class 2021-01-31 19:00:19 +01:00
14906b7e37 Enable resetting default frame when movement is finished 2021-01-31 18:06:18 +01:00
9c65dbad38 Improve movement code 2021-01-31 17:38:56 +01:00
435b8760d2 Create working PoC of creature movement 2021-01-31 15:12:42 +01:00
845844d15b Create Moveable Object 2021-01-31 14:19:57 +01:00
8d1f78cb1d Split project to submodules 2021-01-31 10:56:55 +01:00
aa81a9d608 Repackage system 2021-01-31 09:43:52 +01:00
42ba67fbb2 Create basic Animator 2021-01-31 01:33:15 +01:00
81b7a7571b Refactor tile system 2021-01-31 00:26:52 +01:00
c76f3df70d Refactor code 2021-01-30 23:07:23 +01:00
4109ef653a Create GameMap object 2021-01-30 21:40:49 +01:00
18aeb06c4e Add support for tilesets 2021-01-30 19:49:00 +01:00
fab70ddc86 Add support for textures 2021-01-30 17:43:17 +01:00
c4fb7ff1d8 Add support for material color
The GL_DEPTH_TEST (in the Window.java) has been disabled (removed)
because in the 2D graphics we don't need that, even more it was making
alpha color-channel unusable.
2021-01-30 14:58:49 +01:00
bd5ad778c9 Remove unnecessary Z-index 2021-01-30 14:26:58 +01:00
a0d46a3b82 Create view and projection matrix for Camera 2021-01-30 14:21:56 +01:00
89ed1b9571 Create model matrix for Object 2021-01-30 14:21:50 +01:00
0594c87f77 Create basic Sprite shape 2021-01-30 14:21:44 +01:00
17d8c9406f Put the OpenGL to work 2021-01-30 14:21:39 +01:00
f480fffc8e Create empty game window 2021-01-30 10:27:04 +01:00
915067f3ca Put the Spring Framework to work 2021-01-30 09:38:55 +01:00
c128e026ec Add required dependencies 2021-01-30 09:32:27 +01:00
04359a1527 Init repo 2021-01-30 09:09:31 +01:00