Coder Social home page Coder Social logo

flame_flare's People

Contributors

luanpotter avatar renancaraujo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

flame_flare's Issues

update dependency

Hello, now that version 1.0.0 of flame engine is almost out, it would be nice to have that package fit with the dependencies

strange behavior when moving horizontally or vertically

// My code

class TurtleComponent extends FlareActorComponent {
  final TurtleController turtleController;

  TurtleComponent(this.turtleController)
      : super(
      FlareActorAnimation(
        'assets/Turtle.flr',
        controller: turtleController,
        fit: BoxFit.none,
        animation: 'Walk',
        width: 400,
        height: 400,
      )
  );

//  @override
//  void update(double t) {
//    super.update(t);
//    x+=10*t;
//    width=600;
//  }
}

class MyGame extends BaseGame with TapDetector {
  final double squareSize = 128;
  TurtleComponent turtleComponent;
  TurtleController turtleController;

  bool loaded = false;

  MyGame() {
    turtleController = TurtleController();
    turtleComponent = TurtleComponent(turtleController);
    turtleComponent.x = 30;
    turtleComponent.y = 70;
    add(turtleComponent);
  }

  @override
  void render(Canvas canvas) {
    super.render(canvas);
  }

  @override
  void onTap() {
    turtleController.Walk();
  }
}

and this result:

image

After updating to latest flutter, flame causing problems

Hello, few days ago I updated flutter, but then my flutter-flame project stopped working. (I am testing on linux)
I get the following error:
flutter: Another exception was thrown: 'package:flutter/src/rendering/mouse_tracking.dart': Failed assertion: line 311 pos 12: '!_debugDuringDeviceUpdate': is not true.
$ flutter doctor -v
[✓] Flutter (Channel master, 1.25.0-9.0.pre.57, on Linux, locale en_IL.UTF-8)
• Flutter version 1.25.0-9.0.pre.57 at /home/orr/SDK/flutter
• Framework revision f37969638d (32 hours ago), 2020-12-14 22:18:03 -0500
• Engine revision 1749dbcc1b
• Dart version 2.12.0 (build 2.12.0-150.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /home/orr/SDK/Android
• Platform android-30, build-tools 29.0.2
• ANDROID_HOME = /home/orr/SDK/Android
• Java binary at: /home/orr/SDK/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.

[✓] Chrome - develop for the web
• CHROME_EXECUTABLE = /snap/bin/chromium

[✓] Linux toolchain - develop for Linux desktop
• clang version 7.0.0
• cmake version 3.16.3
• ninja version 1.10.0
• pkg-config version 0.29.1

[✓] Android Studio (version 3.5)
• Android Studio at /home/orr/SDK/android-studio
• Flutter plugin version 42.1.1
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] Connected device (2 available)
• Linux (desktop) • linux • linux-x64 • Linux
• Chrome (web) • chrome • web-javascript • Chromium 87.0.4280.88 snap

when I remove the flame widget, it seems to be ok

Rename to flame_flare

We have been using underscore on our underlying packages, (flame_svg, flame_gamepad, etc).

I think we should keep the pattern, what do you think?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.