Jump to content
  • Advertisement
Sign in to follow this  
tengfeigoon

the step to making game

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

First thing I suggest learning is BitBlt'ing. Its the method of displaying images and ultimatley animating them. DirectX and OpenGl uses BitBlt'ing to copy data from one buffer to the actual video memory that will be displayed on the screen.

I would start out by using C++ win32 API and creating simple games like TicTacToe, or Breakout. Once you have that down pretty good start doing some simple DirectX and OpenGL tutorials.

Good Luck

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by Konfusius
Sorry, but I wouldn't recommend DOS programming today. He would be learning a lot of outdated/misleading stuff (I just remember someone posting "use small memory model in win32" or the like... thats braindead)



You have a point there it's true, but since tengfeigoon says he knew only C++, Mode13h is a very nice entry level thing for graphics programming.Windows programming will be a bit complex with it's diffrence from the usual DOS way of thought.My policy is when you are trying to learn something keep the new stuff as minimal as possible.

Once he gets the hang of what goes into a game, then he should be ready to take on the next level and enter Windows programming.

Once the basics of win32 programming are in, OpenGL and DirectX are free game... to hunt ;)

Quote:

I have a better idea:
Use SDL. Look (on the web) for SDL DrawPixel/ReadPixel (maybe put/getpixel).
Then you have the exact possibilites for your creativity as with mode 0x13, but of course on Windows, with all sorts of graphics modes supported. It really can't become easier than with SDL.
Thats the way I am gonna write a Raycaster now (inspired by the raycaster thread).


Yea that's a good idea too, hope you have VC++.

Hey,tengfeigoon, let us know what you have on your hands like compilers and maybe the non-graphical projects you have attempted.

Think you should know,I knew a bit of the windows API before I got into game programming, but everything what I did when I started game programming was in Mode13h.The second in Win API and the 3rd in OpenGL ;).
You can find my games >>>>>here<<<<<


Good of you to point it out Konfusius.(rates '/|\')

[Edited by - FireNet on September 30, 2004 1:51:50 PM]

Share this post


Link to post
Share on other sites
A third and nonportable way to go is to use win32 and GDI which is alot less complex compared to opengl and directx like done in "beginning game programming" by mike morrison

Share this post


Link to post
Share on other sites
I am glad to get some answers from you .
I know nothing about Mode13h and know a bit API .opengl and direct.
Are there some better tutorials about making simple game like Super Mario Brothers.perhaps use API but not Mode13h.
Please give me some sites
I use vc++.

Share this post


Link to post
Share on other sites
Quote:
Original post by tengfeigoon
Are there some better tutorials about making simple game like Super Mario Brothers.perhaps use API but not Mode13h.

The problem is, that there are just too many ways to actually put a game together. Most tutorials will therefore only focus on the different aspects of it. Such as how maps can be built and displayed. How sound effects work and so on. For a complex game like SMB you won't find any complete tutorial that just tells you all the steps to take.

Just don't think that SMB is a simple game just because it's rather old and there are many clones. If it really was such a simple thing to do, anyone could do it [wink].

Seriously, even Pong is hard enough for a beginner so I'd suggest starting with that. Pong will teach you all the basics you need for a platformer/ jump 'n run like Super Mario Brothers™:


  • Simple graphics

  • Handling user input

  • Basic gameplay (this includes scoring points)

  • Rudimentary physics (e.g. collision response)

  • ...



A nice Pong with all the goodies (sound effects and music, game menu, hi-scores, multi-player, different user-adjustable graphic sets, multiple AI levels, ...) can be more challenging and rewarding than you might think, while being simple enough to not get you frustrated too soon.

You will get much out of such very simple game that gets you ready for your SMB-like game without needing a complete tutorial (which you might not even find).

Best of luck and happy game coding!
Pat.

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!