Commit Graph

423 Commits

Author SHA1 Message Date
22b4a9f7f8 [Editor] Enable creating directory path when copying file to JAR archive 2021-03-09 12:17:56 +01:00
95c2f021a9 [Editor] Fix invalid keyboard shortcuts handling 2021-03-09 12:15:37 +01:00
edf5a50f05 Make FollowEntityAI configurable via constructor arguments 2021-03-08 20:19:46 +01:00
4768b1abd3 Remove print() method from AstarPathFinder class 2021-03-08 20:06:23 +01:00
1f02518cd8 Remove unnecessary PassageAbility (other than ALLOW and BLOCK) 2021-03-08 20:01:06 +01:00
bbae364908 Implement FollowEntityAI strategy | Discard other passage abilities than BLOCK and ALLOW 2021-03-08 19:40:32 +01:00
8b09f16827 Implement A* path finding algorithm 2021-03-08 19:40:32 +01:00
e1252f1638 Create PathFinder interface 2021-03-08 19:40:20 +01:00
ba3404c8ad Create working PoC of A* algorithm 2021-03-08 10:29:46 +01:00
56f740facd Add getMap() method to Layer interface 2021-03-08 10:29:45 +01:00
cb40c10f99 [Editor] Enable JDKCompiler and make it default compiler 2021-03-08 10:26:29 +01:00
b259fc1a10 Fix RenderableContext didn't check if mapHandler is null in input() 2021-03-08 08:45:26 +01:00
ad991fcf39 Create FollowPathAI and NoopAI artificial intelligence strategies 2021-03-06 10:24:54 +01:00
61dc5f89b4 Improve other entities collision detection 2021-03-06 09:26:40 +01:00
4e54db4952 Create AI scaffolding 2021-03-05 23:49:00 +01:00
dabc49d557 Fix invalid image layers handling with NORMAL mode 2021-03-05 21:09:15 +01:00
c8e2a7faee [Editor] Suppress unchecked cast warning in ParametersTableFragment 2021-03-05 21:08:16 +01:00
bc604b52df Refactor Movement 2021-03-05 19:57:03 +01:00
842de3349f [Editor] Make Map Editor shows cursor coordinates starting from 0, 0 2021-03-05 14:28:10 +01:00
7520eb70d0 Create lifecycle hooks in MapHandler and Entity 2021-03-05 14:14:05 +01:00
c4877f5667 Create BaseRule and EntityDelegate helper abstract classes 2021-03-05 11:01:46 +01:00
682a77ca38 Rename Rule methods 2021-03-05 11:00:59 +01:00
f8190a9d46 Create some useful geometric methods 2021-03-04 22:23:55 +01:00
b8d2fdda53 Create Rule system scaffolding 2021-03-04 20:12:04 +01:00
b80c5c4687 Use interfaces wherever it's possible in :api and :engine 2021-03-04 11:43:24 +01:00
0644815c5f Refactor layers-related code in :api 2021-03-03 21:01:47 +01:00
f5d29f7421 Extract ObjectLayer interface to :api 2021-03-03 20:59:17 +01:00
b31d8ab3f0 Extract ColorLayer interface to :api 2021-03-03 20:33:03 +01:00
f4b1b388e0 Extract ImageLayer interface to :api 2021-03-03 20:14:54 +01:00
4f1cef4d43 Extract TileLayer interface to :api 2021-03-03 18:51:15 +01:00
5f26c88601 [Editor] Improve Java classes tree appearance and add Rebuild & run item to build menu 2021-03-03 14:45:28 +01:00
07d546b7d0 Refactor camera access in Context interface 2021-03-03 14:10:58 +01:00
50bb1d072d Move some internal API classes to the game package 2021-03-03 13:53:00 +01:00
01e4beac0a Refactor input interfaces in :api 2021-03-03 13:50:46 +01:00
ed180b2bc4 Refactor Entity and ObjectLayer 2021-03-03 13:44:06 +01:00
403453efba Extract some interfaces from :engine to :api 2021-03-03 13:40:01 +01:00
6d5c9388f7 Merge :game into :engine module 2021-03-03 12:49:33 +01:00
6d24d2600e [Editor] Add tooltip to JavaClassParameter 2021-03-02 23:11:25 +01:00
697f8883ab [Editor] Add scroll bars to LogsPane 2021-03-02 23:09:36 +01:00
4d65e4d5ce [Editor] Enable copying asset UID from UI via context menu 2021-03-02 22:27:41 +01:00
695a592254 Fix invalid objects overlapping in ObjectLayer 2021-03-02 21:59:12 +01:00
64d290503c Add camera support in :API Context 2021-03-02 21:23:14 +01:00
ed0f9ac0c5 Replace custom Vector with JOML's Vector2* in :API 2021-03-02 20:26:43 +01:00
95ee0a5c62 Add support for compile-time dependencies in :API 2021-03-02 20:11:44 +01:00
c5e2888048 Add some additional methods to Entity and GameMap API classes 2021-03-02 14:12:24 +01:00
4446e82049 Create GameMap API scaffolding 2021-03-02 12:43:43 +01:00
9147aa55ce Create Entity API scaffolding 2021-03-02 11:37:44 +01:00
dc50622fb9 [Editor] BUGFIX: Make :editor assembles the Entity Sets in to the result game.jar file 2021-03-02 11:20:32 +01:00
6130dc5bb4 Move Movement enum to :API 2021-03-02 10:31:45 +01:00
8b012b8584 Move Direction enum to :API | remove "world" package segment 2021-03-02 09:29:43 +01:00