Sign in to follow this  
mark25

Snake in SDL

Recommended Posts

I'm currently creating a snake game in C/C++.

OOOOOOOOOOOOOX

X = snakehead
O = snakebody

"This one is just a 10x10 black image"
snakehead = load_image( "shead.bmp" );

"This one is just a 10x10 white image"
snakebody = load_image( "sbody.bmp" );

My problem is I don't know how to make the snake's body in SDL.

Share this post


Link to post
Share on other sites
As a note, it's not like we're being unhelpful. We have trouble answering your question, because frankly, you don't really have a question in your posts. Coupled with a lack of details, we don't know what to say. Raymond's article on asking questions tells you how to get useful answers from us.

In the future, it would help if you try to be specific. When you tell us vaguely what your problem is, we can only ask questions ourselves, or wonder if you are tackling something you aren't quite ready to handle.

Share this post


Link to post
Share on other sites

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