Welcome to the now official documentation for the gamecake framework, producing games, notcakes for the use of.
With the incredibly moist GameCake engine you too can bake the most delicious notcakes in the indieverse!
GameCake currently compiles and mostly works on the following systems and is released under the MIT license.
No programming neccessary but it does require certain hyper-advanced project management skills.
For the moment you will need to look closely at the source which can be found in the following projects but I hope to start trying to explain how to use it shortly just as soon as I've worked out how best to use it myself.
Currently hitting a problem with the latest version of nacl, something somewhere has made everything too slow. It's related to a change in how opengl calls are piped over from the sandbox. Anyway that means that until I work out a fix or the nacl side gets changed things will be unplayable on the latest chrome :(
executable source - needs compiling
Consider this the main C engine and the core source. Ultimately it builds a fat lua executable with a number of custom modules that lua can then optionally require at runtime. Technically it could also build as so/dll files for a preinstalled lua but one big fat exe keeps things simpler and helps to prevent DLL hell.
downloadable engine / check out and play
This contains compiled versions of the C engine as well as lua source for the gamecake framework and other parts of the Lua engine, this is the bit you probably want to grab and look at. All of the lua files here are also embedded in the exe so do not need to be distributed with it.
an example game
Recently we put together a little raspberry PI game demo at http://leedshack.com/
QUIP is a single screen multiplayer focused top-person couch shooter arena designed to be played with 4 joysticks plugged into a raspberry pi.
The quip subdirectory here contains the source code and compiled engine needed to run on a raspberrypi (raspbian build). It should "just work" so please let me know if it doesn't as I would really like to make it as easy as possible to run... more info at http://leeds-hack.appspot.com/2012
The following will download and run it on a PI assuming you have a recent build of raspbian installed, it will work in xwin or even just at the initial prompt.
sudo apt-get install mercurial
hg clone http://bitbucket.org/xixs/leedshack
Plug a controller into the PIs usb if you actually want to control anything. A PS3 controller kind of works but maybe not the best one. All the button handling code is in js.lua
and can be tweaked to deal with whatever you plug in.
Alternatively you can use the keyboard, but, I need privileges to open the keyboard device (I really do not want the overheads of xwindows) so you will either need to sudo the game or edit UDEV rules like so http://puredata.info/docs/tutorials/HowToReadHIDDevicesInLinuxWithoutBeingRoot/
Will try and come up with an easier way, probably an auto udev editor...
Till then try
and the keyboard should work. See js.lua
for what keys are mapped to what.
There are 3 players crammed onto it at the moment:
A list of working devices sent in by you:
Pro Flight Yoke System - sent in by xranby.
for updates on GameCake and other games related stuff.
more game examples
Join us live for GameCakeJam! Every 2nd Wednesday of the month, we will be broadcasting live on our chat server for 3 hours of game development goodness. Participants are encouraged to supply ideas and we will try out best to make them come true! Play the games we've made today!
You can also find recent news about these jams and possibly other updates on the gamecake blog.