Project

General

Profile

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

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

# Date Author Comment
2cf21fdc 11/15/2022 12:58 PM Leszek Koltunski

Partly merge the 'iap' branch.

bb62ca3f 07/15/2022 12:39 AM Leszek Koltunski

solvers,tutorials: license.

7fe59aa5 07/04/2022 10:13 AM Leszek Koltunski

Correctly get the whole size fo the screen (along with thee top and bottom system bars) from the very beginning of the Activity.

7cb8d4b0 03/29/2022 05:20 PM Leszek Koltunski

Mode the 'iconMode' from static variable in ObjectControl to member varaible in TwistyObject (safer)

aec421fd 02/01/2022 10:45 PM Leszek Koltunski

Downloaded Objects: subtle bugfix. We cannot use ObjectType in ObjectControl to check if two objects are the same because DownloadedObjects have ObjectType null !

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

Refactor RubikObject in preparation for creating RubikObjects from DownloadedObjects.

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

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

280dc794 01/06/2022 02:53 PM Leszek Koltunski

Improve the behaviour of the Config and Tutorial activities when in the 'PopUpMode'. Also, remember the current object in the COnfig activity so that when we put it to the background and resume - the object stays.

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

Introduce 'Simple' and 'Nice' meshes.

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.

1237d25d 11/24/2021 05:36 PM Leszek Koltunski

Beginnings of the ConfigActivity.

943471aa 11/05/2021 02:11 PM Leszek Koltunski

Correct order of the tutorials.

dd874ae8 11/05/2021 10:41 AM Leszek Koltunski

Convert the theme to be a MaterialTheme and the TransparentImageButton to be a MaterialButton - the first forced by the second, and the second because a MaterialButton gives us control over the location of the icon in top of it. We need that because of the new 'solve/scramble' split-button in the lower right of the Play screen.

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

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.

9523ae28 10/05/2021 02:12 PM Leszek Koltunski

Hide most of the TwistyActivity methods inside objectlib.

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

05a244ad 10/04/2021 03:23 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.

88a3e972 10/01/2021 11:27 PM Leszek Koltunski

Move more code to objectlib.

318c0a7d 10/01/2021 04:33 PM Leszek Koltunski

Reename ObjectList to a more logical ObjectType.

7ac0ee88 10/01/2021 04:31 PM Leszek Koltunski

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

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.

4c49986e 09/14/2021 11:55 PM Leszek Koltunski

1) add missing call to BlockController.onPause() / onResume() to the Tutorial activity
2) rearrange BlockController's error reporting to make the case where the MessageSender thread has died separate
3) in such case, resurrect the thread
4) simplify and harden the EffectMessageSender

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.

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'

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

Rename packages