48ad4208bc
Fix invalid key event handling in GLFWInput | make GUI does not extend KeyEventHandler interface anymore
2021-04-02 10:59:35 +02:00
ccc72d49a7
Refactor MovableSprite
...
Make updating position offset also recalculates position
2021-04-01 23:26:06 +02:00
33602894bf
Add support for blank entity set
2021-04-01 22:18:12 +02:00
8e6dfd4528
Prevent DefaultContext from being unregistered from key event handlers
2021-04-01 21:48:49 +02:00
075b0e67dc
Make Entity supports KeyEventHandler
2021-04-01 21:33:29 +02:00
f5f8ec1595
Split InteractiveEntity to separate listeners and remove position checks
2021-04-01 20:12:25 +02:00
e1e6d897cd
Simplify EntityInstantAnimation
2021-04-01 13:51:51 +02:00
b6aab0873e
Make EntityInstantAnimation returns a CompletableFuture
2021-04-01 13:36:17 +02:00
143d7fd4a2
Refactor EntityInstantAnimation
2021-04-01 12:42:18 +02:00
83f257708f
Fix invalid number of entity set sprite columns evaluation
2021-04-01 12:34:56 +02:00
dc472265ab
Enable queueing entity instant animations
2021-04-01 12:29:48 +02:00
933d8258b7
Add support for entity instant animations
2021-04-01 11:23:09 +02:00
fbaf422f89
Extract Animated trait interface
2021-04-01 10:07:23 +02:00
efec9b18c4
Remove movement rules system
2021-03-31 23:08:26 +02:00
453abfa037
Replace for-each loops with plain old C-style for loops
2021-03-31 23:02:45 +02:00
4f9a598d13
Create InteractiveEntity
2021-03-31 23:02:27 +02:00
d8a8e28dd3
Add getMap() method to Context
2021-03-30 22:30:11 +02:00
56dedb1b5b
Enforce Entities exist on only one object layer at the same time
2021-03-30 22:15:38 +02:00
08694e4e02
Enable frustum culling
2021-03-30 16:03:16 +02:00
cb59434bc7
Remove Movement interface - make DefaultMovement a final Movement class and move it to :API
2021-03-30 13:15:59 +02:00
c87567358c
Remove rules and create movement rules
2021-03-30 12:58:31 +02:00
8bdd421f63
Add support for Lombok in :api
2021-03-26 23:29:34 +01:00
140cfcacae
Add support for z-index parameters in Entity which determines the Entity rendering order
2021-03-26 22:53:55 +01:00
dac79b9fd1
Enable database support in :engine
2021-03-26 21:44:37 +01:00
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