Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

magiccube / src / main / java / org / distorted / main @ 4946b635

# Date Author Comment
4946b635 09/24/2021 11:30 AM Leszek Koltunski

Major abstraction - automatically compute the 'computeRowFromOffset()' function from CUTS.
Still one thing left: it appears like the CUTS of Mega/Kilominxes are not correct.

e9a87113 09/21/2021 12:59 AM Leszek Koltunski

Move the Movement class from ObjectList to individual object classes.

771f6dfa 09/18/2021 10:09 PM Leszek Koltunski

Move actual solving the object to PreRender.

(before we had a 'solveObejct()' in preRender already, but that one just starts the Solve Effect!)

214e301a 09/06/2021 02:59 PM Leszek Koltunski

Fix the problem reported by Samsung -

1. Fire off the app
2. minimize it, select 'Multi window'
3. put some other app in the lower half of the screen
4. close the lower app
5. our app used to fail to display the upper and lower menu bars.

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.

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 :)

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

Progress with RubikControl.

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.

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.

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

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.

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.

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

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

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

improvements for FactorySticker

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

Square-1: beginnings

a034956d 05/19/2021 11:53 PM Leszek Koltunski

RubikControl: rotate the cube 2.

8ba7aeb1 05/19/2021 03:45 PM Leszek Koltunski

RubikControl: rotate the cube.

9205f15e 05/19/2021 12:51 AM Leszek Koltunski

Simplify RubikSurfaceView and the touchscreen control.

314bffaf 05/16/2021 11:19 PM Leszek Koltunski

RubikControl: fixes; progress.

8badfe2a 05/08/2021 04:39 PM Leszek Koltunski

Progress with RubikControl.

f8eece7d 05/07/2021 11:55 AM Leszek Koltunski

Attach the control nodes directly to the screen, not to the Object Node.

f5da732a 05/04/2021 12:52 AM Leszek Koltunski

Cube Control: step 2.

fcd5b990 05/02/2021 01:56 PM Leszek Koltunski

Rename 'state' to 'screen'

52573991 04/23/2021 04:36 PM Leszek Koltunski

Minor.

6a083c6a 04/23/2021 02:18 PM Leszek Koltunski

- report the Graphics driver's Renderer and Version.
- new Diamond, Skewb2 and Skewb3 meshes.

eaf87d1d 04/14/2021 09:51 AM Leszek Koltunski

Rename packages

c5b4af4a 03/27/2021 11:27 AM Leszek Koltunski

Fix the 6fad862b commit and remove the UI block in a proper way (i.e. the problem was that popping up the Object, Play or Menu windows was impossible while the 'WIN' glow was active)

b4a9a34f 03/14/2021 10:04 AM Leszek Koltunski

Properly solve the issue with Qualcomm driver V@331 having buggy UBO size.

1081bb47 03/13/2021 10:47 AM Leszek Koltunski

Comment eexplaining the recent 'gigaminx ban' on some platforms.

bad94fe5 03/13/2021 10:40 AM Leszek Koltunski

Relax the conditions when we do not support Gigaminx - looks like Adreno 30x has nothing to do with it, just driver version 331.

42661133 03/12/2021 10:33 PM Leszek Koltunski

Another attempt at fixing tthings on early Qualcomm OpenGL ES 3.0 drivers.

The previous version does not work on Adreno 405 driver V@100, present for example in a Asus ZenPad 8.
Revert the packed 'ivec2' UBO in the vertex shader back to a 'std140' ivec4. This comes at a price if bumping into the bug on Qualcomm driver version 331 on Adreno 308 - i.e. Samsung Galaxy J4+ again....

80fe0ef7 03/10/2021 09:34 AM Leszek Koltunski

Bugfix for a crasher

30bc2d91 03/08/2021 02:58 PM Leszek Koltunski

Fix movements of objects - before it really worked only when an object's FOV was about 60 degrees.

985f3dfa 02/24/2021 01:35 PM Leszek Koltunski

Do not block the UI if, for some reason, some of the effects failed to get added to the Queue. Just fail to rotate.

c0460c5c 02/23/2021 09:54 PM Leszek Koltunski

Bugfixes as a result of the Samsung Galaxy J4+ investigation:

1) By default, switch off transform feedback in the main program.
Create a new API 'needTransformFeedback()' to call if someone still needs TF in the main program.
2) lower the default max number of vertex effects to 30....

a64e07d0 01/19/2021 04:17 PM Leszek Koltunski

Beginnings of Megaminx & Gigaminx

d5973655 01/09/2021 11:50 PM Leszek Koltunski

We now have much more effects possible, 100 by default - it is no longer needed to call setMax().

f577131a 01/07/2021 04:01 PM Leszek Koltunski

Do use 61 vertex effects (with the advent of Kilominx)

4b4c217e 12/31/2020 09:58 PM Leszek Koltunski

Progress with the Kilominx - rotations.

ee4e7896 12/28/2020 09:56 PM Leszek Koltunski

if a user has a verified name, set it as a GoogleAnalytics UserId

f5c134c3 12/11/2020 10:28 AM Leszek Koltunski

Fixes for the Rex Cube (still doesn't work)

ef1f3e34 12/07/2020 11:44 AM Leszek Koltunski

Make the Tutorial Dialog look better

59aee296 12/03/2020 10:34 PM Leszek Koltunski

Change the way we request for reviews.

5b4eaf7e 11/23/2020 11:28 PM Leszek Koltunski

Progress creating the Tutorial Dialog.

79bf5d8b 11/23/2020 02:18 PM Leszek Koltunski

Progress creating the Tutorial Dialog.

2971588c 11/18/2020 11:10 PM Leszek Koltunski

Progress creating the Tutorial Activity.

2e0258fe 11/17/2020 09:20 PM Leszek Koltunski

Progress creating the Tutorial Activity.

344f290c 11/17/2020 03:07 PM Leszek Koltunski

Start creating the Tutorial Activity.

d7de3072 11/16/2020 12:04 PM Leszek Koltunski

More support for using the library from more than one activity

b6468abb 11/07/2020 08:37 PM Leszek Koltunski

Progress with using the Library in a second Activity.

af88bf2e 10/27/2020 12:15 AM Leszek Koltunski

New 'tutorial' activity.

2f6da3f4 10/22/2020 11:05 PM Leszek Koltunski

Catch exceptions when rotating.

6a76f80a 10/22/2020 10:34 PM Leszek Koltunski

Do not permit clicking on the 'play' button if we are currently scrambling an object.

e8f6670f 10/18/2020 01:44 PM Leszek Koltunski

Avoid cutouts in a new way

fd0b901a 10/18/2020 12:50 PM Leszek Koltunski

Avoid the possible cutouts at the top of the screen.

d99f3a48 10/16/2020 08:32 AM Leszek Koltunski

Spearate the concept of number of layers of an object and its size.
In case of the Skewb family, this is no longer the same (Master Skewb has 3 layers but it's twice bigger than the 2-layered Skewb)

ac722a43 10/09/2020 11:17 PM Leszek Koltunski

More debugging for the case of suspicious submits.

9f3a6813 10/05/2020 09:43 PM Leszek Koltunski

Improve Analytics reports

a4259b7f 10/02/2020 09:08 AM Leszek Koltunski

adjust requesting for review a bit more - now it will happen after a user has launched the app twice and played 7 times.

e06e1b7e 10/01/2020 10:29 PM Leszek Koltunski

- after some time using it, request an App review
- some tweaking for the way the objects look (set internal_color to something slightly lighter than pure black, round the corners of the stickers better)
- set internal_node ratio to 1.42, this way the objects never get cut

e7e0a94d 10/01/2020 04:18 PM Leszek Koltunski

Simplify OpenGL error dialog. Show it only once.

f18e8fae 09/29/2020 08:33 PM Leszek Koltunski

Simplify drawing textures.

045857e5 09/29/2020 02:31 PM Leszek Koltunski

Minor

1f7e0827 09/29/2020 01:50 PM Leszek Koltunski

Brighter background.

eb376d3a 09/29/2020 01:29 PM Leszek Koltunski

Bigger 'OK' button in Dialogs.

dca3888a 09/29/2020 11:02 AM Leszek Koltunski

1) report all solved levels to Analytics
2) automatically dismiss the NewRecord and Solved dialogs when one backs from the Done state.

ee39837d 09/26/2020 11:30 PM Leszek Koltunski

Progress with the Diamond. Everything working except for the isSolved(): turns out the center cubits can end up rotated along the face by multitudes of 120 degrees.

1cb36646 09/26/2020 01:10 PM Leszek Koltunski

Make the top and bottom bars transparent, above the GLSurfaceView.

be576d14 09/25/2020 08:37 AM Leszek Koltunski

Rename some classes.

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

Rename some classes.

ca3300c3 09/25/2020 08:29 AM Leszek Koltunski

Rename 'RubikMovement' to 'Movement'

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

46405bb4 09/23/2020 09:29 PM Leszek Koltunski

Add lock button.

7ea57482 09/23/2020 10:42 AM Leszek Koltunski

Compute the size of the Solver icon correctly.

c9556e1e 09/22/2020 10:57 PM Leszek Koltunski

Apply a hack so that the App enters fullscreen modee on some Huawei devices.

af7b68e6 09/22/2020 03:22 PM Leszek Koltunski

Remove LAYOUT_STABLE from the UI flags since that was causing trembling of the Scores dialog in some platforms.

4fb1fc0d 09/20/2020 06:13 PM Leszek Koltunski

Progress with UI

e365b6c2 09/20/2020 05:09 PM Leszek Koltunski

Make the keyboard visible again

ffd68f35 09/20/2020 10:15 AM Leszek Koltunski

Make it so that the Navigation Bar does not re-appear when we pop up a DialogFragment.

Now there's noly 1 case when it still reappears: it's when we pop up a PopupWindow.

0254cfd7 09/19/2020 09:49 PM Leszek Koltunski

Add hiding the Navigation bar (still unfinished, the bar re-appears when a DialogFragment or a PopupWindow appears)
Integrate the Level Spinner and the Play button into one
Move the Menu button up

fcc0e034 09/16/2020 08:49 PM Leszek Koltunski

Correct the Dino mesh.

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

Skewb Mesh.

e35247b8 09/10/2020 02:06 PM Leszek Koltunski

Improve Pyraminx Mesh

49595e4b 08/26/2020 02:53 PM Leszek Koltunski

Fix for one bug seen in Firebase and additional debugging for another.

935f3663 08/11/2020 06:12 PM Leszek Koltunski

Fix the way we continue rotation: when rotating a layer, we need to be doing it with respect to the RotAxis which has been first casted to the touched face, and only then this casted one is casted to the surface of the screen.

Before we were casting the rotAxis directly to the screen without the intermediate casting to the face, which doesn't really work in case of the Dino: if the touched face is rotated away by quite a lot, the rotAxis is then completely counterintuitive.

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

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

c7e79b69 08/10/2020 09:31 PM Leszek Koltunski

Progress with Dino Movement

faa3aed0 08/10/2020 06:01 PM Leszek Koltunski

Introduce separate ROT_AXIS and FACE_AXIS ( step 2 )

ad38d800 08/09/2020 10:01 PM Leszek Koltunski

Introduce separate ROT_AXIS and FACE_AXIS ( step 1 )

4489e68e 07/24/2020 02:50 PM Leszek Koltunski

Catch possible exceptions setting up the Renderer (possible on very old devices) and display the OpenGL error popup.

82f42eeb 07/22/2020 09:53 AM Leszek Koltunski

We need to pause an Activity in the following way:

1) Activity.onPause()
2) View.onPause()
3) Library.onPause()

otherwise sometimes there are artifacts when pausing!

b1e9596b 07/09/2020 10:48 PM Leszek Koltunski

Display the 'Privacy Policy' dialog (only if locale is set to ZH - chinese requirement)