Pinup Sample Code

Read time8 min

PinUp Additions

PSD template

https://www.dropbox.com/s/bjeyf07lcuc9znj/osbhighscores-base.psd?dl=0

Daily/ Weekly Default File

https://www.dropbox.com/s/kbyuhync78b3y1q/osbhighscores-base1.jpg?dl=0

mp4 - https://www.dropbox.com/s/8hmwrh6dpsqkrd2/osb1.mp4?dl=0

All Time Screen

https://www.dropbox.com/s/psa68phrmgtr3t7/osbhighscores-base2.jpg?dl=0

mp4 - https://www.dropbox.com/s/1brkcp9duxd74b9/osb2.mp4?dl=0

Define Labels

This will take the returned values from the API and attach them to usable labels in pinup. This code takes into account that you have defined your numberfont and typefont elsewhere.

VisualBasic

Attract pages

In this example I have set this frame as frame 5 in the arrtract cycle.

Daily / Weekly

VisualBasic

Alltime

VisualBasic



Clear sub

We also need a clear sub to get rid of these labels anytime that we move on from this screen otherwise they can get stuck on.

VisualBasic