Wecoc
Pinball Wizard
- Joined
- Dec 7, 2021
- Messages
- 66
- Reaction score
- 105
- Points
- 40
- Favorite Pinball Machine
- Cirqus Voltaire
Enhanced Display Segments is a script that defines display segments in a new way.
It uses a timer and an individual display segment for each digit, and the script handles them as a group by reimplementing the default effects.
The result looks the same as always, but with some extra properties that normally can't be accessed, and with the advantage of being open source. It also allows defining custom effects, and includes some shortcuts to make certain advanced effects a bit less difficult to make.
Finally, by using it with BAM, this code can implement effects that were impossible before.
Don't believe me? Try the demo and check for yourself!
This code doesn't modify any default features of Display Segments, so the simple displays can still be used in the table as always.
The demo includes a manual with all the new stuff and a pretty extended example of usage.
I hope you like it
It uses a timer and an individual display segment for each digit, and the script handles them as a group by reimplementing the default effects.
The result looks the same as always, but with some extra properties that normally can't be accessed, and with the advantage of being open source. It also allows defining custom effects, and includes some shortcuts to make certain advanced effects a bit less difficult to make.
Finally, by using it with BAM, this code can implement effects that were impossible before.
Don't believe me? Try the demo and check for yourself!
This code doesn't modify any default features of Display Segments, so the simple displays can still be used in the table as always.
The demo includes a manual with all the new stuff and a pretty extended example of usage.
Here's a list of all the new stuff. I recommend trying the demo instead for more detail.
- Accessors
Length (ReadOnly)
Timer (ReadOnly)
Text
LastText
EffectInterval
StarCursor
RadarCursor
StarLength
RadarLength
RndLength
LeftCursorLength
RightCursorLength
ColorSize [Requires BAM]
- New callers
SetStarCursor
SetRadarCursor
AlignText
RestoreContent
SetColor [Requires BAM]
- New QueueText effects
seTextMask
seColorMask [Requires BAM]
- Accessors
Length (ReadOnly)
Timer (ReadOnly)
Text
LastText
EffectInterval
StarCursor
RadarCursor
StarLength
RadarLength
RndLength
LeftCursorLength
RightCursorLength
ColorSize [Requires BAM]
- New callers
SetStarCursor
SetRadarCursor
AlignText
RestoreContent
SetColor [Requires BAM]
- New QueueText effects
seTextMask
seColorMask [Requires BAM]
I hope you like it