Go Back   Forums > Community Chatterbox > Tech Corner > Programming
Memberlist Forum Rules Search Today's Posts Mark Forums Read
Search Forums:
Click here to use Advanced Search

Reply
 
Thread Tools Display Modes
Old 29-04-2005, 03:06 PM   #1
The Niles
10 GOSUB Abandonia
20 GOTO 10

 
Join Date: Oct 2003
Location: Shella, Kenya
Posts: 1,578
Default

I am learning how to program in this language but the only things I have found are some very poor tutorials about Open GL and DirectX. I don't want to use either (for reasons of platform compatability) and want to know the basics of programming with graphics in C++. Who can help?
__________________
Rabyd Rev -- 2 Timothy 2:15
The Niles is offline                         Send a private message to The Niles
Reply With Quote
Old 29-04-2005, 03:11 PM   #2
Data
retired
 
Data's Avatar


 
Join Date: Jun 2004
Location: Jan Mayen, Svalbard and Jan Mayen
Posts: 2,167
Default

you need a library to do graphics. as c++ doesn;t come with it by default.

I suggest libsdl (www.libsdl.org).

it's quite simple to do graphics that way.
You just get a virtual screen on which you can write data.
__________________
Flowing with the stream of life
Data is offline                         Send a private message to Data
Reply With Quote
Old 29-04-2005, 03:29 PM   #3
Kon-Tiki
[BANNED]

 
Join Date: Sep 2004
Location: Dentergem, Belgium
Posts: 1,811
Default

I've meddled around with doing it the 'old' way ages ago, by switching screen modes... screen 13 or 16, I believe it was. It's risky and hard as hell. I once forgot to go back from that different screen mode and when exiting my program, the comp crapped up. Didn't even have any graphics in it yet, cause I don't know how to turn bitmaps into code :whistle:
Kon-Tiki is offline                         Send a private message to Kon-Tiki
Reply With Quote
Old 29-04-2005, 03:31 PM   #4
The Niles
10 GOSUB Abandonia
20 GOTO 10

 
Join Date: Oct 2003
Location: Shella, Kenya
Posts: 1,578
Default

Thanks Data. I see that it can be used even with WindowsCE which is just what I want.
__________________
Rabyd Rev -- 2 Timothy 2:15
The Niles is offline                         Send a private message to The Niles
Reply With Quote
Old 06-05-2005, 09:51 PM   #5
chickenman
Hero Gamer

 
Join Date: Mar 2005
Location: Shella, Kenya
Posts: 417
Thumbs down

Some things that may help...

Irrlicht engine
A very fast 3D engine that also can be used to make GUI's very easy to use, also has support for images, models, quake maps, sound \ music and a number of other things including some physics engines.

GTKMM
A C++ interface for the GTK+ library used to make GUI's.

DevPaks.org
A number of good librarys

Open Scene Graph
A very very nice looking 3D game \ graphics engine :P

Hope this helps
chickenman is offline                         Send a private message to chickenman
Reply With Quote
Old 07-05-2005, 04:57 PM   #6
The Niles
10 GOSUB Abandonia
20 GOTO 10

 
Join Date: Oct 2003
Location: Shella, Kenya
Posts: 1,578
Default

That does all look great but unfortunatly WAY above my level of expertise. Thanks anyway and maybe someone else will have some use for this.
__________________
Rabyd Rev -- 2 Timothy 2:15
The Niles is offline                         Send a private message to The Niles
Reply With Quote
Old 13-05-2005, 07:20 PM   #7
robotangel
Newbie

 
Join Date: May 2005
Location: ,
Posts: 18
Post

If you want to do more, you can use OpenGL instead. It's aviable for a lot of platforms, too.
robotangel is offline                         Send a private message to robotangel
Reply With Quote
Old 13-05-2005, 08:44 PM   #8
NrmMyth
Hero Gamer

 
Join Date: Jan 2005
Location: ,
Posts: 454
Default

Quote:
Originally posted by robotangel@May 13 2005, 09:20 PM
If you want to do more, you can use OpenGL instead. It's aviable for a lot of platforms, too.
He said that even these were above his expertise.
__________________
Never mess with me when I have a cougar, Never!
NrmMyth is offline                         Send a private message to NrmMyth
Reply With Quote
Old 13-05-2005, 11:12 PM   #9
robotangel
Newbie

 
Join Date: May 2005
Location: ,
Posts: 18
Default

Yes, but what i meant is he said "(for reasons of platform compatability)" and i meant that opengl is aviable for a lot of different platforms.

Yes, i know what he said, don't hit me

;-)
robotangel is offline                         Send a private message to robotangel
Reply With Quote
Old 16-05-2005, 05:37 PM   #10
NrmMyth
Hero Gamer

 
Join Date: Jan 2005
Location: ,
Posts: 454
Default

So does SDL.
__________________
Never mess with me when I have a cougar, Never!
NrmMyth is offline                         Send a private message to NrmMyth
Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
MSX basic Nick Programming 1 22-07-2008 06:41 PM
Visual Basic tomf Programming 11 05-03-2006 10:35 PM
Dos: Really Basic Query JosieB Troubleshooting 6 26-06-2005 10:23 PM
Damn Visual Basic Kon-Tiki Blah, blah, blah... 55 02-12-2004 08:20 PM

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
 


The current time is 11:47 AM (GMT)

 
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.