Commit Graph

122 Commits

Author SHA1 Message Date
6d7eb8c7a6 Fix typo in "Initializable" interface name 2021-03-23 23:26:09 +01:00
a2b03b3fbc Refactor Audio API and remove source-positioning related code 2021-03-23 23:23:31 +01:00
b8f316f9d5 Create basic Audio API 2021-03-23 22:52:57 +01:00
d80b5b5909 Fix AnimationRunner offset 2021-03-23 13:53:54 +01:00
dfc0b0695b Make TileSetManager shares common Mesh 1x1 among all tiles 2021-03-23 13:13:28 +01:00
6ee0f2a6cd Make ImageManager shares common Mesh 1x1 among all images 2021-03-23 13:00:21 +01:00
ba748a738f Make AnimationManager shares common Mesh 1x1 among all animations 2021-03-23 10:05:40 +01:00
23accf16df Improve slightly Movable 2021-03-23 09:24:24 +01:00
921463fc14 Make EntityManager shares common Mesh 1x1 between all entities, which in turn scale it to theirs dimensions | add support for dynamic replacing entity sets 2021-03-23 00:13:04 +01:00
8717a3e582 Refactor MovableSprite 2021-03-22 23:57:01 +01:00
d486d6fc2d Move GUI and other lib classes to lib package of :API module | flatten the gui API package 2021-03-22 15:59:00 +01:00
94a9e316b6 Refactor :api structure
Refactored API structure to following packages:

* `api` - contains essential API classes
* `lib` - contains ready-to-use snippets implemented on `api`
* `util` - contains utility classes
* `internal` - contains internal classes that are not supposed to be used by user
2021-03-22 15:42:24 +01:00
b91c67100e Refactor :api structure and move some classes to snippet package 2021-03-22 13:09:41 +01:00
fd9eb07210 Add support for rotating animations - move the origin to the animation frame center and add xAngle property to Direction enum 2021-03-22 12:35:06 +01:00
87678003f3 Refactor Movable model and add position offset property to them 2021-03-22 12:34:12 +01:00
b2e57f5e3e Create Entities, Rules and Animations buffers 2021-03-22 10:37:15 +01:00
83c2bff771 Create onFinish Animation hook 2021-03-21 10:58:11 +01:00
11664d809a Add support for finishing Animation when it encounters obstacle or finishes its path 2021-03-21 10:48:48 +01:00
b3a5484b03 Make Animations movable 2021-03-21 00:35:58 +01:00
1a6e1bd08d Fix MovableSprite position and coordinates evaluation 2021-03-20 21:16:42 +01:00
a99ab3afb0 Add basic support for Infinite and N-repeated animations 2021-03-20 12:09:06 +01:00
82d2bef569 Create animation scaffolding in :engine 2021-03-20 00:03:00 +01:00
4043436d63 Add support for HEX-defined colors 2021-03-19 21:30:15 +01:00
c28b9f3d00 Create visible parameter in GUI 2021-03-19 21:04:27 +01:00
1191c6cdc3 Enable support for inflating references in Components 2021-03-19 20:38:55 +01:00
8fb4e7a08e Add support for inflating nested class component using "-" operator 2021-03-19 14:09:57 +01:00
32f7a8d164 Enable removing entities and rules from the loop inside 2021-03-19 10:08:11 +01:00
48e340947a Enable closing map 2021-03-18 23:26:21 +01:00
e7b66d4d50 Create VScrollable container 2021-03-17 20:25:27 +01:00
4fb80d2c5a Create RELATIVE size mode and rename other size modes 2021-03-17 17:14:29 +01:00
0196ba0d7e Use Set as BaseRule's entities collection and Queue as ObjectLayer's movements collection 2021-03-16 23:41:35 +01:00
0c1f0748a1 Ignore non-existing GLFW key and action input codes instead throwing an exception 2021-03-16 23:22:16 +01:00
2b9624516d Extract Inflater interface 2021-03-16 20:18:04 +01:00
e5b97546f6 Add support for references in window inflater 2021-03-16 20:11:09 +01:00
397e9e1f9c Add support for window inflating 2021-03-16 19:29:48 +01:00
d83bd8b6ca Enable deserializing widget definitions in :engine 2021-03-16 13:18:31 +01:00
4a4be81a99 Enable providing Context and GUI via constructor in Component Inflater 2021-03-15 16:05:16 +01:00
c92c4f31a7 Create working scaffolding of Component Inflater 2021-03-15 14:37:30 +01:00
449278b3cf Add support for GUI image flags 2021-03-14 23:21:12 +01:00
3aac855fea Add support for Paint which includes gradients and images in GUI 2021-03-14 22:51:33 +01:00
1d8660ba7d Create support for NVG Colors 2021-03-14 19:41:26 +01:00
47cb04c9d1 Refactor NanoVGGUI - prepare to support NVGPaint and images 2021-03-14 13:24:33 +01:00
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