Circular motion on low powered hardware

Posted by Akroy on Game Development See other posts from Game Development or by Akroy
Published on 2012-06-18T03:09:27Z Indexed on 2012/06/18 3:23 UTC
Read the original article Hit count: 326

Filed under:
|

I was thinking about platforms and enemies moving in circles in old 2D games, and I was wondering how that was done. I understand parametric equations, and it's trivial to use sin and cos to do it, but could an NES or SNES make real time trig calls? I admit heavy ignorance, but I thought those were expensive operations. Is there some clever way to calculate that motion more cheaply?

I've been working on deriving an algorithm from trig sum identities that would only use precalculated trig, but that seems convoluted.

© Game Development or respective owner

Related posts about algorithm

Related posts about old-school