[ab] A jigsaw puzzle game

Anthony Fairchild fairchild.anthony at gmail.com
Sat Jul 7 14:28:06 CDT 2007


On 7/7/07, Luke Crook <luke at balooga.com> wrote:
>
> Anthony Fairchild <fairchild.anthony at ...> writes:
>
> > Hello Everyone,In case anyone is interested I've created a Windows setup
> > program for my very humble and cheesy jigsaw puzzle game written using
> the
> > lispbuilder libraries.
>
> I just installed it and it works flawlessly; even the sound :) I'll link
> to it
> from the lispbuilder homepage if that's OK with you?


Thanks for giving it a try.  It would be very nice to add a link from the
lispbuilder page, thanks!  Soon I will need to find a real hosting service
for my game and other projects as I am currently running my own server off
of my cable modem.  Do you have any suggestions for cheap, lisp-friendly web
hosting?

Did you use Lispworks?


I am using Lispworks Pro for this project.  There really isnt anything
Lispworks specific other than the way the delivery is done.

Are the jigsaw pieces rotated in realtime, or are the
> rotations calculated and then cached?


I'm pre-creating a sprite sheet with all of the pieces and their rotations.
The rotations are done in C at the moment.  Doing the rotations in Lisp was
fast enough but I was having a weird problem with performance in some
situations after the images were loaded and cached.  The game would hiccup
when dragging peices around.  The only thing I could think of that was the
GC was kicking in.   I spent a bit of time trying to figure it out but
finally took 1/2 hour to rewrite floodfill and rotate in C.  That fixed the
problem and made the game run faster so I stuck with it.


Well done!


Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lispniks.com/pipermail/application-builder/attachments/20070707/802c9b29/attachment.html


More information about the application-builder mailing list