Project

General

Profile

Download (25.8 KB) Statistics
| Branch: | Revision:

distorted-objectlib / src / main / java / org / distorted / objectlib / main / ObjectPreRender.java @ 7e8750c9

# Date Author Comment
7e8750c9 03/08/2024 12:07 AM Leszek Koltunski

progress with configurable stickers

55acff1e 03/06/2024 03:06 PM Leszek Koltunski

progress with configurable stickers

352bd362 02/19/2024 01:38 AM Leszek Koltunski

More support for configuring the stickers.

361fd0de 12/28/2023 05:40 PM Leszek Koltunski

Next step toward separating TwistyObject metadata.

63bfcdd1 12/16/2023 01:03 AM Leszek Koltunski

Support for shape-shifting cuboids. (except for the flat ones like the Super Floppy)

a0ef8a1d 12/11/2023 01:13 AM Leszek Koltunski

progress with Ghost rotations.

4a014840 12/03/2023 11:12 PM Leszek Koltunski

progress with Ghost rotations.

e3169794 11/30/2023 01:05 AM Leszek Koltunski

separate a new class out of TwistyObject: TwistyLayerRotations

bb58b357 11/30/2023 12:09 AM Leszek Koltunski

clean up TwistyObject's API

1fda81c4 11/10/2023 12:27 AM Leszek Koltunski

remove 'MESH_NICE'

94490b34 10/06/2023 12:57 PM Leszek Koltunski

Seriously lower memory usage.

36082229 09/18/2023 11:20 PM Leszek Koltunski

fix a longstanding memory leak: somehow the reference to BlockController held in ObjectPreRender prevents the PreRender (and thus the TwistyObject held inside along with its Bitmap) from getting garbage collected.
Actually I am not sure why.

f557ecc4 08/14/2023 02:01 PM Leszek Koltunski

Improvement

79c7c950 04/05/2023 01:39 AM Leszek Koltunski

Move the SharedPreferences to the OSInterface

440f8e33 04/04/2023 11:19 AM Leszek Koltunski

remove all references to android.Context and android.Activity from distorted-objectlib

1dc673a3 03/22/2023 05:14 PM Leszek Koltunski

Make it possible to actually play at the MAX level the objects which have too many rostations for a normal SCRAMBLE effect (and instead do a FAST_SCRAMBLE)

cf93ea4e 03/04/2023 12:06 AM Leszek Koltunski

Introduce InitAssets. We'll use this later to pass on references to the tablebase file to the TwistyObject (so that it can use this for perfect scrambling)

4c2c0f44 03/01/2023 11:36 PM Leszek Koltunski

New button in the solver screen: reset all textures.

605f319b 02/04/2023 11:27 PM Leszek Koltunski

Bugfixes for touch control - specifically for furious swiping and concurrect backing of moves.

bcdecc9f 01/31/2023 11:47 PM Leszek Koltunski

Make it impossible to addNewRotation() (i.e. the automatic rotations triggered from backMove, scrambleEffect etc) or beginNewRotation() (by swiping a finger) when we are currently finishing a previous rotation and haven't removed it yet.

060b445e 01/30/2023 04:24 PM Leszek Koltunski

Unblock PreRender's scrambling & solving oonly AFTER we change screen to READ post-scrambling (otherwise it was possible to press the 'solve' button in the brief period between unblocking and switching screen because switching screen runs on the background UI thread)

36f6390b 01/30/2023 03:48 PM Leszek Koltunski

still return the right value in case of slow and fast scrambling.

e8d8c12a 01/30/2023 02:49 PM Leszek Koltunski

Don't do slow scramblng if numScrambles>=50 - do a fast scramble instead.

7205c655 01/22/2023 11:55 PM Leszek Koltunski

Some improvements to blocking, mostly to the names of variables.

6b301f56 01/21/2023 11:31 AM Leszek Koltunski

Finally fix the 'impossible records' bug!

Thanks for a bug report from Jacob Powell - if one, during scrambling, minimized the app and re-entered it, the UI lock got removed (by a call to 'unblockEverything' from RubikActivity's onResume) and one could then keep solving the object mid-scramble....

d85de775 01/20/2023 10:40 PM Leszek Koltunski

small improvement for the TwistyObject.

30bd2f96 01/19/2023 04:55 PM Leszek Koltunski

Move the control of object scaling out the objectlib.
Thee xact way the object is scaled needs to be decided in the app, as only the app knows that e.g. in the Rubik main screen, if it is a square, then obejct needs to be a bit smaller than in case of Config screen (if that one happens to be a square)

f7e30f36 01/13/2023 12:25 PM Leszek Koltunski

Make it possible to decide about FastScramble duration fromo outside the ObjectControl.

b31249d6 12/06/2022 02:07 PM Leszek Koltunski

Progress with Masterball TouchControl.

b1370e3b 08/17/2022 04:27 PM Leszek Koltunski

IAP part 6: new 'Present' object effect (cont'd)

826d293e 08/17/2022 03:02 PM Leszek Koltunski

IAP part 6: new 'Present' object effect.

4c87f159 07/15/2022 12:56 AM Leszek Koltunski

main: license.

d356eecc 07/13/2022 10:52 PM Leszek Koltunski

Make the fastScramble incremental.

3ce95490 07/12/2022 03:28 PM Leszek Koltunski

Do not crash when something's wrong with the JSON file - handle this gracefully, do not change the object then, and report this to Firebase.

186bc982 07/11/2022 04:24 PM Leszek Koltunski

- move the 'object' popup to the botton right
- move the 'solve' button to the upper left
- movee the 'scramble' button to the upper right (its new FastScrambleEffect still not implemented fully)

11d8426d 07/04/2022 11:46 PM Leszek Koltunski

Mark the 'Free Play' with green or red dot.

93743a22 06/19/2022 12:27 AM Leszek Koltunski

More debugs for the case of impossible records.

3a0a23bf 06/17/2022 05:58 PM Leszek Koltunski

Beginnings of support for 'sticker overrides' - possibility to override the color of an individual face of an individual cubit. Ultimately this will enable overriding with any bitmap; so far only a solid color.

Also, fixes for two crashers.

9a694085 05/17/2022 12:45 AM Leszek Koltunski

Finally fix the bad bug where people could submit impossible records!

0eff8c76 05/13/2022 01:22 PM Leszek Koltunski

Fix for a crasher.

beee90ab 04/22/2022 05:32 PM Leszek Koltunski

Preparation for Mixup Cube: take advantage of the recent bump in MAJOR_VERSION number and change the format of basicAngles to int[][] 'per-axis-per-layer' [ Mixup Cube has different basicAngle in its middle layers (8) - and different in its edge layers (4) ]

3bf19410 03/29/2022 05:20 PM Leszek Koltunski

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

dbe27c50 02/17/2022 10:18 PM Leszek Koltunski

Minor.

adb3a093 01/10/2022 03:32 PM Leszek Koltunski

Add debugging for the case when people submit suspicious records.

802fe251 01/04/2022 11:27 PM Leszek Koltunski

Convert Ulti, Jing, Pyra, Diamond, Dinos, Redi, Skewbs, Ivy & Rex to the new scheme where the quaternion group is computed automatically.

d55d2c6a 01/04/2022 09:27 PM Leszek Koltunski

Clenups.

66959ff9 12/08/2021 11:34 PM Leszek Koltunski

Minor.

4a389a4e 12/08/2021 03:26 PM Leszek Koltunski

Fix setDefaultRotation() when changing an object; do it at exactly the right time when the 'old' object has already disappeared, but the new hasn't been attached to the Nodee yet.

c3a033e9 12/07/2021 11:17 PM Leszek Koltunski

Introduce 'Simple' and 'Nice' meshes.

32c1697e 11/18/2021 10:51 PM Leszek Koltunski

Better error reporting.

11fa413d 11/14/2021 12:35 AM Leszek Koltunski

Make the ShapeChanging the default TouchControl during MODE_REPLACE.

fd6e2b3b 11/03/2021 03:33 PM Leszek Koltunski

Set the initial object size correctly.

7fe64077 11/03/2021 01:57 PM Leszek Koltunski

Small things.

d5c71d02 11/03/2021 01:36 PM Leszek Koltunski

Make it possible to extract objects' sticker pngs.

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

8c069e23 11/02/2021 10:38 PM Leszek Koltunski

Bugfix & debugging for a crash from Firebase.

a1bcb301 11/02/2021 10:09 PM Leszek Koltunski

Bugfixes for crashes from Firebase.

0e1437c1 11/02/2021 10:30 AM Leszek Koltunski

Correct the way ObejctScale works in the TwistyObjectNode.

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

d887aa16 10/28/2021 01:59 AM Leszek Koltunski

Remove dependancies on Firebase from objectlib.
Report such errors to the application via the Interface.

594bbce0 10/27/2021 11:55 PM Leszek Koltunski

Progress with PuzzleTester app.

82eb152a 10/27/2021 12:33 AM Leszek Koltunski

JsonReader (?) finished: the creator app can now read objects from JSON files.

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

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

e7daa161 10/12/2021 01:59 PM Leszek Koltunski

- remove the retarded NODE_RATIO from TwistyObject
- more correctly estimate Cuboid's 'realSize' as an average of their 3 sizes.

a57e6870 10/11/2021 10:53 PM Leszek Koltunski

make numLayers into an int[] (preparation for Cuboids)
Caution: because of previous changes to cubit order in cube, the Solver is broken!

568d4698 10/11/2021 11:00 AM Leszek Koltunski

New API to objectlib to recreate an already displayed object (because the settings, like 'IconMode' might have changed) and using the new API in puzzle-creator.

dd00d051 10/06/2021 11:25 PM Leszek Koltunski

Relax objectlib's requirements: it can be displayed not only on top of a DistortedScreen, but any DistortedFramebuffer.

72d6857c 10/06/2021 12:23 AM Leszek Koltunski

off-center objects: finished.

02d80fe6 10/06/2021 12:06 AM Leszek Koltunski

progress with off-center objects.

ecf3d6e3 10/05/2021 11:38 PM Leszek Koltunski

1) introduce possibility to move objects, i.e. display them not in the middle of the screen (not fully functional yet)
2) do away with unneeded any more interface 'EffectController' - since ObjectPreRender is the only implementation now.

81141862 10/05/2021 10:53 PM Leszek Koltunski

Remove the 'setupObject()' redundant API.

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

Remove the concept of a 'TwistyActivity' altogether.

17d623f1 10/05/2021 12:58 PM Leszek Koltunski

Bugfix: we shouldn't be calling TwsityObject.solve() directly from the app, only through ObjectControl.solveOnly().

2df35810 10/05/2021 12:52 PM Leszek Koltunski

Simplifications

9276dced 10/05/2021 11:58 AM Leszek Koltunski

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

b09dd39b 10/04/2021 03:23 PM Leszek Koltunski

Simplifications

b78ebd76 10/04/2021 03:02 PM Leszek Koltunski

Simplifications

15e5214c 10/04/2021 02:17 PM Leszek Koltunski

Simplifications

7c111294 10/02/2021 12:06 PM Leszek Koltunski

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