Commit Graph

180 Commits

Author SHA1 Message Date
79286bbf53 Create ByteBufferAssetManager 2021-03-14 11:30:29 +01:00
dfa07781f7 Fix iterators in WindowsManager and GLFWInput which didn't allow to remove items from loops 2021-03-13 14:42:30 +01:00
f05158093a Add support for component focus and blur 2021-03-13 12:36:47 +01:00
68e0a793aa Add support for key event handling in GUI 2021-03-13 11:22:48 +01:00
5cb9e9fb75 Remove InputManager 2021-03-13 10:39:27 +01:00
5573024d4e Create Input model 2021-03-12 23:20:10 +01:00
30c8252dd2 Refactor AnimatedSprite | make animation stop when engine is paused 2021-03-12 20:35:42 +01:00
8e5e2da0f9 Refactor com.bartlomiejpluta.base.{project,context} packages 2021-03-12 19:24:11 +01:00
f17ce55882 Create API for pausing and stopping game engine 2021-03-12 18:36:16 +01:00
73de1f0985 Move the Context creation to the App engine starting point | change GLFW Window title to project name 2021-03-12 15:05:04 +01:00
bebec73956 Create scaffolding for Window API | fix some positioning issues in BaseComponent 2021-03-11 23:21:31 +01:00
acf8023fe0 Add support for SLF4J logging in :api 2021-03-11 20:33:10 +01:00
03a9253ca3 Refactor Context and GameRunner 2021-03-11 20:24:34 +01:00
0a9bd87c29 Create ScreenWidget - a screen aware parent of root widget 2021-03-11 19:10:13 +01:00
b80632c705 Delegate some extra methods from NanoVG to GUI 2021-03-11 18:52:07 +01:00
d3d440e588 Refactor com.bartlomiejpluta.base.api.gui package 2021-03-11 12:17:58 +01:00
54d428245f Create some GUI text methods 2021-03-11 11:26:31 +01:00
f7bed7a045 Enable displaying text 2021-03-11 09:28:22 +01:00
efa43f0eb0 Enable loading fonts to GUI 2021-03-10 23:54:40 +01:00
6a3ae8447e Create basic GUI components 2021-03-10 22:03:37 +01:00
153e3d30fb Create working GUI scaffolding 2021-03-10 20:18:03 +01:00
454c8278f3 Enable font deserialization 2021-03-09 23:01:43 +01:00
a60925665b Init GUI #1 2021-03-09 21:03:39 +01:00
d0bfa6369a Rename Window to Screen 2021-03-09 19:49:50 +01:00
4a1beb5101 Refactor DefaultEntity and DefaultEntityManager 2021-03-09 19:22:50 +01:00
debb6eec2d Use Vector2*c read-only interfaces where possible 2021-03-09 19:22:41 +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
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
b259fc1a10 Fix RenderableContext didn't check if mapHandler is null in input() 2021-03-08 08:45:26 +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
bc604b52df Refactor Movement 2021-03-05 19:57:03 +01:00
7520eb70d0 Create lifecycle hooks in MapHandler and Entity 2021-03-05 14:14:05 +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
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