NOOB question , graphical tiles

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Jun 2004
Posts: 4
Reputation: wolfstrike is an unknown quantity at this point 
Solved Threads: 0
wolfstrike wolfstrike is offline Offline
Newbie Poster

NOOB question , graphical tiles

 
0
  #1
Jun 12th, 2004
hello.

thanks to all of you for taking time to answer questions.


i just started learning c++ and i'm confused as to how graphics are added to a program.

does c++ have graphical capabilities on it's own or does it need another program like Direct-x?

the graphics i make are tiles,32x32 BMP or Jpeg.

can i get an example of how to place one in a program, or , further information.

thanks.
Reply With Quote Quick reply to this message  
Join Date: May 2004
Posts: 256
Reputation: FireNet will become famous soon enough FireNet will become famous soon enough 
Solved Threads: 6
FireNet's Avatar
FireNet FireNet is offline Offline
Posting Whiz in Training

Re: NOOB question , graphical tiles

 
0
  #2
Jun 13th, 2004
Originally Posted by wolfstrike
hello.

thanks to all of you for taking time to answer questions.


i just started learning c++ and i'm confused as to how graphics are added to a program.

does c++ have graphical capabilities on it's own or does it need another program like Direct-x?

the graphics i make are tiles,32x32 BMP or Jpeg.

can i get an example of how to place one in a program, or , further information.

thanks.
Sorry to dash any high hopes you have but graphics is something you will only be able to do after you have much more knowledge in C++.

Actually C++ has it's own way of showing graphics through the operating system but at a very low level by drawing pixel by pixel.Actually everyting on screen drawn that way.

Now it would be boring to do that,so people made funtions to draw lines,then to draw boxes ,then to display text,and progress on to draw windows and all the stuff you see.

Now DirectX is not a program.It is just a library which helps you to draw and C++ version of it is available.At you current level you wont even be able to set it up on you compiler,sorry you reaching for the moon.

Good news you can learn more C++ and then go on to graphic within no time if you advance well.I just started 4-5 five months ago in game programming but I have 3 games aready done.Just because I know C++ well.

You will have to learn about using the C++ data types,structures,classes,file i/o and should be able to use them well.

By then you will be able to go into graphics programming.Even if you manage to copy someone elses code and get it to do something you want you will still be wasting your time as there are a lot more efficent way using the power C++ provides to do what you did.

So learn C++ first well.

It will depend on you how fast you can pick up stuff.Dont even think you can make a mini-version of Quake as even the simplest games require a lot of work.Take it from a guy who has real experiance there.

Ah,some links to C++ tuts
-------------------------
http://www.google.com/ you can search there and should
http://www.cplusplus.com/
http://www.cprogramming.com/

Hey check out the tut fourm here at daniweb too.And post any question you have .Will be glad to help.
See what you can, remember what you need

Fourzon | Earn via Coding
Reply With Quote Quick reply to this message  
Join Date: May 2004
Posts: 256
Reputation: FireNet will become famous soon enough FireNet will become famous soon enough 
Solved Threads: 6
FireNet's Avatar
FireNet FireNet is offline Offline
Posting Whiz in Training

Re: NOOB question , graphical tiles

 
0
  #3
Jun 13th, 2004
Oh,I din't give more links since I want you to search.

(Give a man bread today, he will be hungry tommorow.Teach him to fish and he will survive for a lifetime) or so the saying goes.


That way you will have your own questions and you will find you own answers and you will really progress.Best of luck
See what you can, remember what you need

Fourzon | Earn via Coding
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 4
Reputation: wolfstrike is an unknown quantity at this point 
Solved Threads: 0
wolfstrike wolfstrike is offline Offline
Newbie Poster

Re: NOOB question , graphical tiles

 
0
  #4
Jun 14th, 2004
actually i've been trying to get some kind of answer,on different forums, for about 4 months , and your the only one who replied.
thx
Reply With Quote Quick reply to this message  
Join Date: May 2004
Posts: 256
Reputation: FireNet will become famous soon enough FireNet will become famous soon enough 
Solved Threads: 6
FireNet's Avatar
FireNet FireNet is offline Offline
Posting Whiz in Training

Re: NOOB question , graphical tiles

 
0
  #5
Jun 15th, 2004
Sure thing wolf, go ahead and learn C++ and maybe in a few months you can get into graphics programming.It's not tough (hey, if you get a pencil and know how to draw lines you can draw houses) but unless you know a good bit of the basics you will not understand many things.Unless you understand what you are doing you will not progress.
See what you can, remember what you need

Fourzon | Earn via Coding
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC