Games
If you have games for your touchscreen pc / jukebox, I have written an interface in .net which you could use. It will NOT work out of the box, but I’m here to share the code so people can hopefully use it. It’s no way near complete… but it could get you started!
The Code
I’ll soon explain the code, but for now, here’s the source code. You’ll need an editor such as Visual Studio Express (download here) and the .net framework.
I have written this so it would work over the top of the Albumplayer jukebox software but it was a little buggy. Please reply to this thread if you have any problems or questions… or any tips! I am new to VB developing so it’s probably FAR from perfect!!
Screen Shot
How it works
I have various games on an external drive (D: in the code). Each one has an EXE file associated with it. The code I have written has onclick events associated with each image (as you see above). The image then will call code to launch the game. It’s not great coding, but it does the job.
You’ll notice a jukebox image in the bottom right. That has code associated with albumplayer and when clicked will launch the player (this must be already loaded in the background). It will NOT load albumplayer from scratch. It will simply look for it and bring it to the front of the screen layout. A new button layer is then added on TOP of album player. This then covers over the close buttons and allows the user to return to this screen. (screen shot below)
So above you can see the “back to games” button which I bring to the front. This however is a little buggy and the code I have used it probably not great.
As for all the images used in the games interface, they are all custom made. I used google images for logos for each game and the jukebox image. It’s all PNG images and all are imported in to the library in the source code.
Download
Like I said, I am providing this source code not as a WORKING VERSION, it’s simply there so it may help other people create their own interface. Please don’t post requests saying “it doesn’t work”. Chances are, it won’t ever on your system. If you have any specific questions regarding methods or code I have used however, please feel free to post!
A note about this download: It’s built on the top of the Albumplayer interface. For it to work, you WILL need to runAlbumplayer. The code is here to simply assist someone… not to work out of the box remember!
Download: AP_InterfaceTest (ZIP 4mb file)


August 17th, 2011 at 12:37 pm
Thanks for providing such wonderful information to get it started