This is a prototype of a mini-game concept for a bigger game.
How to play: rotate the pieces until the lasers reach the sensors. When all the sensors are activated, you win!
Try it here: http://dobesv.com/1gam-LaserPuzzle/
Source code here: http://github.com/dobesv/1gam-LaserPuzzle/
I remember a long time ago when I first ran into Lua, before it even used much for game development, I really liked it. Oh, how the times have changed! Now I find it is not a fun language at all.
On the plus side, Lua has pretty good documentation and I could reload my changes almost instantly without a full restart of the game.
IF Lua had a really great IDE I might have been happy with it. Unfortunately, Lua’s highly dynamic and flexible nature makes writing an IDE that does useful things like refactoring, error checking, and “jump to definition” very, very difficult. There are some honest attempts but for my project they didn’t work.
Marmalade Quick I wasn’t too impressed with - despite labelling Marmalade Quick as a verion 1.0, it was still very much in beta form. I ran into some bugs and quirks, and my questions about them were not answered promptly on their Q&A site. The support for Marmalade is not very good - a few times I’ve attempted to make use of the forums or Q&A site and a decent number of my questions were not answered promptly, or not answered at all.
I wanted to make a downloadable version of my game for at least Windows, if not Mac OS X, but I couldn’t figure out how to make it work and my question about it on the Q&A site was not answered.
The thing that impressed me about Playcraft was their demos - they look great, have sound, and and great frame rates (on my machine, anyhow). That gives me some confidence that I can make a good game on those platforms.
The playcraft API is relatively well organized and documented. It took me a little while to figure out how the rotation and scaling work. It turns out that they maintain the same top-left anchor point when rotating and scaling, which means your x,y coordinate is upper-left corner of the image before transforms are applied.
It is currently in beta, and I did run into one bug I had to tweak in their library.
Generally, however, I liked playcraft. I think when some of their more interesting features start to show up, like the editor, mobile device deployment, and so on it’ll be worth spending money on.
All the graphics are original artwork by my partner in crime Glenn Martin.
Game mechanic by Duncan Shields (thought of the rotating pieces) with help from Dobes Vandermeer, Leigh Tingle, and Glenn Martin.
Programming by me - Dobes Vandermeer.
Original music by Christopher Tyler Nickel
- Door noise from http://www.trekcore.com/audio/
- Applause from http://www.soundjay.com/applause-sounds-1.html
- Level complete from http://noproblo.dayjo.org/ZeldaSounds/
- Beep from http://archive.org/details/TickSound
- Pivot sound from http://soundcli.ps/sound/camera-shutter-3