Jump to content



Photo
- - - - -

Segment Display Class


  • Please log in to reply
No replies to this topic

#1 Mystman

Mystman

    Enthusiast

  • Members
  • PipPipPip
  • 93 posts

  • Flag: Netherlands

  • Favorite Pinball: Sonic 2

Posted 24 June 2010 - 12:53 PM

Segment Display Class

Version: 1.0.1
Category: Future Pinball

Author(s): Mystman

Description:
This table demonstrates an advanced segment display, that can be easily integrated into your own tables, giving improved functionality with minimal problems.
From the Script:

'This class controls a set of segment displays, one shown on the heads-up-display, and one on the backglass.
'Multiple instances of the class can make it so that you have multiple independent displays on the hud/backglass.
'Advantages of this system:
' 1: The hud and backglass are automatically synchronized. There's no need to duplicate all your commands.
' 2: The timings of the effects are accurate. If you tell some text to blink for 2 seconds, it will.
' This is not the case with the default segment display behavior.
' 3: Texts have levels of importance. Getting some small points won't overwrite "TILT WARNING" or "MULTIBALL".
' Texts of equal level are queued. Texts of higher levels overwrite lower levels. Texts of lower levels are ignored.

(edit: my apologies to the 1 person who downloaded the initial version.. a rogue dot found it's way to the end of line 216 while writing the comments sleep.gif)

View File

Submitted by Mystman, on Jun 24 2010, 08:53 AM

Edited by Mystman, 24 June 2010 - 12:56 PM.