PinBuilder

PinBuilder

Not enough ratings
digit concept
   
Award
Favorite
Favorited
Unfavorite
Tags: table
File Size
Posted
1.339 MB
1 Apr, 2024 @ 1:56pm
1 Change Note ( view )

Subscribe to download
digit concept

Description
just a demonstration of what the logic in the game is capable of at the moment.

This "table" is designed for being only interactable with the mouse, so don't try to launch the ball ;-)
Just start the game normally with "t" and then press "u" to get the mouse pointer. You now can interact with the table elements (in this case the rollover switches) with your mouse directly.

Description:
I just wanted to see if it was possible to create a visual count down timer. Yes, I could have done it with some simple lamps - but if it was possible with some lamps I could use them as digits as well.... ;)

The "count down" switch starts the count down if there was a number set on the digit "display". WIth the "manually" switch you can increase the time by 1. "automagically" increases the value by 1 per second. To deactivate the automatic increase just press "manually" again. Now you can press "count down" and it counts the time from the value set on the digits down to 0. With "reset" you can stop any process going on immediately and set the value to 0.

Counting up and down use two different techniques, logic wise. For both I use two rows of white lamp inserts to store the actual value of the counter in the upper part. The bottom row of lamps represents the numbers from 0 to 9. The upper row represents the 10s, 20s and so on. So, for example, for a 27 the 3rd lamp of the upper row and the 8th lamp of the bottom row is lit.

For counting up I simply use logic controllers with the "sequential" event, connected to the respective row of lamps. So, with each activation of this controller the next lamp gets turned on (they get reset beforehand, though, to have just one lamp lit). After that I just trigger the correct logic controller, which toggles the respective lamps representing the digit number.

Counting down is a bit more complex, as I couldn't just use the "sequential" event again. There is no way to initialise it with a value. So I had to implement checks for every lamp to get the next lower number and refresh the digit.
2 Comments
Andhar  [author] 9 Jul, 2024 @ 6:42am 
here is a thread with some other guys having the same problem (I was one of them)
https://gtm.steamproxy.vip/app/2286680/discussions/0/4032475487616754661/

However, I don't know if it changed in the meantime - it's been a while ;)
hasselman 9 Jul, 2024 @ 3:35am 
How to reset Cabinet Mode in the startup settings,
i cant get out of it anymore ( not related to this table / cry for help )?