Commit Graph

158 Commits

Author SHA1 Message Date
eb89753ed9 [Editor] Enable graphic assets preview in Project Structure panel 2021-02-21 20:28:07 +01:00
b2cda5fd20 [Editor] Enable creating snapshots when map is being saved
Because the new map creation is done in different place than saving
already existing maps, there is a bug that no snapshot is created
when new map is created. The snapshots only are created when
map is saved (Save via button with floppy disk icon in Map View
toolbar).
2021-02-21 20:27:00 +01:00
85b53862da [Editor] BUGFIX: The grid and background weren't be updated when rows or columns were changed 2021-02-21 20:26:59 +01:00
353f416716 [Editor] Enable Assets importing and removing through Project Structure panel 2021-02-21 18:11:52 +01:00
80cff63501 [Editor] Enable Assets renaming through Project Structure panel 2021-02-21 16:53:13 +01:00
713ebb1c54 [Editor] Enable ImageLayer deserialization on :game module side 2021-02-20 23:32:22 +01:00
1ca3f34143 [Editor] Enable ImageLayer serialization 2021-02-20 13:11:55 +01:00
c6815a065f [Editor] Make SelectGraphicAssetView generic 2021-02-20 12:44:57 +01:00
7f4c80bb06 [Editor] Enable ImageLayer positioning 2021-02-20 12:32:51 +01:00
325071e384 [Editor] Add support for ImageLayer mode 2021-02-20 11:50:19 +01:00
878d6de678 [Editor] Improve Parameter<T> binding to backing properties 2021-02-20 11:44:23 +01:00
53c24c9b99 [Editor] Add working opacity parameter to Image Layer 2021-02-20 10:33:42 +01:00
f2fe303e31 [Editor] Enable basic Image Layer rendering 2021-02-20 10:23:07 +01:00
5c44f0e5c4 [Editor] Add support for importing and storing images in :editor 2021-02-19 23:13:05 +01:00
d2bb1b99f6 [Editor] Use SelectGraphicAssetView in MapCreationWizard (tileset selection step) 2021-02-19 20:49:52 +01:00
668cde7eec [Editor] Create SelectGraphicAssetView and *Fragment 2021-02-19 19:33:05 +01:00
47f754862b [Editor] Increase max brush size to 15 2021-02-19 13:22:17 +01:00
5d604febd3 [Editor] Optimize grid and background render in map editor 2021-02-19 13:21:33 +01:00
05ebaae11e [Editor] Set max map editor drawer width to 256 2021-02-18 23:50:22 +01:00
a4e8b45dcb [Editor] Fix possibility to provide non-numeric characters in IntegerParameter Spinner 2021-02-18 23:27:46 +01:00
9fd172f50a [Editor] Enable submitting on enter in autocommit Parameters
The bug was related to autocommit IntegerParameter, which did not update the value when user provided value by hand in text field and pressed the enter.
2021-02-18 22:50:32 +01:00
0772984779 Implement ColorLayer on the :game module side 2021-02-18 21:55:16 +01:00
162dac3aa6 [Editor] Add support for ColorLayer serialization 2021-02-18 21:24:01 +01:00
8a41e50e6d [Editor] Split ImageLayer to ColorLayer and ImageLayer 2021-02-18 20:56:10 +01:00
f85fa5ecc2 [Editor] Enable controlling color and opacity of ImageLayer via parameters 2021-02-18 20:00:49 +01:00
df74c40107 [Editor] Add support for commit handler in Parameters Table Fragment 2021-02-18 19:59:49 +01:00
8b0f6dafc3 [Editor] Add support for manual committing in Parameters Table Fragment 2021-02-18 13:39:50 +01:00
4dd6c791b6 [Editor] Create Parameters Table Fragment 2021-02-18 12:39:11 +01:00
973b0ada58 [Editor] Enable serialization and deserialization for passage map of ObjectLayer 2021-02-17 22:42:48 +01:00
7f57514b18 [Editor] Enable drawing passage map on ObjectLayer 2021-02-17 22:18:27 +01:00
c76ad76d37 [Editor] Enable basic serialization for object and image layers
The layers' properties are not serialized/deserialized yet. All the protos for object layer and image layer contains actually nothing except the layer name in Layer proto container.
2021-02-17 14:37:10 +01:00
78e11029e5 [Editor] Add support for object and image layers in editor 2021-02-17 09:48:34 +01:00
0003e5b42a Create working deserializers in :game module 2021-02-16 23:25:31 +01:00
a40ec1f45a Refactor world-related objects | move them to :game module 2021-02-16 21:18:09 +01:00
7e89bedffc Improve material, animations and sprite positions code 2021-02-16 13:03:28 +01:00
f6e15724c4 Move view-model matrix computation to the CPU 2021-02-16 11:58:19 +01:00
a307939de5 Improve textures management 2021-02-16 11:39:10 +01:00
499e232e17 Move the camera object out of the game map object
TODO: this commit impacts the performance.
FPS decreased from ~60 to ~24, it should be immediately fixed.
2021-02-15 18:50:27 +01:00
15549930e0 Replace AOP-driven based time profiler with a simpler one based on lambdas 2021-02-15 11:49:28 +01:00
f75d56ee01 Remove Animator object 2021-02-15 10:28:36 +01:00
27ee72713a [Editor] Add icons to layer list 2021-02-15 08:34:04 +01:00
af54a7bd81 [Editor] Disable resizing modal windows 2021-02-12 10:18:37 +01:00
5936bd961f [Editor] Enable saving Game Maps 2021-02-12 09:44:49 +01:00
12d9d6d7df [Editor] Enable storing Tile Sets and loading Game Maps with them 2021-02-12 09:21:37 +01:00
02acad538b [Editor] Add Tile Sets list to project structure sidebar 2021-02-12 08:50:45 +01:00
c9a73cd98f [Editor] Improve ProjectSettingsFragment 2021-02-12 08:44:06 +01:00
9589618ca2 [Editor] Enable importing TileSets to project 2021-02-12 08:35:06 +01:00
1804f7c50e [Editor] Create TileSetAsset object 2021-02-11 22:20:14 +01:00
63458fdf1c [Editor] Remove unnecessary rows and columns fields from GameMapAsset object 2021-02-11 22:08:18 +01:00
989d7e94ed [Editor] Enable opening map on double-click on project structure panel 2021-02-11 22:05:51 +01:00