Jump to content
  • Advertisement
Sign in to follow this  
White Scorpion

New project idea ?!

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

Hi everyone ! Since I had to rewrite my entire old project since it was sooooo badly written, do you guys have any idea of some project I could code so I can try again and get better ? The project could be a game, an utility or simply something to reproduce ( like something in the STL to try to do like it )

Share this post


Link to post
Share on other sites
Advertisement
Ok so I'll have to read on path-finding.. but that's for later. Now could you guys help me design the interface so I don't end up with the program being screwed because of a bad design.

So I know some of the objects ( probably classes, structs or namespaces ):
- sprite
- userinput
- ai_enemy : sprite
- wall : sprite // even though it will not move, it's still an image
- game_logic
- some functions to take care of basic tasks ( such as window creation and some usefull functions )

Thank you guys for your help.

Share this post


Link to post
Share on other sites
You shouldn't need too much help designing the interface, just take a look at how the originals did it, and figure out how to copy what they did - make any changes you think appropriate.

You'll probably want to load your maps from external files too btw, it's good practice at something 'real' games do.

I assume from your post you've decided to work on Pac-man. To start with just get the player moving around in a map on screen, then add in the tokens the player needs to eat. Don't worry overly much about your AI till you have the player working, to draw them you can use pretty much the same functions as for the player. There should be plenty of old topics around about the AI used in the game, you may also want to check out the AI forum when you get to that stage.

Share this post


Link to post
Share on other sites
you dont necasarily need a complicated pathfinding algo to make your enemies follow you. when i did it, i simply had it so that when an enemy hit a wall, he checks where the player is and moves in that direction. i also added a "check for player here" tile to the map editor, and i put these at all the intersections in the maps. this made the AI pretty damn smart. you can check out the game w / the source if you want here.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!