View Single Post
Old 11th April 2018, 02:36   #25
Zylot
Major Dude
 
Zylot's Avatar
 
Join Date: Jul 2001
Location: Pa, US(of)A
Posts: 803
Thanks for the detailed post!

Re: The Snake

memcpy, I had no idea this was a thing, now I do.
The choppy movement: on purpose. It was originally smoothly choppy (IE: moved every X frames vs the motion of it's parts which degraded based on distance from the head (in increments of five frames)) but then I added some variance to make it more unpredictable and.. well.. bad. Like the unreliable performance of an older game. In theory, you could remove the frame%val code and get it to move every single frame. It'd be quick, and smoother, but not the effect I wanted.
My code is bad: Yeah it is.

-------------
What do you wish for?
--Instrumentality
Zylot is offline   Reply With Quote