Project

General

Profile

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

distorted-objectlib / src / main / java / org / distorted / objectlib / main / TwistyObject.java @ 45e0065d

# Date Author Comment
45e0065d 11/03/2021 04:24 PM Leszek Koltunski

Correct the next bug with settign the object size.
Multiply the time limits in BlockController by 2 - this way we can see if the ratio of (UI+Touch)/Thread Firebase non-fatals will observably drop below the current value of 4.

d5c71d02 11/03/2021 01:36 PM Leszek Koltunski

Make it possible to extract objects' sticker pngs.

64c209f5 11/02/2021 11:30 PM Leszek Koltunski

Fix problems with TwistyObjectNode 'object scale' property.
Now this property is not part of the Node at all, but its initial value passed to the object in its constructor.

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

Add 'shouldResetTextureMaps' to the JSON puzzle description.

0e1437c1 11/02/2021 10:30 AM Leszek Koltunski

Correct the way ObejctScale works in the TwistyObjectNode.

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.

39b4dcfd 10/28/2021 10:56 PM Leszek Koltunski

Remove ObjectType from a few moree places.

332e1fb0 10/28/2021 10:22 PM Leszek Koltunski

Make the meshAssociation of the Rotate effect independent of the global MAX_SIZE of any implemented object.
Now only the NUM_OF_AXIS*MAX_NUM_OF_LAYERS of any individual object needs to be <=32 - before the second factor was global, which - because of the recent introduction of the Cube6 - screwed the Gigaminx (!) where NUM_OF_AXIS=6 and GLOBAL_MAX_NUM_LAYERS = 6 now, so 6*6>32 !

d887aa16 10/28/2021 01:59 AM Leszek Koltunski

Remove dependancies on Firebase from objectlib.
Report such errors to the application via the Interface.

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.

7ba38dd4 10/22/2021 02:59 AM Leszek Koltunski

Major change: separate the notion of a TwistyObject and its Node. Now,

1) the Node stays when we change objects (this makes transitions faster)
2) it's possible to just create an Object without adding it to the Screen (now app needs to explicitly create the Node and add it to its Screen itself)

a75ae1ee 10/21/2021 01:16 AM Leszek Koltunski

Separate the notions of a sticker shape and a sticker color.

43a4ccff 10/20/2021 01:21 PM Leszek Koltunski

simplify sticker/color map.

7b832206 10/20/2021 01:32 AM Leszek Koltunski

Progress with serializing object to JSON: cubits.
Only faceColorMap remains now.

e30c522a 10/20/2021 12:51 AM Leszek Koltunski

Progress with serializing object to JSON: shapes.

1bb09f88 10/19/2021 06:30 PM Leszek Koltunski

Progress with serializing object to JSON: stickers, quats.

7bbfc84f 10/18/2021 11:43 PM Leszek Koltunski

Progress with serializing object to JSON: rotations.

f9a81f52 10/18/2021 10:58 PM Leszek Koltunski

Progress with serializing object to JSON: scrambling.

59c20632 10/18/2021 02:06 PM Leszek Koltunski

Reorg for writing the JSON

e7daa161 10/12/2021 01:59 PM Leszek Koltunski

- remove the retarded NODE_RATIO from TwistyObject
- more correctly estimate Cuboid's 'realSize' as an average of their 3 sizes.

dfdb26a9 10/12/2021 01:40 AM Leszek Koltunski

First attempt at cuboids. 2x2x3 and 3x3x4 mostly working :)

a57e6870 10/11/2021 10:53 PM Leszek Koltunski

make numLayers into an int[] (preparation for Cuboids)
Caution: because of previous changes to cubit order in cube, the Solver is broken!

568d4698 10/11/2021 11:00 AM Leszek Koltunski

New API to objectlib to recreate an already displayed object (because the settings, like 'IconMode' might have changed) and using the new API in puzzle-creator.

ee6bb8d7 10/08/2021 11:27 PM Leszek Koltunski

New API for the IconMode: set scale of the object.

2289cab1 10/08/2021 05:56 PM Leszek Koltunski

New 'IconMode' and some APIs to support it.

758b028d 10/07/2021 10:32 PM Leszek Koltunski

Improvements for the new Border effect. Now works, but covers the object - to be corrected.

3e9df6aa 10/06/2021 05:54 PM Leszek Koltunski

Mesh creation: finished.

b80e6524 10/06/2021 12:35 PM Leszek Koltunski

No, move the object afterall. Why? See in Tutorials - a moved node has the right side missing.

d3371e37 10/06/2021 12:30 PM Leszek Koltunski

minor

b6a71581 10/06/2021 12:29 PM Leszek Koltunski

Improve 'off-center' objects: move the node, not the object!
This simplifies the Effects and makes them more correct (glow!)

02d80fe6 10/06/2021 12:06 AM Leszek Koltunski

progress with off-center objects.

ecf3d6e3 10/05/2021 11:38 PM Leszek Koltunski

1) introduce possibility to move objects, i.e. display them not in the middle of the screen (not fully functional yet)
2) do away with unneeded any more interface 'EffectController' - since ObjectPreRender is the only implementation now.

81141862 10/05/2021 10:53 PM Leszek Koltunski

Remove the 'setupObject()' redundant API.

2df35810 10/05/2021 12:52 PM Leszek Koltunski

Simplifications

880beeea 10/04/2021 01:39 PM Leszek Koltunski

Move ObjectControl, the next big chunk of code, to objectlib.

7c111294 10/02/2021 12:06 PM Leszek Koltunski

Move PreRender to objectlib.
This code is now shared betweeen the Rubik and Tutorial activities.

198c5bf0 10/01/2021 11:26 PM Leszek Koltunski

Move more code to objectlib.

c8bc83d9 10/01/2021 10:33 PM Leszek Koltunski

Simplify TwistyObject's API.

9a316d92 10/01/2021 10:12 PM Leszek Koltunski

Simplify TwistyObject's API.

ad9f5cae 10/01/2021 10:01 PM Leszek Koltunski

Correct a recently introduced bug with restoring records.
Slightely simplify ObjectType.

8005e762 10/01/2021 04:33 PM Leszek Koltunski

Reename ObjectList to a more logical ObjectType.

61aa85e4 10/01/2021 04:31 PM Leszek Koltunski

Simplify ObjectList: now there's just one object per size.

4e1dc313 10/01/2021 12:09 AM Leszek Koltunski

move the resourceIDs from ObjectList to individual object classes.

0310ac32 09/30/2021 07:05 PM Leszek Koltunski

Bugfixes

e607083f 09/30/2021 04:14 PM Leszek Koltunski

Simplify objectlib's API.
Correct a recently introduced bug with resetting texture maps.

a706f8e0 09/30/2021 04:03 PM Leszek Koltunski

Move QuatHelpeer to distorted-library

29b82486 09/29/2021 04:27 PM Leszek Koltunski

Initial commit