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

translation, offset, random hide issue #117

Open
nitneuq33 opened this issue Jul 5, 2019 · 0 comments
Open

translation, offset, random hide issue #117

nitneuq33 opened this issue Jul 5, 2019 · 0 comments

Comments

@nitneuq33
Copy link

nitneuq33 commented Jul 5, 2019

flare version : flare_flutter: ^1.5.2
Here is two simple translation example where I have problems...
I use`

new FlareActor("assets/flare_test.flr", alignment:Alignment.center, fit:BoxFit.contain, animation:"1" , controller:controls,
`
to lanch flare animation

I init final FlareControls controls = FlareControls();

I control with

   new RaisedButton(
            child :Text (" key 1 translation1"),
            onPressed: (){
              controls.play("1");

            }),
        new RaisedButton(
            child :Text (" key 2 translation2"),
            onPressed: (){
              controls.play("2");

            })

I use name key 1 and 2 to change animation.
On flare editor all is good when I switch keys

but when I transfert in my device I have trouble with animation who loose origin, or shape who disappears.

2019_07_05_16_14_54 (1)
2019_07_05_15_55_57 (1)

here is my flutter version

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.5.4-hotfix.2, on Microsoft Windows [version 10.0.17134.829], locale fr-FR)
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[√] Android Studio (version 3.3)
[!] VS Code, 64-bit edition (version 1.21.1)
X Flutter extension not installed; install from
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[√] Connected device (1 available)

! Doctor found issues in 1 category.

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

No branches or pull requests

1 participant