Jump to content
  • Advertisement
Sign in to follow this  
2DamnFunky

sin wave information required

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

I want to practice some effects styleprogramming and one idea ive had is for a basic shoot em up game. Basically the ship can grab loads objects like wreckage and meteors with a kind of tractor beam. I want to use a funky effect for the beam and was thinking of some kind of rippling (?) sine wave (or maybe im thinking a moving wave) that randomly fluctuates etc. I have studied sine waves way over 7 years ago in a level mather (pre uni) but have since forgotten everything so i need some resources (have since burnt my books) Does any one have any. For example 1) i could do with a visual demonstration of how wavelength and amplitude affect the waves appearence 2) some general maths stuff to work out how to code it. 3) and once i got some stuff going maybe info on using sin functions vs look up tables. And how to interpolate if using look up tables. Any info appreciated.

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • 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!