Commit Graph

524 Commits

Author SHA1 Message Date
8717a3e582 Refactor MovableSprite 2021-03-22 23:57:01 +01:00
ac7bb864e8 Improve FPS Profiler 2021-03-22 19:25:07 +01:00
0055d1c508 Create BulletAnimationRunner 2021-03-22 16:06:02 +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
0bf816ce4e Move implemented AI to snippet package 2021-03-22 13:00:59 +01:00
6818152f27 Move AnimationRunners to snippet package 2021-03-22 12:59:24 +01:00
e68539575a Add offset properties to Simple and Random Animations Runners 2021-03-22 12:35:42 +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
5ac7370d7a Fix SimpleAnimationRunner and RandomAnimationsRunner 2021-03-21 11:14:49 +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
3b22655bc6 Make PathExecutor return PathProgress 2021-03-21 10:47:41 +01:00
b3a5484b03 Make Animations movable 2021-03-21 00:35:58 +01:00
5c2e33eedc Extract PathExecutor from FollowPathAI strategy 2021-03-20 23:24:48 +01:00
5e82724ba7 Create SimpleAnimationRunner and RandomAnimationsRunner 2021-03-20 22:00:28 +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
ef7a6b6ab0 [Editor] Add support for Animations 2021-03-19 23:59:38 +01:00
5a1f8b4836 Add AnimationAsset message in proto definition 2021-03-19 23:39:50 +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
8f69ded142 Improve XML syntax highlighter 2021-03-19 20:38:18 +01:00
7b68707229 Improve ComponentWrapper 2021-03-19 14:31:44 +01:00
93a82a6010 Create AbsoluteLayout and BorderLayout with nested Slots 2021-03-19 14:11:06 +01:00
bf8f896c81 Create ComponentWrapper 2021-03-19 14:10:37 +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
ecc420d2a5 Make *OptionChoice components scrollable 2021-03-17 23:45:47 +01:00
d90be792bb Improve and rename Scrollables to *ScrollableLayout 2021-03-17 22:41:19 +01:00
dfe9d0cca4 Create HScrollable container 2021-03-17 20:30:13 +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
14524c1834 Improve slightly BaseWindow 2021-03-16 20:39:21 +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
cd9fba8637 Fix invalid key event propagating in BaseContainer 2021-03-16 13:19:24 +01:00
d83bd8b6ca Enable deserializing widget definitions in :engine 2021-03-16 13:18:31 +01:00
5d0a8490a5 Add "source" field to WidgetAsset message in project.proto 2021-03-16 09:33:07 +01:00
5a45893e43 [Editor] Disable XML elements namespaces highlighting 2021-03-16 09:32:11 +01:00
b499c44f3d [Editor] Create common Code Editor stylesheet 2021-03-16 09:01:07 +01:00