Re: Movitz VGA Source
"Shawn Betts" <[email protected]> Fri, 9 Mar 2007 12:24:38 -0800
| Newsgroups | gmane.lisp.movitz.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Martin, Your VGA patch inspired me to hack together an asteroids game. An image is at: www.emmett.ca/~sabetts/asteroids.img Here's the current source: www.emmett.ca/~sabetts/asteroids.lisp It works with clx or movitz. You'll notice, though that it uses keyboard stuff that isn't in movitz. Because the key handling in movitz is not ideal for games, I took it upon myself to improve it and uh ya. anyway asteroids. work-in-progress. When I finish this keyboard hacking I'll post something more polished :). In the meantime, know that your hack is being interactively appreciated :). Also, it flickers a lot, as you will notice. Will you be adding double buffer support to your library? -Shawn On 3/9/07, M Bealby <[email protected]> wrote: > > I am going to be busy this weekend and I really wanted to put something > out > there for people to play with. Hence I've uploaded a diff of the work so > far. > > The diff is quite large because the test splash image is uncompressed, > maybe > someone could hack simple run length encoding in over the > weekend. However, I > did take the comments about the size into consideration -- I bzipped the > diff! > :) > > It also contains simple vector drawing functions. I've been in contact > with > Frederic Jolliton regarding his cl-vectors[2] library and it seems > possible to > port. However, it might take some time, so I ported across simpler > routines > from Cyrus Harmons ch-image[3] for the time being. > > Hope people have fun with this and build upon it. If you get some > non-blocking > keyboard reads going and a little loop you could probably write a little > asteriods game. > > All the best, > Martin > http://ccgi.bealbywm.plus.com/blog/ > > > [1] http://www.bealbywm.plus.com/movitz/vga-0.1.diff.bz2 > [2] http://projects.tuxee.net/cl-vectors/ > [3] http://cyrusharmon.org/cl/projects/ch-image/ > _______________________________________________ > movitz-devel site list > [email protected] > http://common-lisp.net/mailman/listinfo/movitz-devel >