Jump to content
  • Advertisement
  • entries
  • comments
  • views

Texture co-ordinates

Sign in to follow this  


Must go to bed. 10 past 1am and have to be up for work.

Been struggling with problems with rotating quads all night. Finally got it sorted and can now sleep.

A big thanks to Todo for all his efforts and useful advice. Wish you could rate people up more than once.

Proof that my rotation thing works


Morning. God I'm tired. It was a long and frustrating five hours last night getting the rotation to work, especially since my girlfriend nicked the computer halfway through to mess about on FriendsReunited, but it was a great feeling when I got it sorted.

My library now has the capacity to rotate any quad about its centre before drawing it, which is all the functionality I want for now. I might extend this later, but I'm happy enough.

So now I can draw even less sprites since I can use rotation animations on static frames and stuff will still look cool. Yay!

Udo will probably now get a spin attack of some kind and I predict levels with lots of large machinery (spinning gears, spinning fans). Pendulum-style blades on ropes are now quite feasible and I suspect that the enemies may even spin around when you kill them.

Motto for the next few days - "If it don't spin, it ain't in."
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!