Commit Graph

196 Commits

Author SHA1 Message Date
2fdb744924 Rename Logic terms to Program in engine 2023-11-16 16:05:57 +01:00
40faccac5f Make MapInitializer accepts Context as an argument 2023-11-16 10:56:22 +01:00
82903463e3 Add layer field to animation | enable animation customization in runners 2023-11-16 10:55:14 +01:00
e1ea66ccb3 Create working lighting system 2023-11-07 16:51:52 +01:00
31029795d4 Implement Euclidean distance for coordinates 2023-11-02 23:02:39 +01:00
76adb78867 Make engine instantiates MapInitializer instead of MapHandler as a map handler 2023-11-02 15:59:00 +01:00
43ff6012d2 Add CompletableFuture for animations 2023-11-02 13:20:31 +01:00
3b62d7c06b Add support for multi-argument widgets' attribute methods 2022-11-23 16:28:29 +01:00
0dc7280462 Add possibility to reset cached maps 2022-09-01 13:27:19 +02:00
0c03bc8a12 Simplify movement triggering code | create helper basic control utility method 2022-08-31 14:44:57 +02:00
2a716f1e23 Revert "Add support for Context global objects"
This reverts commit 5f90d337cf.
2022-08-31 13:56:17 +02:00
f412bd2d69 Add *EventListener methods to Entity 2022-08-31 12:56:16 +02:00
5f90d337cf Add support for Context global objects 2022-08-30 17:22:09 +02:00
3d167ce183 Add support for 2x2 autotiles | create connect auto tile option #3 2022-08-30 12:13:04 +02:00
727a8de28c [Editor] Add support for 2x2 autotiles | create connect auto tile option #2 2022-08-30 10:53:05 +02:00
8920f55a40 Add full support for auto tiles both regular ones and animated 2022-08-29 16:27:23 +02:00
859886be79 Add support for different Tile Sets on each Tile Layer #2 2022-08-26 17:26:49 +02:00
54b0c9b4b9 Enable programmatically referencing Component's components 2022-08-25 18:37:12 +02:00
7d8848c6e5 Improve widgets' attributes parsing engine 2022-08-25 18:23:25 +02:00
43c36a30ec Enable programmatically referencing Window's components 2022-08-25 17:30:05 +02:00
9e416655e7 Fix concurrent modification exception on attempt to remove entity inside for-each-entity loop 2022-08-25 14:01:17 +02:00
18010cbb0f Enable full support for icon sets in GUI 2022-08-24 15:59:34 +02:00
38d7baaef1 Create AbstractEntity class 2022-08-23 20:05:38 +02:00
1715b75eab Swap Sprite and LocationableSprite (now LocationableModel) in inheritance graph 2022-08-23 19:23:10 +02:00
b8400bd23b Refactor speed-related methods to support 1/s unit rather than 1/frame 2022-08-23 13:36:55 +02:00
084eeef79a Enable full support for icon sets 2022-08-23 10:45:57 +02:00
6f9ff07ab2 Clean code after Entity/Character changes 2022-08-23 00:01:40 +02:00
33dad1e6d3 [Proto] Apply the Entity/Character changes 2022-08-22 23:47:49 +02:00
f7fa76036b [Editor] Apply the Entity/Character changes 2022-08-22 23:40:02 +02:00
b8b51bf35d Introduce Character
This commit is huge breaking change.
The Entity class has been downgraded to some generic object which can be pushed onto the ObjectLayer, whereas the former "entity" concept has been replaced with Character class.
2022-08-22 23:00:58 +02:00
439ec984a3 Extract coordinates-related code from Movable to Locationable interface 2022-08-22 19:53:29 +02:00
dc68f3d4ed Create ContextHolder helper class 2022-08-22 11:34:56 +02:00
dccc8fd5ff Improve entity spawner functionality and fix some spawner bugs 2022-08-19 14:33:40 +02:00
a4c7f48a23 Create helper class for distance calculation 2022-08-19 11:30:18 +02:00
46132c556c Add support for setting animation frame 2022-08-18 16:27:18 +02:00
957e8fca0e Enable firing events from Context 2022-08-18 13:49:31 +02:00
cfd3dc7789 [Editor] Bump JVM version to 17 2021-11-23 21:35:03 +01:00
1b9641862b Revert "Add support for disposing GUIs"
This reverts commit 9bc79e940e.
2021-04-09 23:10:30 +02:00
9bc79e940e Add support for disposing GUIs 2021-04-09 12:43:04 +02:00
cf20f390b5 Make GUI and Widget updatables 2021-04-09 10:14:28 +02:00
d3293e3004 Refactor event system | make Context events-aware | introduce GamePauseEvent 2021-04-08 23:00:42 +02:00
808155533d Move game pause logic from GameEngine to Context 2021-04-08 22:18:58 +02:00
028faae564 Add isPaused() and isStopped() methods to Sound interface 2021-04-08 22:17:51 +02:00
c8f182aef1 Add ObjectLayer and GameMap parameters to MapInitializer 2021-04-07 10:29:36 +02:00
125d063af3 Merge KeyEventHandler to Reactive and replace old key event system with Reactive API 2021-04-06 17:29:08 +02:00
898bcc809c Implement event system scaffolding 2021-04-06 11:57:11 +02:00
7c777dca01 Make Path Executor reusable 2021-04-04 22:37:19 +02:00
34c388b1a3 Enable changing Screen resizable parameter and add support for fullscreen mode 2021-04-03 19:21:11 +02:00
e50683880c Add support for scaling (zooming) camera 2021-04-03 17:55:14 +02:00
b10a8b234c Enable MapInitializer for ObjectLayers 2021-04-03 12:48:00 +02:00