Archived

This topic is now archived and is closed to further replies.

SteelBlue

Help with my first game

Recommended Posts

Hey, i know c++ and have been taking a look at opengl for a bit now. I have decided to try and design a tetris or breakout type game as my first gaming project. So i need some help with going about setting up the interface. What should i use to design the blocks and what do i use to create the gaming screen. Please help. Thanks. Tha Funkalicious one

Share this post


Link to post
Share on other sites
I''m new to opengl, aswell. But it sounds, on the surface, like I''m slightly more advanced than you. Before making a game, I would suggest a miniDemo of some kind. Just impliment some of the things you''ve been learning to do. Look around on Nehe''s site. I believe he has quite a few of them. Happy coding.

Also, if you look around its a little difficult, but not impossible to find articles on the theory of game/engine programming. And very well worth it when you find it.
Good luck.

The Kid


I don''''t know what the future holds, but I know who holds the future.

Share this post


Link to post
Share on other sites
The Kid is right. Don''t try and jump in to a big project first; this is the way many amateur programmers get discouraged and stop programming altogether. Think of the skills you''ll need to develop the game (i.e. input management, graphics display, etc), then learn each skill and make a mini-program for it to demonstrate to yourself that you can do it. Then the big project will come easily.

Share this post


Link to post
Share on other sites
Making a Tetris game isn't all that hard, it's pretty simple actually. I would suggest making it in 2D rather than 3D since:
1) it eliminates excess stuff, and gets you to focus on the concept.
2) collision detection will be harder in 3d
3) Tetris was a 2D game intitially
4) But, if you want to go for 3D go ahead; it would be pretty neat to make a fully 3D game of tetris with all sort of neat stuff.

Breakout is a tad more harder since you will probably want to load your levels from a file (that's what I did; 20 levels of non-stop breakout fun!) and the breakout collision detection is just a little more advanced than Tetris, but it is the same concept. Also, in breakout you would probably want to handle mouse input; Tetris, for a basic one at least, doesn't need mouse input.

For the blocks, all I did was open up MS Paint make a block 16x10 pixels (I think) and fill in the block. Then I proceeded to make it look more 3D-ish by using different shades of the color for the block.

Don't bother doing what I said above until you can do some basic graphical demos like the guys above me said.

The key to programming is to incrementall build your talent until you feel confident about your ability to continue to more advanced things.

Good Luck

Edited by - Floppy on November 15, 2001 1:12:45 AM

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Just thought I''d leave my thoughts on the topic - nothing important...

1) Why can''t you -KNOW- C++? I know C++ thank you very much! In fact I -KNOW- a whole load of people who know C++! And by -KNOW-, I mean that they have learnt ANSI C++, much the same way that it is possible to know maths by learning it *g* I just don''t understand what the point was in dissecting this guys message and telling him he doesn''t know C++!

2) I would agree with the other guys. Game programming is not just about knowing how to program a game, underneath writing a game comes all the nitty gritty code involved in actually making the game work! I mean, you have to know how to create a window, and how to handle user input, and display graphics, and play sounds, and CD music, and artificial intelligence, and physics... So much stuff! Personally, I specialise in engine design and graphics work (My favourite areas of game programming) though I know bits and bobs about most areas of game programming! But whatever you do, make sure you''re having fun doing it, otherwise there really isn''t much point!

Share this post


Link to post
Share on other sites
hey anonymous - dre_gon is right - u can''t KNOW c++! also u can''t KNOW maths at all... u know what kinda clothes u have without lookin into a book about it, but c++?!


but steelblue, maybee we could work together, because i am in a similar situation. but i guess that i can handle with opengl a little bit better...

i did as the others said before me - i tried all tut''s from nehe, testet this and that... now i''m about to write my first game


CoolX

Share this post


Link to post
Share on other sites
The "KNOW" question:

Like some famous guy once said....?

But C++ is like your tool and math is your basis for using this tool. As a hammer is to a carpenter. You can KNOW a person but can you ever really know a tool.



WHO DID YOU EXPECT...?
MAYBE SATIN!!!

Share this post


Link to post
Share on other sites