Giter Site home page Giter Site logo

Comments (4)

TonAtLacework avatar TonAtLacework commented on June 12, 2024 1

Ah, i love undocumented features. Now the issue i am having is when i make dx 0 or when i comment it out, i don't get my eventdescription sprite.
Setting it to -1 provides the behavior i am looking for.
Bug?

from infopanel.

partofthething avatar partofthething commented on June 12, 2024

Oof yeah sorry about that. There's an undocumented option that defaults to true that you have to add to turn off the 'flipping':

try adding can_flip: false

  eventdescription:
      type: DynamicFancyText
      #label: 'Description '
      data_label: event_description
      label_color: red
      value_color: white
      font_name: 5x7.bdf
      dx: 1
      ticks_per_movement: 5
      can_flip: false

from infopanel.

partofthething avatar partofthething commented on June 12, 2024

Yeah I need to do a doc update for sure.

dx is supposed to mean "change in x per tick" so 0 would mean motionless (you'd have to set x and y to something more than 0 sometimes to see the sprite. -1 means it moves but in the opposite direction.

from infopanel.

TonAtLacework avatar TonAtLacework commented on June 12, 2024

from infopanel.

Related Issues (20)

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.