Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reimplemented Tutorials in Compose #5746

Merged
merged 12 commits into from
Jul 16, 2024
Merged

Reimplemented Tutorials in Compose #5746

merged 12 commits into from
Jul 16, 2024

Conversation

westnordost
Copy link
Member

Part of #5616

@westnordost
Copy link
Member Author

westnordost commented Jul 15, 2024

Re-building this was not fun in Jetpack Compose.

I have the impression that this kind of animation choreography is hard to do in Compose. Aggravated by the fact that animated vector drawable XMLs are only supported via another library which however does not exist for Compose Multiplatform (yet?) and I imagine that it might be somewhat difficult to properly support, as animated vector drawables in Android rely on certain components from the Android animation framework.

See https://developer.android.com/develop/ui/compose/animation/vectors

So anyway, the animated vector drawables I re-implemented in code instead. It's... okay.

How the new tutorial screens look like. You'll notice a few differences. E.g. you can go back, too, including several steps at once (which might produce funny animation effects), and you can swipe, and text does not appear one by one but as "pages". The animation with the paint roller is simpler. (The blurriness in the video seems to only on the emulator 🤷‍♂️)

Screen.Recording.20240715.203901.mp4
Screen.Recording.20240715.204050.mp4

@westnordost westnordost merged commit ab5cc91 into master Jul 16, 2024
@FloEdelmann FloEdelmann deleted the tutorials-compose branch July 17, 2024 06:59
@Helium314
Copy link
Collaborator

I remember discussing about choppy animations. On S4 mini it seems surprisingly fine, as long as you wait for a while (until tangram sprite sheet creation is done) before going through the tutorial.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Released
Development

Successfully merging this pull request may close these issues.

2 participants