Well, I've ALMOST finished with Wallace and Gromit and after the Spiderman DMD i had a few people interested in implementing the DMD system into their tables. However, I think it's fair to say everyone who looked at it found themselves a little swamped by the code. I realise now that I was pushing the limits of what the system could do, rather than just giving a table author what they want - a DMD system that would, for the time being, just work a bit like a text box and display scores etc.
So I made this little tech demo. This has all the code of the full system for running animations etc, but you can ignore all that for now! for people who might like to try implementing it into a table, I've demonstrated here the very simple way you can use it. In this system you only have three commands you need to learn to make it work:
DMDINIT:
e.g
DMDInit(0)
DMDInit(1) - these should be run at the start when the table starts to initialise the DMD.
DMDPRINT:
e.g
DMDPRINT 0,0,"TEXT" - print TEXT to the big letters of the DMD
DMDPRINT 1,0,"TEXT" - print TEXT to the small, lower section of the DMD
remember to use capitals only or you will get an error!
DMDSCORE:
DMDScore - print the score and current ball to the DMD (using variables Score and Balls as your way of tracking this)
So basically it works just like a text box, only it is full colour.
To implement it into your own table, you would have to:
- copy all the reels over and make sure they are name EMreel1 to Emreel30, with EMreel1 to Emreel10 being the big ones, and 11 to 30 being the small ones
- copy the four timers and make sure they are called DMDtimer1, DMDeffecttimer1,DMDtimer2 and DMDeffecttimer2
- import the reel images (or make your own) one is included which is very basic.
- copy the script (it's marked where you should copy from in the table sample)
and that's it!
So here is all is in a zip. As you can see, it is very small in size so does not result in a huge table download! If you would like to try it out, I hope you enjoy it, and if you'd like to know more, then just ask, I'm happy to help. It would be nice to see people give it a go. Once you get the idea of simple printing, I'd be happy to explain how to do animated text which is not too hard a jump.





Top




Contributor














are all trademarks of VPFORUMS.