Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

JOGL problem

Name: Anonymous 2010-04-27 16:58

hey i ve got a problem with JOGL(Java + openGL). I have created a hero that the user controls. any ideas how i can make it move to explore an area? till now i have achieved to make him move forward and rotate its body but when it rotates and i press the forward key again it keeps on moving in the same direction as before the rotation but with its body rotated.

Name: Anonymous 2010-04-27 20:45

>>13
I have no clue.  I imagine his point was intended to be something about how clever Nintendevs were at condensing circular rotation to an eight-bit base two number (and not allowing half degrees, I guess) but his supporting argument confused me.

I think he may be arguing this: Nintendo can ignore the first bit in the eight bit number and will produce a correct, rounded down value.  Consider:
02: 00000010 is 00000010 + 00000000;
  00000010 divided by 2, rounded down, is 00000001 (1)
03: 00000011 is 00000010 + 00000001;
  00000010 divided by 2, rounded down, is 00000001 (1)
05: 00000101 is 00000100 + 00000001;
  00000100 divided by 2, rounded down, is 00000010 (2)
10: 00001010 is 00001010 + 00000000;
  00001010 divided by 2, rounded down, is 00000101 (5)
12: 00001100 is 00001100 + 00000000;
  00001100 divided by 2, rounded down, is 00000110 (6)
13: 00001101 is 00001100 + 00000001;
  00001100 divided by 2, rounded down, is 00000110 (6)

... I don't know.  I'm just speculating on ramblings.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List