Project

General

Profile

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

magiccube / src / main / java / org / distorted / tutorials / TutorialSurfaceView.java @ 2cf21fdc

# Date Author Comment
bb62ca3f 07/15/2022 12:39 AM Leszek Koltunski

solvers,tutorials: license.

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

a946af34 10/22/2021 11:00 AM Leszek Koltunski

new API to make is possible to adjust default scale factor in each TwistyObjectNode.
(and use it in Tutorials, where the object needs to be smaller)

338babe8 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)

eb49fa90 10/06/2021 01:04 AM Leszek Koltunski

Use the off-center objects to display the object in Tutorial mode properly.
Now it is not covered by the right bar!

c65a5efe 10/05/2021 03:40 PM Leszek Koltunski

Further simplifications.

e019c70b 10/05/2021 03:12 PM Leszek Koltunski

Remove the concept of a 'TwistyActivity' altogether.

2afc6754 10/05/2021 11:58 AM Leszek Koltunski

Move RubikControl to objectlib (as 'ObjectAutomator')
Hide ObjectPreRender inside objectlib and move its APi to ObjectControl.

1bafcba4 10/04/2021 03:33 PM Leszek Koltunski

Simplifications

05c20dad 10/04/2021 02:17 PM Leszek Koltunski

Simplifications

dd1a65c1 10/04/2021 01:39 PM Leszek Koltunski

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

eaf46415 10/02/2021 12:07 PM Leszek Koltunski

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

1cd323dd 10/02/2021 12:08 AM Leszek Koltunski

Move yet more code to objectlib.
It's almost possible to move the PreRender to objectlib now.

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

Move QuatHelpeer to distorted-library

3f7a4363 09/29/2021 04:07 PM Leszek Koltunski

Remove all files that have been separated into a new library 'objectlib'

588ace55 09/29/2021 12:14 PM Leszek Koltunski

Prepare the 'objectlib' package to be separated into a library module

bdbbb4c5 09/28/2021 11:47 PM Leszek Koltunski

Refactoring: split the 'objects' package into two, 'objects' and 'objectlib'.
The point: we're going to need to move the 'objectlib' stuff into its own library module, and that's because we're going to create a new app module which needs access to it.

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.

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.

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

Lots of changes :)

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

Progress with RubikControl.

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.

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

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

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.

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

Rename packages