I was wondering if somebody could use OpenGL & Dev-C++ and make an example program using the given H files... that could detect mouse clicks&the mouse position along with detecting keyboard input?
Kinda like this: Three buttons. Button1 can be clicked and dragged. If you click button two then button1 with say 'clicked' and if you type on the keyboard then it will display your input text on button three.
Could somebody make that?
C++ example?
Moderators: jelco, bert_the_turtle, Chris, Icepick, Rkiver
C++ example?
http://arsenark.com/games/original/?game=651
[Check out Galactic Hacker-Made totally by me using Game Maker & Corel Draw V9-current download is Version 1.0]
[Check out Galactic Hacker-Made totally by me using Game Maker & Corel Draw V9-current download is Version 1.0]
-
- level5
- Posts: 2725
- Joined: Sun Mar 17, 2002 4:40 pm
- Location: W. Australia
Yeah, except there are two things stopping me:
Time
Laziness
Why don't you figure out how to do it yourself?
Time
Laziness
Why don't you figure out how to do it yourself?
ME!
Procrastination - Hard work often pays of after time, but laziness always pays off now!
**Bibo ergo sum!**
Procrastination - Hard work often pays of after time, but laziness always pays off now!
**Bibo ergo sum!**
-
- level5
- Posts: 11553
- Joined: Wed Jul 10, 2002 7:44 pm
- Location: Nashville, TN
- Contact:
-
- level5
- Posts: 2725
- Joined: Sun Mar 17, 2002 4:40 pm
- Location: W. Australia
Heh, maybe, but if he can't be bothered to do it for himself, why should I make the effort to do it for him?
ME!
Procrastination - Hard work often pays of after time, but laziness always pays off now!
**Bibo ergo sum!**
Procrastination - Hard work often pays of after time, but laziness always pays off now!
**Bibo ergo sum!**
-
- level5
- Posts: 11553
- Joined: Wed Jul 10, 2002 7:44 pm
- Location: Nashville, TN
- Contact:
-
- level2
- Posts: 131
- Joined: Tue Sep 30, 2003 12:12 pm
- Contact:
You could start on the lessions at nehe.gamedev.net, there you can learn how to use OpenGL, and also how to detect mouse clicks in your application.
But there's no easy way to this, you'll need to actualy learn something.
But there's no easy way to this, you'll need to actualy learn something.
-- as life grows older, I gain experience
- NeoThermic
- Introversion Staff
- Posts: 6256
- Joined: Sat Mar 02, 2002 10:55 am
- Location: ::1
- Contact:
And... read the red book...
http://shadowconflict.com/opengl.html
Its got everything that you will need on how to do OpenGL...
NeoThermic
http://shadowconflict.com/opengl.html
Its got everything that you will need on how to do OpenGL...
NeoThermic
Actually I didn't ask ya'll to make an example cuz I was lazy, I just wanted to learn how to do it... I don't know how, thus I asked. I'll check out those links though.
http://arsenark.com/games/original/?game=651
[Check out Galactic Hacker-Made totally by me using Game Maker & Corel Draw V9-current download is Version 1.0]
[Check out Galactic Hacker-Made totally by me using Game Maker & Corel Draw V9-current download is Version 1.0]
BTW to you people who can't get GH to go past the first mission:
There is a bug... the server you have to hack has a low proxy... and you can't manipulate the files unless you have the security analyzer and a bypasser. My next beta fixes that.... also my next beta already has a complete storyline... I just gotta iron out the bugs in it now.
There is a bug... the server you have to hack has a low proxy... and you can't manipulate the files unless you have the security analyzer and a bypasser. My next beta fixes that.... also my next beta already has a complete storyline... I just gotta iron out the bugs in it now.
http://arsenark.com/games/original/?game=651
[Check out Galactic Hacker-Made totally by me using Game Maker & Corel Draw V9-current download is Version 1.0]
[Check out Galactic Hacker-Made totally by me using Game Maker & Corel Draw V9-current download is Version 1.0]
It's very simple. You just google for and download the DWIM library, add it to your linker settings, and tap in the following program:
Code: Select all
#include <dwim.h>
int WINAPI WinMain(HINSTANCE hInst, HINSTANCE, LPSTR lpCmdLine, int nCmdShow)
{
DoWhatIMean();
}
Superpig
- Saving pigs from untimely fates
- Saving pigs from untimely fates
Who is online
Users browsing this forum: No registered users and 11 guests