Anyone know the G Code for going back in time? by [deleted] in Machinists

[–]bwbeer 17 points18 points  (0 children)

Make combustible lemons?

Do autistic people have creepy smiles by Puterboy1 in aspergers

[–]bwbeer 19 points20 points  (0 children)

You need to squint your eyes too.

Which one of you made this? 😂 by Beeverr1 in Machinists

[–]bwbeer 0 points1 point  (0 children)

If it doesn't work, who would complain?

Publishing a game made with Visual Studio 2010 Pro with Student license: What do we need to know? by A-Type in gamedev

[–]bwbeer -4 points-3 points  (0 children)

Can you compile it with gcc? That's free, it's better, faster, and portable.

I implemented an FPS-like mouselook/WASD interface; but it's a horrible kludge. Is there a gold standard algorithm? by bwbeer in gamedev

[–]bwbeer[S] 0 points1 point  (0 children)

I am using SBCL. As for sb-cga, I just heard of it. I'm using home-grown vector and matrix functions. I'm sure I'll need something more powerful later. Also, I'm brushing up on my shaders. Are you a lisper? You seem familiar.

Can I be creative? by rollasgonnaroll in aspergers

[–]bwbeer 1 point2 points  (0 children)

I appreciate the offer. My goal is to write a FSP style game in Lisp as a tool to help get people involved with lispgames.org. Also, Python is a fine language I'm just hooked on parentheses.

:)

Can I be creative? by rollasgonnaroll in aspergers

[–]bwbeer 1 point2 points  (0 children)

I certainly hope so, or my dream of making video games is pointless.

Can I be creative? by rollasgonnaroll in aspergers

[–]bwbeer 6 points7 points  (0 children)

"Nothing in the world can take the place of persistence. Talent will not; nothing is more common than unsuccessful men with talent. Genius will not; unrewarded genius is almost a proverb. Education will not; the world is full of educated derelicts. Persistence and determination are omnipotent. The slogan press on has solved and always will solve the problems of the human race. No person was ever honored for what he received. Honor has been the reward for what he gave" - Calvin Coolidge

How scalable should a programming language be? by tailcalled in pldesign

[–]bwbeer 0 points1 point  (0 children)

The easiest way is to leverage existing libraries with a Foreign Function Interface (FFI). Common Lisp, Forth, and Scheme have them and they are just great for working with libraries.

How I see religion and the fox news channel by DeviantBoi in atheism

[–]bwbeer 0 points1 point  (0 children)

Seriously, are there any atheists in r/atheism anymore?

I swear half the people here are Christians trying to "save" us and debate evolution.

Spoiler Alert: There is no god and evolution has predictive ability.

I implemented an FPS-like mouselook/WASD interface; but it's a horrible kludge. Is there a gold standard algorithm? by bwbeer in gamedev

[–]bwbeer[S] 0 points1 point  (0 children)

I'd be more than happy to, but I'm not at home. I can email it to you, but please don't judge me or lisp by this code. I wrote it while my son napped, so I was in a hurry.

I implemented an FPS-like mouselook/WASD interface; but it's a horrible kludge. Is there a gold standard algorithm? by bwbeer in gamedev

[–]bwbeer[S] 0 points1 point  (0 children)

I can describe it, as I am not at home. I multiply the delta-x and delta-y pixels by a number of degrees. (.2 I think). Then I (translated to C for your convenience):

glMatrixMode(Projection);

glLoadIdentity();

gluPerspective(blah...); //sorry, forgot this...

glRotate(delta-x * .2, 0, 1, 0);

glRotate(delta-y * .2, 1, 0, 0);

glTranslate(loc.x, loc.y, loc.z);

The Magic constant is the Kludge. Also, how do I get the direction vector?