Jump to content
Sign in to follow this  
  • entries
  • comment
  • views

Back to skool!

Sign in to follow this  


Had to learn Pythagoras and Trigonometry as I didn't realise that a large amount of game development relies on them.

Plus SDL can't draw circles so I came up with a function that takes steps and draws them with lines, this way you can drop the steps right down to basic triangles -or just a line or a dot- and then go from there. Plus it makes it easy to build filled circles or thick outlined ones, depending on how they are drawn.

Plus they help with collision detection which I have just managed to get up and running smoothly. Working on elastic collisions now so I can have a play with them and see how they work and where it can/can't be used.

Time to start looking into quad trees next, one step closer to the start of a game world.

Sign in to follow this  


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 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!