Sign in to follow this  

snake

This topic is 4092 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'm a beginner and trying to make "snake". How would you recommend making the graphic for the actual snake. I already have directX but I don't know whether to put a texture on top of triangles or do a mesh or what(not even really sure what a mesh is or if its useful) Thanks using Visual C# 2005 express

Share this post


Link to post
Share on other sites
What you want to do is to use directX's Sprite interface. I don't know much about C# but I think you have something like a directx.sprite class. Then you want to load a texture of a ball with an alpha channel and render your snake using the sprite object and the texture. You simply need to render your sprite one time for each part of the snake. This is the way to go to do a snake composed of balls.

Hope I could help

Share this post


Link to post
Share on other sites

This topic is 4092 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.

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

Sign in to follow this