Equipment/The Beast

From London Hackspace Wiki
< Equipment
Revision as of 22:40, 16 September 2011 by 94.193.97.254 (talk) (Created page with "== Keymappings == === Player 1 === * Directions: Left Arrow, Right Arrow, Up Arrow, Down Arrow * Buttons: Z, X, C === Player 2 === * Directions: J (left), K (down), I (up), L (r...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Keymappings

Player 1

  • Directions: Left Arrow, Right Arrow, Up Arrow, Down Arrow
  • Buttons: Z, X, C

Player 2

  • Directions: J (left), K (down), I (up), L (right)
  • Buttons: N, M, B


Launcher software

This lives at http://github.com/v21/Boinger. Any improvements gratefully welcomed, although you will need a Pro version of Unity3D to compile it. I know, sorry. One improvement would be rewriting it to not require this.

Adding games to the launcher

All games should run fullscreen at 1024 * 768 resolution. They should also survive being exited abruptly, as the launcher software isn't particularly gentle when it quits things.

The launcher reads the games avaliable from a json file called local.json, which sits in the arcade_games folder linked on the desktop. If The Beast is plugged into the network, it should appear as a Windows fileshare on machine //INDIEBOX/

The format looks like this:

{"games" :

[
	{
		"name" : "game2", 
		"author" : "me" , 
		"filePath" : "C:/Users/Public/arcade games/SumoBOSSRace.exe",
		"splashScreenPath" : "file://C:/Users/v21/Documents/My Dropbox/Launcher/Assets/tex2.png"
	}
]
}


The splash screen is the screen that's displayed on the arcade machine when cycling through the games. This works best if it's a 1024 * 768 png. Ideally it'll be exciting and eyecatching, tell people what the game is and who made it, maybe tell them what keys to press and maybe exhort them to push start. But it's up to you.

Alternatively, you could load a splash video. This needs to be in ogg format, and goes in the "splashScreenPath" variable. You also need to set the variable "splashIsVideo" to true.

I've just been dumping all the games into the arcade_games folder, accessible via the public share.