Commit Graph

492 Commits

Author SHA1 Message Date
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
b5f13b95b2 [Editor] Enable full support icon sets in editor 2022-08-22 19:22:59 +02:00
5fc12dbe66 [Proto] Create icon sets in project proto 2022-08-22 19:22:02 +02:00
cb2b688a88 [Editor] Add support for providing tile size in TileSet import modal 2022-08-22 15:53:16 +02:00
c3a55053bb [Editor] Improve autogenerated DAOs 2022-08-22 11:48:28 +02:00
dc68f3d4ed Create ContextHolder helper class 2022-08-22 11:34:56 +02:00
6b5df7ad24 Apply little fix with generated DAO code 2022-08-21 23:14:14 +02:00
bf41be5e6a [Editor] Add support for generating asset index classes 2022-08-19 17:33:05 +02:00
dccc8fd5ff Improve entity spawner functionality and fix some spawner bugs 2022-08-19 14:33:40 +02:00
5c97a014f5 Add support for changing target/danger of built-in AI strategies 2022-08-19 12:11:05 +02:00
cfd53fdd10 Create entity spawner utility class 2022-08-19 11:30:46 +02:00
a4c7f48a23 Create helper class for distance calculation 2022-08-19 11:30:18 +02:00
44782d1328 Create KeepStraightDistanceAI AI strategy 2022-08-18 22:36:46 +02:00
05f55c482d [Editor] Add support for generating DAOs 2022-08-18 20:10:16 +02:00
a0774499db Create helper DiceRoller class 2022-08-18 16:27:18 +02:00
46132c556c Add support for setting animation frame 2022-08-18 16:27:18 +02:00
f09fb6a944 Create RunawayAI AI strategy 2022-08-18 16:27:08 +02:00
09d526d2b4 Improve BulletAnimationRunner 2022-08-18 14:06:35 +02:00
957e8fca0e Enable firing events from Context 2022-08-18 13:49:31 +02:00
5650154c23 [Editor] Fix issue with adding objects to ObjectLayer 2021-11-28 23:24:55 +01:00
e04c125d22 [Editor] Fix circular dependencies 2021-11-28 23:24:21 +01:00
126a96e90c Update base dependencies 2021-11-28 23:23:59 +01:00
67a131bd3e [Editor] Add support for importing maps from files 2021-11-28 18:37:31 +01:00
225dd84b21 Refactor FollowEntityAI 2021-11-28 16:04:24 +01:00
f576d8fc1b [Editor] Enable generating constant with UID in MapHandler classes 2021-11-23 23:40:17 +01:00
2337dc98bf Make all methods default in GameRunner and MapHandler 2021-11-23 23:39:14 +01:00
cfd3dc7789 [Editor] Bump JVM version to 17 2021-11-23 21:35:03 +01:00
688fb8eea6 Bump Lombok version up 2021-11-22 18:55:42 +01:00
fee64672ee Bump Gradle wrapper version up 2021-11-22 18:55:28 +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
8d709709a8 Improve FollowEntityAI to recompute path only on demand 2021-04-07 09:25:40 +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
a11773e60c Transform Path class to interface
This is necessary to introduce a MovementPath, which is a special Path implementation that contains only non-ignore MoveSegments specialized to include also a target coordinates. Thanks to that, the PathFinder can create a path with consecutive directions as well as the coordinates that can be iterated in order to find, if no other Entity is blocking the path (`contains()` method in MovementPath).
2021-04-04 23:55:14 +02:00
7c777dca01 Make Path Executor reusable 2021-04-04 22:37:19 +02:00
b0655a0bb1 Improve PathFinder - add support for finding Path<T extends Movable> 2021-04-04 22:16:01 +02:00
34c388b1a3 Enable changing Screen resizable parameter and add support for fullscreen mode 2021-04-03 19:21:11 +02:00
13c0a66af0 Create CameraController interface and following camera implementation 2021-04-03 17:55:54 +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
d3755708d1 [Editor] Put MapObjectsCodeGenerator to work 2021-04-03 12:47:16 +02:00
fc96de47c5 Create MapInitializer internal interface 2021-04-03 12:22:16 +02:00
bc4722592b [Editor] Add JavaPoet to editor classpath 2021-04-03 09:59:31 +02:00