943,723 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 3644
  • C++ RSS
Jun 12th, 2004
0

NOOB question , graphical tiles

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
wolfstrike is offline Offline
4 posts
since Jun 2004
Jun 13th, 2004
0

Re: NOOB question , graphical tiles

Quote 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.
Reputation Points: 108
Solved Threads: 7
Posting Whiz in Training
FireNet is offline Offline
256 posts
since May 2004
Jun 13th, 2004
0

Re: NOOB question , graphical tiles

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
Reputation Points: 108
Solved Threads: 7
Posting Whiz in Training
FireNet is offline Offline
256 posts
since May 2004
Jun 14th, 2004
0

Re: NOOB question , graphical tiles

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
wolfstrike is offline Offline
4 posts
since Jun 2004
Jun 15th, 2004
0

Re: NOOB question , graphical tiles

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.
Reputation Points: 108
Solved Threads: 7
Posting Whiz in Training
FireNet is offline Offline
256 posts
since May 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Uber-N00B question
Next Thread in C++ Forum Timeline: Using time in programs





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC