Project

General

Profile

Download (11.1 KB) Statistics
| Branch: | Tag: | Revision:

magiccube / src / main / java / org / distorted / objects / RubikObject.java @ master

# Date Author Comment
988e3d33 03/13/2024 01:30 PM Leszek Koltunski

Objects can support or not changing colors of their stickers.

ff4a2a13 01/18/2024 04:47 PM Leszek Koltunski

progress with new sorting methods.

eb9263dd 12/28/2023 05:40 PM Leszek Koltunski

Next step toward separating TwistyObject metadata.

920cbdf9 12/28/2023 03:48 PM Leszek Koltunski

Big step toward separating TwistyObject metadata.

7bb30586 11/15/2023 03:28 PM Leszek Koltunski

Remove all old UI 1.0 classes

7ee8337b 11/13/2023 04:37 PM Leszek Koltunski

Progress with PlayActivity

b525bc12 11/11/2023 12:15 AM Leszek Koltunski

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

337f4660 11/10/2023 12:27 AM Leszek Koltunski

remove 'MESH_NICE'

b42c8399 11/03/2023 02:50 PM Leszek Koltunski

Major progress with version 2.0.0.

1c04d054 10/28/2023 12:01 AM Leszek Koltunski

Major progress to version 2.0.0.

8f200211 10/06/2023 12:57 PM Leszek Koltunski

Seriously lower memory usage.

0effd5a9 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.

71897466 04/05/2023 12:56 PM Leszek Koltunski

Move patterns and Kociemba solver to objectlib.

bd9776f6 12/29/2022 01:10 AM Leszek Koltunski

Fix marking objects as free.

e9e744f7 12/20/2022 02:59 PM Leszek Koltunski

Changes to the initialization - initialize the 'bought objects'

0da4feff 12/15/2022 11:54 PM Leszek Koltunski

The 'stars earned' effect is done. Works only for newStars>0.
Also, there is a crash in the graphics driver on my physical LG phone.

240bf467 11/15/2022 01:53 PM Leszek Koltunski

Switch off visible effects of IAP (all objects free, no 'stars' animation)

73709b89 11/15/2022 01:11 PM Leszek Koltunski

Partly merge the 'iap' branch.

298f3977 11/15/2022 12:54 PM Leszek Koltunski

Partly merge the 'iap' branch.

1ba56d95 08/04/2022 03:51 PM Leszek Koltunski

Simplification for the new way of storing records.

f05e0259 07/15/2022 12:34 AM Leszek Koltunski

objects,patterns: license.

5e048300 05/02/2022 11:50 PM Leszek Koltunski

Fix for a bug when in Turkey and Azerbaijan, the names of downloaded objects which contain the letter 'I' do not get translated to upper case correctly (part 2: fix 'toLowerCase()' )

f611dc3e 05/02/2022 11:43 PM Leszek Koltunski

Fix for a bug when in Turkey and Azerbaijan, the names of downloaded objects which contain the letter 'I' do not get transalted to upper case correctly.

9eeb9c88 02/02/2022 05:00 PM Leszek Koltunski

Make sure we always display some icon in the Popup dialog, even if we fail to download one (improvement)

90288e23 02/02/2022 04:49 PM Leszek Koltunski

Make sure we always display some icon in the Popup dialog, even if we fail to download one.

e847c553 02/02/2022 01:36 PM Leszek Koltunski

Make 'downloaded' debugs controlled by a single boolean.

43c2812a 02/01/2022 03:11 PM Leszek Koltunski

Downloaded Objects: bugfixes

84d746d7 02/01/2022 01:30 PM Leszek Koltunski

Downloaded Objects more or less work now.

eb985085 01/31/2022 12:50 AM Leszek Koltunski

Refactor RubikObject in preparation for creating RubikObjects from DownloadedObjects.

d36d8517 01/31/2022 12:06 AM Leszek Koltunski

Refactor RubikObject in preparation for creating RubikObjects from DownloadedObjects.

314e9ff0 01/30/2022 11:48 PM Leszek Koltunski

Refactor RubikObject in preparation for creating RubikObjects from DownloadedObjects.

fcf7320f 01/20/2022 08:21 PM Leszek Koltunski

Progress downloading objects and extras.

804293f0 01/17/2022 03:17 PM Leszek Koltunski

Re-organize tutorial list so that we can pull this one from JSON files.

6e3fcb91 01/06/2022 10:39 PM Leszek Koltunski

Remove 3 out of 4 object icons.

09cf2a36 12/07/2021 11:17 PM Leszek Koltunski

Introduce 'Simple' and 'Nice' meshes.

f12e4de9 12/06/2021 11:36 PM Leszek Koltunski

Progress with Config UI.

d433b50e 12/06/2021 12:59 AM Leszek Koltunski

In the 'magic' app, ObjectType is now only used in RubikObject and RubikObjectList classes and nowhere else.
This is a major step towards being able to download objects from an online repository.

a7d8c3cd 12/05/2021 10:19 PM Leszek Koltunski

Progress replacing the enum ObjetType with the class RubikObjectList.

9c2f0c91 09/25/2020 08:35 AM Leszek Koltunski

Rename some classes.

ece1b58d 09/25/2020 08:27 AM Leszek Koltunski

1) correction for Dino4's isSolved() [ remember about the mirror! ]
2) beginnings of support for the Skewb Diamond

eaee1ddc 09/24/2020 08:35 PM Leszek Koltunski

Add the 4-color Dino.

Still one thing needs to be done about it: randomization of Moves (now sometimes in Level 1 the randomized move leads to an already solved position)

3717a94e 09/23/2020 01:28 PM Leszek Koltunski

Slight correction for devices which have scrWidth>scrHeight ( Huawei Mate Xs! )

b30695c6 09/23/2020 11:23 AM Leszek Koltunski

Do not forget the amount an Object has been changed in size when we switch between Objects.

44f95b2a 09/18/2020 12:13 PM Leszek Koltunski

DMesh for the Helicopter.

7403cdfa 09/18/2020 10:42 AM Leszek Koltunski

Fix rotations of the Helicopter.

2f5783d4 09/14/2020 10:33 PM Leszek Koltunski

Skewb Mesh.

eab9d8f8 09/14/2020 08:46 PM Leszek Koltunski

Progress with the Skewb.

fb52fae9 09/14/2020 01:38 PM Leszek Koltunski

Beginnings of support for the Skewb.

b376bfd7 09/07/2020 11:29 PM Leszek Koltunski

Fix for a crasher.

efa8aa48 08/28/2020 12:37 AM Leszek Koltunski

Rename Meshes.

dfbb340a 08/27/2020 12:51 PM Leszek Koltunski

Fix: nwo we need to explicitly set mesh center to negative Z if we want to GLOW a flat object.

6b6504fe 08/26/2020 12:55 PM Leszek Koltunski

Finally fix the Dino's 'isSolved()' - Dino can be mirrored and then it is also solved!

1ebc4767 08/19/2020 09:10 PM Leszek Koltunski

Fix detecting if an Object is solved. Before, the generic Cubit.thereIsNoVisibleDifference(0 would not work correctly in case of the Dino.

7c969a6d 08/16/2020 06:34 PM Leszek Koltunski

Adjust randomizing new rotations so that:

1) it works for basicAngle=5 (Megaminx) (so now basicAngle=2,3,4,5 supported)
2) it leaves the decision as to what can be the next rotation to the Object class, as in case of certain Objects (the Dino, or the Helicopter, the Megaminx) the next rotation doesn't have to 'intersect' the old rotation always when oldRotAxis != newRotAxis (that's so simple only in case of the Cube and - only partly - the Pyraminx!)

f05807f7 08/11/2020 08:33 PM Leszek Koltunski

Add the Dino dmesh file.

fb377dae 08/11/2020 02:19 PM Leszek Koltunski

Major progress with Dino; rotations (almost?) work now.

f6d06256 08/07/2020 11:09 PM Leszek Koltunski

Move the knowledge about colors of individual cubit faces down to each Object subclass.

380162cb 08/07/2020 12:13 AM Leszek Koltunski

Progress with RubikDino.

8f53e513 08/01/2020 09:37 PM Leszek Koltunski

Progress with the Dino.

418aa554 07/30/2020 10:32 PM Leszek Koltunski

Beginnings of support for a new Object: the Dino.

19f0f767 06/27/2020 08:25 PM Leszek Koltunski

Re-introduce possibility to dynamically create object mesh.

c7b00dfb 06/26/2020 01:54 PM Leszek Koltunski

Introduce two-fingered object resize.

5b893eee 06/26/2020 12:08 AM Leszek Koltunski

Object node: size of screenWidth.

e03e0352 06/25/2020 08:53 PM Leszek Koltunski

Remove the 'MAIN' state.
Fix one crasher with two-fingered dragging in the View.

8bbac3c2 06/21/2020 12:02 PM Leszek Koltunski

Improve rotations of the Pyraminx; synchronize begin/add/finish Rotation in the RubikObject (now it is possible to begin new rotation when an old one didn't finish yet!)

a4472437 06/19/2020 09:38 PM Leszek Koltunski

Progress with dragging.

4da7d87a 06/19/2020 06:19 PM Leszek Koltunski

Simplify dragging. Now there's only 1 Quat, rather than the old way with two (Accumulated, Current).

4c864c68 06/18/2020 11:05 AM Leszek Koltunski

Further improve rotations of a Object layer - make them independent of physical screen size (now it depends on the angle of rotation and, if that's 0, on the speed (in inches of second) of the finger swipe done by the user.

168b6b56 06/17/2020 03:45 PM Leszek Koltunski

Improvements for the way we rotate layers of Objects. (take the speed into account - so even if we rotated a layer of a Cube to less than 45 degrees, but we did it fast, do a 90 degree rotation!)

ccf9fec5 06/13/2020 10:43 PM Leszek Koltunski

Read the meshes from .dmesh files (rather than compute them dynamically).
This (along with single-mesh mode) hopefully makes the rendering much faster, while keeping the time needed for Object Change low.

The only downside: this increases the size of the release APK from 6 MB to 9.6 MB.

2fcad75d 06/09/2020 12:20 PM Leszek Koltunski

Bugfixes.

ad73edd5 06/07/2020 11:17 PM Leszek Koltunski

Minor speedup

818431ed 06/07/2020 10:51 PM Leszek Koltunski

Bump version to 1.2.2

98904e45 06/07/2020 09:42 PM Leszek Koltunski

More progreess porting RubikCube. Rotation mostly working now.

10585385 06/07/2020 08:42 PM Leszek Koltunski

More progreess porting RubikCube.

8cccfb10 06/07/2020 05:18 PM Leszek Koltunski

More progreess porting RubikCube.

27e6c301 06/07/2020 03:29 PM Leszek Koltunski

Progreess porting RubikCube to the new SingleMesh mode.

470820a7 06/06/2020 11:28 PM Leszek Koltunski

Begin porting RubikCube to the new SingleMesh library. This will make rendering much faster - e.g. in case of Cube 5, instead of 98 renders of individual Cubits, there will be one render of the whole Mesh.

14bd7976 05/26/2020 12:53 PM Leszek Koltunski

1) Cube: convert it to the latest library. Main difference: objects are rendered better, individual cubits have rounded corners.
2) Examples: some adjustments to MeshJoin & Predeform
3) Library: fix a bug in main_vertex_shader's 'degree' function, which didn't work proprely in case of a vertex which was exactly at the center (i.e. vector PS was zero)

d5032ac8 05/08/2020 10:13 AM Leszek Koltunski

Fix for the next crash seen in the field.

f8ce34ab 04/26/2020 02:23 PM Leszek Koltunski

Fix for the previous fix :)

001cc0e4 04/26/2020 11:27 AM Leszek Koltunski

Fix a potential crasher ( do not set up a callback for end of rotation effect on the very first cubit that belongs to a rotation if all belonging cubits have not been set up yet )

0e5ad27c 04/10/2020 11:23 PM Leszek Koltunski

Add a 'withdraw move' button to the Solving UI state.

5cf34c5f 04/10/2020 12:46 PM Leszek Koltunski

Make chances to randimoze a given row when scrambling dependant on the type of Object.

The point: in case of the Cube, all rows should have equal chances. In case of the Pyraminx, the smaller the row, the smaller the chance should be. In particular the trivial 4 corners of the tetraherdon should have a very small chance to be selected.

fa0f7a56 04/07/2020 11:18 PM Leszek Koltunski

Progress with the Solver - RubikCube.retObjectString() finished.

What remains to be done here: ban changing colors of the centers of 3x3x3 faces, this shouldn't be allowed!

20931cf6 04/06/2020 01:08 PM Leszek Koltunski

Progress making the Solver state more abstract.

f0336037 04/06/2020 11:17 AM Leszek Koltunski

Make the Solver state more abstract.

9621255f 04/05/2020 10:45 PM Leszek Koltunski

Progress with the 3x3x3 Solver.

ca292407 04/05/2020 09:53 PM Leszek Koltunski

Progress with the 3x3x3 Solver.

1f9772f3 04/05/2020 02:10 PM Leszek Koltunski

More support for the 3x3x3 Solver: more of the actual 3x3x3 solver mechanism.