- 2 Posts
- 4 Comments
brittAnderson@alien.topOPBto Lisp•Help me understand how to modify a running function.English1·2 years agoThank you for you library. It would be great to have a tutorial about how to get started that includes some of this. I know you are busy working on the library, and that is what I hope you spend your time, but I will keep good notes on my experience and maybe I can contribute some sort of tutorial blog post or something. Cheers,
brittAnderson@alien.topOPBto Lisp•Help me understand how to modify a running function.English1·2 years agoThanks.
brittAnderson@alien.topOPBto Lisp•Help me understand how to modify a running function.English1·2 years agoThank you very much. The following is for any future visitor who ends up here with a similar question.
One of my challenges with this example code is that the
make-ball
function was in alet*
. The original example authors were using amove-ball
function in their main game loop. So, inspired by your suggestion I wrote acolor-ball
function with asetf
for the color slot of the shape object. Then I wrote anupd-ball
function that just calledmove-ball
and thencolor-ball
internally using the ball object created in the let. Then, it all works great. If I adjust the “move-ball” function and recompile the ball speed changes, and if I adjust the “color-ball” function the color changes.Since you were kind of enough to respond, do you have a recommendation among the raylib wrappers (or the sdl or allegro wrappers or others, including yours) that you recommend as being particularly beginner friendly and also encouraging of good habits for someone learning some simple graphics manipulation with CL?
Thanks. I was doing that for a while, but when my University moved to office365 and I had to add davmail to the mix my refreshing for new mail got very slow as it insisted on looking at all the folders. I was hoping to just use nnmaildir and drop dovecot from the mix, but maybe I will find it easier to fix dovecot than get mu working.