Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Types of math in games:

This topic is 6300 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

What is the ratio of integer::floating-point::fixed-point math used in todays games? Thank you for your bandwidth. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~Succinct Demos Online~ I am a software engineer who writes poetic code!

Share this post

Link to post
Share on other sites
For 3D games, I''d say a good 99.9% floating point, for 2D, if it''s an RPG wheer you can only move one full tile at a time, integer, and for a side-scroller, float or fixed, depending on the platform/programmer. For example, Gameboy Advance has no FPU, so all games on it will have to use int or fixed, and N64 is made for 3D, so you''ll most likely be using textured quads instead of blitting, and as such, you''ll need floating point math, snice that''s what the rendering hardware uses. I''m making a side-scroler for PC, and using fixed point strictly for the speed of converting to/from a normal integer^^


DK Art (my site, which has little programming-related stuff on it, but you should go anyway^_^)

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!