Sign in to follow this  

i need help with programming a Pac-Man style game

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

[quote name='Mastermind89' timestamp='1311465427' post='4839407']
I want to begin programming a pac-man style game. I know some C++, but i am still learning.
[/quote]

Just a quick question but how much C++ do you know? I would probably recommend to first make a simple pong game with beatable AI. Then move onto a slightly more complex snake game. After that possibly a version of asteroids.

From this point if you make all of those games you would probably understand enough about how to create a game that you would be able to figure out most of what to do by yourself.

To help out I found this useful tutorial site for SDL (a 2D API for C++) : [url="http://lazyfoo.net/SDL_tutorials/index.php"]http://lazyfoo.net/SDL_tutorials/index.php[/url] which you might want to work through.

A basic pong tutorial can be found here : [url="http://www.cppgameprogramming.com/cgi/nav.cgi?page=pong"]http://www.cppgameprogramming.com/cgi/nav.cgi?page=pong[/url] (though its more like commented source code, you might want to find a better tutorial / youtube videos to help walk you through the steps)


Share this post


Link to post
Share on other sites
[quote name='bloodisblue' timestamp='1311469316' post='4839421']
[quote name='Mastermind89' timestamp='1311465427' post='4839407']
I want to begin programming a pac-man style game. I know some C++, but i am still learning.
[/quote]

Just a quick question but how much C++ do you know? I would probably recommend to first make a simple pong game with beatable AI. Then move onto a slightly more complex snake game. After that possibly a version of asteroids.

From this point if you make all of those games you would probably understand enough about how to create a game that you would be able to figure out most of what to do by yourself.

To help out I found this useful tutorial site for SDL (a 2D API for C++) : [url="http://lazyfoo.net/SDL_tutorials/index.php"]http://lazyfoo.net/S...rials/index.php[/url] which you might want to work through.

A basic pong tutorial can be found here : [url="http://www.cppgameprogramming.com/cgi/nav.cgi?page=pong"]http://www.cppgamepr...v.cgi?page=pong[/url] (though its more like commented source code, you might want to find a better tutorial / youtube videos to help walk you through the steps)



[/quote]


Thank you for the reply. I am currently watching youtube videos and they are help me a lot in learning. I know how to make a "guess my number" game, But i will look into that pong tutorial. Thanks again.

Share this post


Link to post
Share on other sites
[quote name='Mastermind89' timestamp='1311465427' post='4839407']
I want to begin programming a pac-man style game. I know some C++, but i am still learning.

Any help?
[/quote]

What part about making the game do you need help with? Do you have a rendering framework already setup? You'll need to be able to render sprites for each component in the game. Collisions in the game can be greatly simplified to restricting the motion to a predefined grid.

Share this post


Link to post
Share on other sites
[quote name='mmakrzem' timestamp='1311534761' post='4839696']
[quote name='Mastermind89' timestamp='1311465427' post='4839407']
I want to begin programming a pac-man style game. I know some C++, but i am still learning.

Any help?
[/quote]

What part about making the game do you need help with? Do you have a rendering framework already setup? You'll need to be able to render sprites for each component in the game. Collisions in the game can be greatly simplified to restricting the motion to a predefined grid.
[/quote]


I don't know about rendering framework, but i haven't started making the game. I am using the program known as CodeBlocks.


I also can't seem to compile allegro for CodeBlocks in cmake because of the libgmp-10.dll issue. the dll is there, but i don't know how to set up path variables.

Share this post


Link to post
Share on other sites
[quote name='Mastermind89' timestamp='1311544161' post='4839750']
[quote name='mmakrzem' timestamp='1311534761' post='4839696']
[quote name='Mastermind89' timestamp='1311465427' post='4839407']
I want to begin programming a pac-man style game. I know some C++, but i am still learning.

Any help?
[/quote]

What part about making the game do you need help with? Do you have a rendering framework already setup? You'll need to be able to render sprites for each component in the game. Collisions in the game can be greatly simplified to restricting the motion to a predefined grid.
[/quote]


I don't know about rendering framework, but i haven't started making the game. I am using the program known as CodeBlocks.


I also can't seem to compile allegro for CodeBlocks in cmake because of the libgmp-10.dll issue. the dll is there, but i don't know how to set up path variables.
[/quote]


Actually now i'm using Visual Studio 2010 Ultimate.

Share this post


Link to post
Share on other sites

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