-
Notifications
You must be signed in to change notification settings - Fork 12
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
Can't get my head around dx #25
Comments
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 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 |
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. |
Yeah I need to do a doc update for sure. dx is supposed to mean "change in x per tick" so |
Hi Nick!
Fully understood. I thought that dx was indicating direction of motion and
not "change in x per tick". Maybe I got thrown off-guard by the default
value of 0 which, as I understand now, means no motion at all.
Have you considered changing the default value to 1 so the sprite at least
moves when dx and dy are used?
Ton.
…On Sat, Oct 16, 2021, 07:14 Nick Touran ***@***.***> wrote:
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.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#25 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUKL4QVL4SINVURRJNJTHKLUHEC5DANCNFSM5GBIEV2A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
So dx seems to be simple:
So why is my text scrolling from left to right and back from right to left no matter what i set the parameter to?
The text was updated successfully, but these errors were encountered: