Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

magiccube / src / main / java @ 47d98cd5

# Date Author Comment
47d98cd5 08/17/2021 05:30 PM Leszek Koltunski

Convert the Ivy corner cubit to the new, 'universal' cubit creation method.

This forces deep changes to 'createRoundSolid' and the underlying 'MeshPolygon' class to make them support arbitrary Polygon 'centers of face convexity'.

Reason: the faces of this cubit are concave and such default 'center of face convexity' (which by default used to be (0,0)) turned to lie outside the face - which produces strange visual artifacts.

6b2ab5c5 08/09/2021 02:36 PM Leszek Koltunski

Corrections for the Bandaged cubit creation.

eae4b3b2 08/08/2021 10:45 PM Leszek Koltunski

Convert bandaged Cubes to the standard mesh creation code.

ecf3f149 08/08/2021 04:46 PM Leszek Koltunski

Move the TwistyObject.retCubePosition() to the solver.

9c06394a 08/08/2021 04:21 PM Leszek Koltunski

Standarize drawing stickers of a twisty puzzle. From now on, there's no 'sticker drawing' code in the individual classes, only some constants.

47447d4a 08/06/2021 03:28 PM Leszek Koltunski

Use a trick to avoid having to correct the center sticker of the Kilominx.

29bc084f 08/06/2021 01:48 PM Leszek Koltunski

Convert the last 'special' case, the Rex edge sticker, to the generic sticker mechanism.

b379d2d7 08/06/2021 11:06 AM Leszek Koltunski

New sticker mechanism: improvements for concave stickers.

e0613906 08/06/2021 01:27 AM Leszek Koltunski

Convert the Rex corner sticker to the new mechanism.

f1104ed9 08/06/2021 12:39 AM Leszek Koltunski

Remove debugging.

9ce78850 08/06/2021 12:38 AM Leszek Koltunski

Generalize FactorySticker - make it possible to draw stickers whose sides are curved.
Convert the Ivy to use this new functionality.

f074c272 07/30/2021 04:15 PM Leszek Koltunski

Make the Pyraminxes a bit bigger by default - improvement.

329da839 07/30/2021 04:13 PM Leszek Koltunski

Make the Pyraminxes a bit bigger by default.

f33d9a19 07/30/2021 02:47 PM Leszek Koltunski

Minor.

d5ca9927 07/30/2021 02:37 PM Leszek Koltunski

Finish implementing Jing's 'isSolved'

2adf1263 07/30/2021 01:47 AM Leszek Koltunski

Add Master FTO's inventor and name.

c7c83fb7 07/30/2021 01:27 AM Leszek Koltunski

TwistyObject's ObejctScreenRatio and InitScreenRatio shouldn't be static. Make them non-static.
Otherwise, if the current object is, say, a cube (initSR=0.5), we fire up tutorials and start a tutorial for something with vastly different ObjectScreenRatio (Jing- initSR=1.64), then come back to the Main Activity - so there's a cube on the screen again - the ratios stay at their Jing values, which screws up detection of rotations.

9b703d87 07/30/2021 12:04 AM Leszek Koltunski

New Jing and Master FTO tutorials.

4de711ba 07/29/2021 10:24 PM Leszek Koltunski

Master FTO: icons

f56b53cb 07/29/2021 10:03 PM Leszek Koltunski

Master FTO: mesh

8de56b9d 07/29/2021 09:50 PM Leszek Koltunski

Add Master FTO.

91dff543 07/29/2021 12:51 AM Leszek Koltunski

New 'JingPyraminx' object - add the icons.

15da2470 07/29/2021 12:24 AM Leszek Koltunski

New 'JingPyraminx' object - add the mesh.

48154f68 07/29/2021 12:00 AM Leszek Koltunski

New 'JingPyraminx' object - improvements. The object should be working now.

6db60be8 07/26/2021 12:37 AM Leszek Koltunski

New 'JingPyraminx' object - improvements

d019f69d 07/24/2021 10:07 AM Leszek Koltunski

New 'JingPyraminx' object - improvement.

df9739f8 07/24/2021 01:37 AM Leszek Koltunski

New 'JingPyraminx' object.

b2a92941 07/15/2021 11:33 PM Leszek Koltunski

Again abandon RubikControl (after bumping into hard-to-solve issues)

8fa39aa6 07/15/2021 11:26 PM Leszek Koltunski

Improve debugging in BlockController.

598de3ee 07/15/2021 05:08 PM Leszek Koltunski

add possible scrolling to the 'object' popup in case the grid of objects does not fit on the screen.

7aa4c349 07/09/2021 02:42 PM Leszek Koltunski

Progress with RubikControl.

b9d4aa3b 07/08/2021 01:58 PM Leszek Koltunski

Lots of changes :)

23be3096 07/07/2021 08:21 PM Leszek Koltunski

Bugfix

84b4fc43 07/07/2021 01:33 PM Leszek Koltunski

When we're leaving the Tutorial activity, unblock everything.

a84c3a25 07/07/2021 01:23 PM Leszek Koltunski

Make it impossible to launch more than one Tutorial screen at a time.

967b79dc 07/06/2021 12:33 PM Leszek Koltunski

Progress with RubikControl.

48acd7c6 07/04/2021 03:36 PM Leszek Koltunski

BlockController: Unblock after 3 seconds.

7358df36 07/04/2021 03:26 PM Leszek Koltunski

Fix the long-standing problem that putting app to the background would not stop the 'solving' counter.

9d591756 06/30/2021 10:52 PM Leszek Koltunski

Fix the reddening the Lock icon.

03822c33 06/30/2021 09:56 PM Leszek Koltunski

Fix a rare crash.

809c3432 06/30/2021 06:05 PM Leszek Koltunski

Introduce a BlockController - a watchdog which makes sure the Touch and UI blocks do not take too long.
If it detecs a long block, it unblocks and reports the situation to Crashylytics.

9f006481 06/30/2021 02:17 PM Leszek Koltunski

Add a 'give up' dialog - if one made at least 10 moves when solving and presses a 'back' button, one needs to confirm.

1ae92052 06/30/2021 12:12 AM Leszek Koltunski

Always set the back move icon when we clear moves

cc88f2fa 06/29/2021 05:03 PM Leszek Koltunski

Give visual indication when dragging is locked.

146661ec 06/29/2021 04:34 PM Leszek Koltunski

Change the 'Cube Back' icon when there are no moves to back.

55e6be1d 06/29/2021 01:37 PM Leszek Koltunski

Abstract the part that controls the 'Locked' and 'Back Moves' buttons from the two activities: the main one and the tutorial one.
This code had been duplicated there.

9d56dba8 06/26/2021 12:17 AM Leszek Koltunski

New Kilominx mesh.

7a733a8c 06/25/2021 11:35 PM Leszek Koltunski

Important bugfix: no we cannot unblock touch when WIN effect finishes, because

1) starting the WIN effect does not block touch in the first place
2) it can happen that this unblocking happens when we have started finishing the rotation but haven't removed it yet...

96b75886 06/24/2021 04:10 PM Leszek Koltunski

Corrections for the new Pyraminx5 patterns.

82c27fc5 06/24/2021 03:59 PM Leszek Koltunski

Update the Pyraminx5 pretty patterns.

f185faf8 06/24/2021 01:15 AM Leszek Koltunski

New Megaminx & Gigaminx pretty patterns.

3c4495ac 06/22/2021 05:34 PM Leszek Koltunski

Convert the move format to one which can hold moves of the Megaminx and Gigaminx (in preparation for introduction of the Mega& Gigaminx Pretty Patterns)
Now we use 2 bits for the angle, 3 bits for the axis and 5 bits for the bitmap of layers. This totals 10 bits so 1024, but the whole thing will not spill over 3 digits, because in the Minxes we have total of 6 axis, not 8.

0bda7e06 06/19/2021 10:06 AM Leszek Koltunski

Workaround for a crash.

516451c4 06/17/2021 05:35 PM Leszek Koltunski

Correct the Redmi mesh to eliminate the visible seams.

d17f7a73 06/17/2021 04:26 PM Leszek Koltunski

Correct the dino mesh to eliminate the visible seams.

8e6dc249 06/17/2021 01:51 PM Leszek Koltunski

Correct rotations of the Cube - eliminate one cse when four consecutive rotations collapse into one or a NOP.

3ca97293 06/17/2021 10:01 AM Leszek Koltunski

Correct rotations of the Pyraminx - eliminate one cse when three consecutive rotations collapse into one.

0a7aa15b 06/16/2021 11:19 PM Leszek Koltunski

Separate the notion of maxLevel (in DB) [which has to stay backwards-compatible with previous versions of the app] and 'numScrambles' - the number of times an objects gets scrambled in the 'full scramble' mode. Now the second can be whatever we want without breaking backwards compatibility.

4c737817 06/16/2021 05:41 PM Leszek Koltunski

Minor.

348a445b 06/16/2021 05:24 PM Leszek Koltunski

Minor.

0812242b 06/16/2021 01:29 PM Leszek Koltunski

Improve scrambling of the Minx'es and the Redi, which in full scramble mode were frequently leaving large corners unscrambled.

9f171eba 06/13/2021 10:35 PM Leszek Koltunski

Preparation for 'smart scrambling' : introduce the total number of scrambles to the 'randomizeNewScramble' function.

cf097581 06/12/2021 01:36 PM Leszek Koltunski

Minor.

14f14138 06/12/2021 12:58 PM Leszek Koltunski

Correct the way we overlay our (possibly) better local (i.e. unsubmitted yet or submitted, but not picked up by the 'clean_db' cron job) records on top of the DB records ini the 'Scores' dialog.

4fc7b1e6 06/11/2021 12:06 AM Leszek Koltunski

Fix the fact that in the last, 'Full Scramble' level, it wouldn't switch on the green light.

df1b6296 06/10/2021 11:35 PM Leszek Koltunski

Minx'es: fix for the automatic rotations.

c3203fb1 06/10/2021 11:31 PM Leszek Koltunski

Minx'es: fix for the automatic rotations.

57e86ed0 06/10/2021 03:07 PM Leszek Koltunski

Square-2: correct detecting the solved state.

0594c61f 06/10/2021 12:31 AM Leszek Koltunski

Backing moves: constant angle speed (part 2).

3f372405 06/09/2021 01:04 PM Leszek Koltunski

Backing moves: constant angle speed.

132841b6 06/09/2021 12:13 AM Leszek Koltunski

Squares: add tutorials.
Correct the order of objects in the tutorial dialog.

5aedf057 06/08/2021 03:02 PM Leszek Koltunski

Squares: add meshes.
Bump version to 1.8.2

ec1a91f8 06/08/2021 02:52 PM Leszek Koltunski

Square-2: minor.

096d7698 06/08/2021 02:47 PM Leszek Koltunski

Squares: icons.

1cef1481 06/08/2021 02:13 PM Leszek Koltunski

Square-2 fix.

da69c279 06/08/2021 01:44 PM Leszek Koltunski

Square-2: progress.

e2b9e87e 06/08/2021 01:03 PM Leszek Koltunski

Introduce Square-2 (unfinished)

542ec777 06/08/2021 09:10 AM Leszek Koltunski

Square-1: looks to be finished.

f171c91e 06/05/2021 01:11 AM Leszek Koltunski

Square-1: progress with automatic scrambling.

f20119c6 06/05/2021 12:02 AM Leszek Koltunski

Square-1: implement the fact that corners might bandage the puzzle.

43889e94 06/04/2021 11:35 PM Leszek Koltunski

Square-1: this is a shape-shifter; we cannot just clamp the Cubit positions to the initial list of positions.
Do so only if the minError is appropriately low.

1ded8771 06/04/2021 01:37 PM Leszek Koltunski

Square-1: progress with movement.

e6734aa9 06/04/2021 01:25 AM Leszek Koltunski

Make it possible for an object to have different 'cuts' along each of its axis.

925ed78f 06/04/2021 12:26 AM Leszek Koltunski

Make it possible for an object to have different 'basicAngles' along each of its axis.

582617c1 06/03/2021 10:46 PM Leszek Koltunski

Hide more stuff in the TwistyObject class.

0203be88 06/03/2021 10:06 PM Leszek Koltunski

Remove the need for RowChances.

1f0dfb31 06/03/2021 09:11 PM Leszek Koltunski

Square-1.

06ad47b6 06/03/2021 04:36 PM Leszek Koltunski

Progress with cubit shapes of the Square-1.

c4f0dbce 06/03/2021 04:00 PM Leszek Koltunski

improvements for FactorySticker

d6fa5f24 06/03/2021 02:14 PM Leszek Koltunski

Square-1: progress

834b2618 06/03/2021 01:40 PM Leszek Koltunski

Square-1: beginnings

c494476f 05/30/2021 11:27 PM Leszek Koltunski

Make it possible to have some objects created from dmesh, and others - bootstrapped programmatically.

e9f567ac 05/27/2021 09:21 AM Leszek Koltunski

Bugfixes for two issues with 1.8.0 seen in the field.

916f5dda 05/27/2021 01:47 AM Leszek Koltunski

Bugfix: make it impossible to rotate a cube when it is being scrambled in the Tutorial mode.

8461b0af 05/27/2021 12:32 AM Leszek Koltunski

New tutorials.

2f0986b1 05/26/2021 10:51 PM Leszek Koltunski

Skewb Ultimate: icon.

7ecb58db 05/26/2021 10:37 PM Leszek Koltunski

Fact Turning Octahedron: icon.

53e7de7e 05/26/2021 08:10 PM Leszek Koltunski

Face-Turning Octahedron & Skewb Ultimate meshes.

a207be5b 05/26/2021 02:58 PM Leszek Koltunski

Move some objects around.

a7496a08 05/26/2021 01:47 PM Leszek Koltunski

Skewb Ultimate (hopefully) finished.