Archived

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

Types of math in games:

This topic is 6019 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

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^^



-Deku-chan

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