Skip to main content

Questions tagged [fixed-point]

Fixed point stores numbers as a multiple of a fixed unit size. An example is how dollars are stored as cents or hundredths of a dollar. There is a fixed number (2 in this case) of fractional digits. This concept can be applied to computing to store numbers where a fixed number of bits represent fractional digits. This tag is appropriate for questions that pertain to the use of fixed point numbers in game development.

Filter by
Sorted by
Tagged with
3 votes
6 answers
2k views

I am trying to rotate a vector made of two signed 16-bit coordinates (-32768 to 32767). Using a LUT for sin/cos, I can use the standard method for rotating a vector: ...
IanLarson's user avatar
  • 811
0 votes
2 answers
211 views

So an object has a position, velocity, and is affected by gravity. ...
CPlus's user avatar
  • 153
4 votes
2 answers
4k views

I would think there should be an abundance of excellent articles answering this question, but my searches have come up completely empty. I am developing an embedded graphics engine on a ...
Connor Spangler's user avatar
16 votes
1 answer
1k views

Background: I'm having a problem getting the jump curve correct for a retro platformer remake project of mine. The original game is for the NES, and the player's velocity is stored in two separate ...
Zack The Human's user avatar