Project

General

Profile

Download (22.8 KB) Statistics
| Branch: | Revision:

distorted-objectlib / src / main / java / org / distorted / objectlib / json / JsonWriter.java @ 1eafa9c6

# Date Author Comment
1eafa9c6 03/12/2024 12:04 AM Leszek Koltunski

Fix the detection of the solved state.

962b8ff6 03/08/2024 03:48 PM Leszek Koltunski

progress with configurable stickers

e61a158a 01/29/2024 10:47 PM Leszek Koltunski

(limited) support for different strokes across each edge of each sticker.

71df2bd4 01/18/2024 04:47 PM Leszek Koltunski

progress with new sorting methods.

361fd0de 12/28/2023 05:40 PM Leszek Koltunski

Next step toward separating TwistyObject metadata.

ae9d9227 12/28/2023 03:48 PM Leszek Koltunski

Big step toward separating TwistyObject metadata.

b9a7dcad 12/20/2023 01:17 PM Leszek Koltunski

14 is enough :)

3abf8f00 12/20/2023 01:10 PM Leszek Koltunski

final bugfix for scrambling shapeshifting cuboids; up JSON version to 15 (as we have a new scrambling type!)

63bfcdd1 12/16/2023 01:03 AM Leszek Koltunski

Support for shape-shifting cuboids. (except for the flat ones like the Super Floppy)

5ae0d190 11/11/2023 12:15 AM Leszek Koltunski

Make it possible to download objects with no extras file. Up VERSION_OBJECT_APP to 13.

b5744b1f 08/20/2023 12:30 PM Leszek Koltunski

Remove the generic 'MINOR' object and extras versions from JsonWriter, and replace them with per-ObjectType values. This was the reason why objects which had their 'minor' (really: version) updated to '1' in the server then never updated the jsons with locally stored versions.

ebe8c08e 08/02/2023 01:27 PM Leszek Koltunski

Support drawing stickers with multiple holes in them.

7e9a35eb 08/01/2023 11:38 PM Leszek Koltunski

change the way the coordinates of stickers are kept from float[2*N] to float[N][2]

8edbe5b9 07/05/2023 10:23 PM Leszek Koltunski

minor

5377b942 06/19/2023 01:59 PM Leszek Koltunski

support Multigon in JSONs

deaf067b 06/01/2023 05:04 PM Leszek Koltunski

remember the rotation factors in the JSONs.

b8eb07a5 05/30/2023 11:19 PM Leszek Koltunski

We have just introduced a non-backwards compatible improvement to the interpreter - up the interpreter version to 11.

b2e19fa7 05/10/2023 12:23 AM Leszek Koltunski

Coin tetrahedron: bugfix, new mesh & json; move to json version 10.

68d51549 03/23/2023 01:03 AM Leszek Koltunski

Up the MAJOR version to 9 to account for the new SPLIT type supported by the interpreter.

6a3c7c84 02/22/2023 10:24 PM Leszek Koltunski

Bump major to 8 (in accoount of the BAN6_4 - Burr Cube - where scrambling woudn't work with version 7)

28bfa000 01/31/2023 10:38 AM Leszek Koltunski

Make it possible to (fully!) read version 6 JSONs - some users might have Pyraminx Duo v. 6 already downloaded!

27249eea 01/28/2023 06:10 PM Leszek Koltunski

Produce new JSONs files (version 7, with new scrambling method)

9ba7f3f6 01/28/2023 02:28 AM Leszek Koltunski

Move scrambling to a new model where there are spearete scrambling 'algorithms' and 'edges' of the scrambling graph.
Now each edge can contain a whole algorithm, i.e. a sequence of moves leading from state to state, which permits construction of scrambling for more complicated bandaged objects such as the AI cube....

51262d81 01/24/2023 01:37 PM Leszek Koltunski

Fix touch-replacing colors of the stickers. Now correctly takes into account the shape of the sticker.

8bb3e677 01/08/2023 10:14 PM Leszek Koltunski

Minor bugfixes for creating JSON files version 6 (with per-cubit lists of VertexEffects)

84a17011 01/08/2023 03:36 AM Leszek Koltunski

Major change in JSOn file format:

replace the old (corners,centers) system with a list of VertexEffects which are applied to each cubit variant.

8b3b1d85 12/20/2022 02:59 PM Leszek Koltunski

Changes to the initialization - initialize the 'bought objects'

b63235a0 12/09/2022 01:17 AM Leszek Koltunski

Make it possible to create Diamond and Icosahedron-shaped objects to be read from json.

6db8fe2e 11/16/2022 02:14 PM Leszek Koltunski

More support for pillowing; pillow Morphix and Jing by default.

84224c99 08/12/2022 12:37 AM Leszek Koltunski

IAP, part 1: Introduce the concept of a 'free' and 'not free' object to

- ObjectType
- DownloadedObject
- RubikObject
- jsons

882a8142 07/28/2022 12:20 AM Leszek Koltunski

Make ObjectSignature ready for any size bandaged cube.

4c87f159 07/15/2022 12:56 AM Leszek Koltunski

main: license.

52cc8639 06/20/2022 12:33 AM Leszek Koltunski

Bugfix

ff60e713 06/18/2022 12:49 AM Leszek Koltunski

Progress with sticker overrides.

3a0a23bf 06/17/2022 05:58 PM Leszek Koltunski

Beginnings of support for 'sticker overrides' - possibility to override the color of an individual face of an individual cubit. Ultimately this will enable overriding with any bitmap; so far only a solid color.

Also, fixes for two crashers.

40e77224 06/16/2022 01:12 AM Leszek Koltunski

Crazy Planets: now can be created in J1 M0 mode. J1 M1 still doesn't work.

7aae846c 06/15/2022 10:37 PM Leszek Koltunski

Crazy Planets: introduce cubit type and offset to the JSON; create (shared) mesh and all the JSONs.

8c8c6fcf 05/18/2022 12:47 AM Leszek Koltunski

Bump MAJOR version to 3 (we cannot intermix the new Mixup json objects with version 2 app interpreter)

1d581993 05/08/2022 11:15 PM Leszek Koltunski

Introduce ObjectSignature that can incorporate 192-bit signatures (for 5x5x5 bandaged cubes).
ObjectScrambler does not fully work yet.

95123ad0 04/29/2022 04:28 PM Leszek Koltunski

Bandaged: progress with creating the object.

beee90ab 04/22/2022 05:32 PM Leszek Koltunski

Preparation for Mixup Cube: take advantage of the recent bump in MAJOR_VERSION number and change the format of basicAngles to int[][] 'per-axis-per-layer' [ Mixup Cube has different basicAngle in its middle layers (8) - and different in its edge layers (4) ]

89bbd329 04/22/2022 04:00 PM Leszek Koltunski

Turns out latest changes to the FactorySticker force us to increment the MAJOR_VERSION as now we produce incompatible stickers. We'll also use this occasion to support the Mixup Cube (change basic rotations to per-layer-per-axis)

e85c8f90 03/28/2022 12:17 PM Leszek Koltunski

Bandaged 3x3: progress with saving.

5f54927b 02/25/2022 03:34 PM Leszek Koltunski

Preparation for local creation of puzzles: remove the 'ObjectType' enum from TwistyObject class.

10b7e306 02/21/2022 02:29 PM Leszek Koltunski

New, generalized ScrambleState generator that should work for any bandaged 3x3.

4bf52f4f 01/20/2022 08:21 PM Leszek Koltunski

Progress downloading objects and extras.

052e0362 01/16/2022 03:59 PM Leszek Koltunski

Step towards tutorial JSON files.

253e440f 01/13/2022 04:57 PM Leszek Koltunski

Configurable internal colors. This somehow screwed up the Container!

82904e62 01/07/2022 11:16 PM Leszek Koltunski

Implement the Windmill Cube

3c48fab9 01/06/2022 12:00 AM Leszek Koltunski

unify every isSolved() routine except one: part II : new JSONs.

ed0988c0 01/05/2022 11:04 PM Leszek Koltunski

unify every isSolved() routine except one - the Dino4 is still special.

19595510 01/05/2022 03:56 PM Leszek Koltunski

Preparation for further unification of the isSolved() routine.

802fe251 01/04/2022 11:27 PM Leszek Koltunski

Convert Ulti, Jing, Pyra, Diamond, Dinos, Redi, Skewbs, Ivy & Rex to the new scheme where the quaternion group is computed automatically.

d0e6cf7f 01/04/2022 01:17 AM Leszek Koltunski

Simplification.

d4105efe 01/04/2022 12:55 AM Leszek Koltunski

Simplification.

1f264f3e 01/01/2022 07:08 PM Leszek Koltunski

Remove the 'getNumCubitFaces()' object API.

3ee1d662 12/31/2021 12:37 AM Leszek Koltunski

Split ObjectShape into ObjectShape and ObjectFaceShape

ec42a6fe 12/30/2021 11:15 PM Leszek Koltunski

Finally move the 'getVariantFaceColor()' method to the base class.

7af68038 12/28/2021 02:07 AM Leszek Koltunski

Progress

a72cd106 12/08/2021 01:46 PM Leszek Koltunski

Include the info about 'numFaces' of a puzzle in the jsons.
Based on this, and the recently introduced 'DEFAULT_ROTs' to the basic Shape classes, rotate each object in the Config so it looks attractive.

11fa413d 11/14/2021 12:35 AM Leszek Koltunski

Make the ShapeChanging the default TouchControl during MODE_REPLACE.

57ef6378 11/11/2021 04:22 PM Leszek Koltunski

Float vertices - scratchbook

0f72365b 11/02/2021 04:58 PM Leszek Koltunski

Add 'shouldResetTextureMaps' to the JSON puzzle description.

e1a86bf2 10/30/2021 01:46 AM Leszek Koltunski

Move the main app to the 'J1M1' object creation mode, i.e. create them from the Json files and using the Dmesh fiels as well.

Make it possible for any app descending from the 'objectlib' to use any of the J0M0, J0M1, J1M0, J1M1 modes.

de4a7e02 10/28/2021 11:07 PM Leszek Koltunski

Remove ObjectType and info it held (icons, mesh file, num of scrambles, shortname) from the JSON file.

9e8eb9e4 10/27/2021 05:20 PM Leszek Koltunski

Correect JSON reading and writing: shape corners and centers are optional!

82eb152a 10/27/2021 12:33 AM Leszek Koltunski

JsonReader (?) finished: the creator app can now read objects from JSON files.

e26eb4e7 10/22/2021 04:49 PM Leszek Koltunski

Do not pull the inventors and the names of objects from Resources.