Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Aug 26th, 2004, 2:00 AM   #1
Billy_Cat
Newbie
 
Join Date: Aug 2004
Posts: 5
Rep Power: 0 Billy_Cat is on a distinguished road
hi, im 15 years old, and trying to learn C, ive read through most of a book about C, but i still need some questions answered...

Im interested in going into the gaming industry, im already avid in Maya (a graphics program) and im wanting to learn programming as well...

My first question is that when text messages are typed out in games, are those using printf and scanf(or in C++ cin cout) and they are just changing fonts and x and y location... or is it something totally different?

also, in making games which programming language is most used C or C++?

also, where can I find good books or tutorials on how to make GUI's in Windows?

thanks for any help..
Billy_Cat is offline   Reply With Quote
Old Aug 26th, 2004, 8:04 AM   #2
big_k105
PFO Founder

 
big_k105's Avatar
 
Join Date: Mar 2004
Location: Fargo, ND
Posts: 1,649
Rep Power: 10 big_k105 is on a distinguished road
Send a message via AIM to big_k105 Send a message via MSN to big_k105 Send a message via Yahoo to big_k105
first off welcome to the forums

second im sorry i dont know the answer to you first question on how they send messages to the screen in a game. but for what language. i think most people are goin to recommend C++ as i believe that is more widely used for game programming. im not sure on what books are goin to be good to help you learn game programming but since you will most likely be making these games for windows i would take a look into directx books. so go to amazon and search for directx and then just look for which one has the best reviews amoung the buyers and again welcome
__________________
BIG K aka Kyle
Programming Forums
Kyle K Online

Please do not PM or email me programming questions. Post them in the forums instead.
big_k105 is offline   Reply With Quote
Old Aug 26th, 2004, 8:41 AM   #3
Mjordan2nd
The Supreme Ruler
 
Join Date: May 2004
Location: Houston
Posts: 1,476
Rep Power: 6 Mjordan2nd is on a distinguished road
Quote:
Originally posted by Billy_Cat@Aug 26 2004, 07:00 AM
hi, im 15 years old, and trying to learn C, ive read through most of a book about C, but i still need some questions answered...

Im interested in going into the gaming industry, im already avid in Maya (a graphics program) and im wanting to learn programming as well...

My first question is that when text messages are typed out in games, are those using printf and scanf(or in C++ cin cout) and they are just changing fonts and x and y location... or is it something totally different?

also, in making games which programming language is most used C or C++?

also, where can I find good books or tutorials on how to make GUI's in Windows?

thanks for any help..
Text messages in games (I'm assuming you mean windows games) would probably use something different than printf or cout.

If you want to strictly make GUI's then I suggest checking out Windows 98 Programming by Herbert Schildt. It's slightly outdated, but it will teach you the basics of Windows programming, and it will be easy to move on from there. For game programming, definitely check out directx, as big_k stated, and also check out www.opengl.org, and www.libsdl.org. I made a galaxian-type game (well, one level really) using libsdl.org, and it worked out pretty nicely.

Hope that helped.
__________________
"Every gun that is made, every warship launched, every rocket signifies, in the final sense, a theft from those who hunger and are not fed, from those who are cold and are not clothed. The world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children." - Dwight D. Eisenhower
Mjordan2nd is offline   Reply With Quote
Old Aug 26th, 2004, 8:42 AM   #4
Pizentios
Programming Guru
 
Pizentios's Avatar
 
Join Date: May 2004
Location: Brandon, Manitoba, Canada
Posts: 2,023
Rep Power: 7 Pizentios is on a distinguished road
Send a message via ICQ to Pizentios Send a message via MSN to Pizentios
Well for gui's in windows you could start by using the OpenGL lib.....it's free as in beer.
__________________
Profanity is the one language that all programmers understand.

Check out my Blog <---updated Nov 30 2007!
Pizentios is offline   Reply With Quote
Old Aug 26th, 2004, 9:18 AM   #5
Billy_Cat
Newbie
 
Join Date: Aug 2004
Posts: 5
Rep Power: 0 Billy_Cat is on a distinguished road
thanks everyone!
Billy_Cat is offline   Reply With Quote
Old Aug 26th, 2004, 9:26 AM   #6
Pizentios
Programming Guru
 
Pizentios's Avatar
 
Join Date: May 2004
Location: Brandon, Manitoba, Canada
Posts: 2,023
Rep Power: 7 Pizentios is on a distinguished road
Send a message via ICQ to Pizentios Send a message via MSN to Pizentios
no prob, don't hesitate to ask questions!
__________________
Profanity is the one language that all programmers understand.

Check out my Blog <---updated Nov 30 2007!
Pizentios is offline   Reply With Quote
Old Aug 26th, 2004, 9:49 AM   #7
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
Welcome to the forums...

C++ / Assembly is widely used in games and more common.

Graphics libraries will allow for text placement within games, not your common output calls (printf/cout)...

Look into OpenGL and the DirectX libraries...
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Aug 26th, 2004, 11:14 AM   #8
thechristelegacy
Expert Programmer
 
thechristelegacy's Avatar
 
Join Date: Jul 2004
Location: Somerset, Pa
Posts: 708
Rep Power: 5 thechristelegacy is on a distinguished road
Send a message via AIM to thechristelegacy Send a message via MSN to thechristelegacy
Welcome to the forums and good luck with the game stuff!
thechristelegacy is offline   Reply With Quote
Old Aug 28th, 2004, 7:50 PM   #9
kurifu
Expert Programmer
 
kurifu's Avatar
 
Join Date: Jul 2004
Location: Halifax, Nova Scotia (Canada)
Posts: 784
Rep Power: 5 kurifu is on a distinguished road
Send a message via ICQ to kurifu Send a message via MSN to kurifu
http://www.programmingforums.org/forum/ind...p?showtopic=447

and

http://www.gamedev.org
__________________
Clifford Matthew Roche &lt;geek@cliffordroche.com&gt;
Web Hosting: http://www.crd-hosting.com
Consulting: http://www.crdev-consulting.com
kurifu is offline   Reply With Quote
Old Aug 31st, 2004, 11:25 AM   #10
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
First learn C++, then get Tricks of the Windows Game Programming Gurus by André LaMothe - the guy's a genius. The book teaches you Windows programming and DirectX, though it's slightly outdated.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:19 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC