Change font size
It is currently Tue Dec 22, 2009 12:42 am

Welcome
Welcome to Computer Programming Forum
We have a tool bar that you can download at http://comprog98.ourtoolbar.com/
Free Domain Name Service
You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!
Here's where the people who come to are site are from:Image
Affiliate links: http://www.dreamincode.net/
Prediction Market

DaniWeb IT Discussion Community




Post a new topicPost a reply Page 1 of 2   [ 25 posts ]
Go to page 1, 2  Next
Author Message
 Post subject: Writing a Game Engine
PostPosted: Wed Aug 06, 2008 12:56 pm 
Average
User avatar

Joined: Sat Mar 15, 2008 1:55 pm
Posts: 218
Location: Earth, usually.
My team and I are writing a full style 3D RPG-like game, So that means I need to write the Engine. It will be for Win, Mac, and *nix. I'm using Opengl for video and Openal for sound. My question is, what's the best way to handle input (keyboard, mouse, joystick) for all these systems? I figure I use DirectInput in Win and X in *nix and Mac, but I was wondering if there was a more universal way to do it.

_________________
When there's nothing left to lose, you win.

- Crush40


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 06, 2008 1:26 pm 
Site Admin

Joined: Fri Feb 29, 2008 5:38 pm
Posts: 648
Highscores: 11
I don't think there can be unless directx somehow starts working on *nix systems. I think your stuck with that unless your puting it as an online game. Then you could use Java with Swing.

_________________
"Do you want to sell sugar water for the rest of your life or do you want to change the world?"--Steve Jobs
"Quick put out the fire before the judge comes!"---Unknown
If you can't make it good, make it look good"---Bill Gates
"The mac file structure can be used to scare small children"--Linux Trovalds
"As a programmer, I should have known that. Otherwise I should be taken out back and "decompiled""---Unknown


Top
 Profile  
 
 Post subject: Re: Writing a Game Engine
PostPosted: Sun Aug 10, 2008 6:52 pm 
Average
User avatar

Joined: Sat Mar 15, 2008 1:55 pm
Posts: 218
Location: Earth, usually.
No, no Java for me. Well, I'll look around...

_________________
When there's nothing left to lose, you win.

- Crush40


Top
 Profile  
 
 Post subject: Re: Writing a Game Engine
PostPosted: Mon Aug 11, 2008 11:47 am 
Site Admin

Joined: Fri Feb 29, 2008 5:38 pm
Posts: 648
Highscores: 11
You could also get it to run on CygWin(X for windows. Similar to Wine).

_________________
"Do you want to sell sugar water for the rest of your life or do you want to change the world?"--Steve Jobs
"Quick put out the fire before the judge comes!"---Unknown
If you can't make it good, make it look good"---Bill Gates
"The mac file structure can be used to scare small children"--Linux Trovalds
"As a programmer, I should have known that. Otherwise I should be taken out back and "decompiled""---Unknown


Top
 Profile  
 
 Post subject: Re: Writing a Game Engine
PostPosted: Mon Aug 11, 2008 7:06 pm 
Average
User avatar

Joined: Sat Mar 15, 2008 1:55 pm
Posts: 218
Location: Earth, usually.
I could, only I'd rather not make anyone who buys the game install Cygwin. I'll just use two different code bits, it shouldn't be a big issue after I do the graphics and physics parts, god that'll be fun.

_________________
When there's nothing left to lose, you win.

- Crush40


Top
 Profile  
 
 Post subject: Re: Writing a Game Engine
PostPosted: Tue Aug 12, 2008 11:52 am 
Site Admin

Joined: Fri Feb 29, 2008 5:38 pm
Posts: 648
Highscores: 11
Yeah, using two programs isn't abnormal but I'm just pointing out the ways you could make it use only one interface system, as per the thread seed.


Top
 Profile  
 
 Post subject: Re: Writing a Game Engine
PostPosted: Tue Aug 12, 2008 4:37 pm 
Average
User avatar

Joined: Sat Mar 15, 2008 1:55 pm
Posts: 218
Location: Earth, usually.
Whereas you're going way off topic with the three brain seed ("Here's a hint: It doesn't." three times in a row).
I'm not berating you for answering, I'm just planning my moves out loud.

_________________
When there's nothing left to lose, you win.

- Crush40


Top
 Profile  
 
 Post subject: Re: Writing a Game Engine
PostPosted: Wed Aug 13, 2008 12:56 am 
n00b

Joined: Wed Aug 13, 2008 12:54 am
Posts: 1
Have you looked into using SDL?

I'm not too sure on the specifics but I know it is cross platform and it can handle input and everything else you need.


Top
 Profile  
 
 Post subject: Re: Writing a Game Engine
PostPosted: Wed Aug 13, 2008 1:18 pm 
Site Admin

Joined: Fri Feb 29, 2008 5:38 pm
Posts: 648
Highscores: 11
That's called doulble posting and it is one of the blunders of connections dropping.


Top
 Profile  
 
 Post subject: Re: Writing a Game Engine
PostPosted: Thu Aug 14, 2008 3:26 pm 
Average
User avatar

Joined: Sat Mar 15, 2008 1:55 pm
Posts: 218
Location: Earth, usually.
@bob
I realized that, I was just commenting on how hypocritical you were being.

@apc
WOW :o :shock: :o :shock: . Uh, thanks, but I suppose I'm about two hours ahead of you there, It's working great by the way, damn that was wierd...

_________________
When there's nothing left to lose, you win.

- Crush40


Top
 Profile  
 
 Post subject: Re: Writing a Game Engine
PostPosted: Thu Aug 14, 2008 3:28 pm 
Site Admin

Joined: Fri Feb 29, 2008 5:38 pm
Posts: 648
Highscores: 11
I'm staying on this topic. No hypocracy.


Top
 Profile  
 
 Post subject: Re: Writing a Game Engine
PostPosted: Thu Aug 14, 2008 3:33 pm 
Average
User avatar

Joined: Sat Mar 15, 2008 1:55 pm
Posts: 218
Location: Earth, usually.
You were going off the other topic was my point, and no you're not staying on this topic because it's over. I'm using SDL.

_________________
When there's nothing left to lose, you win.

- Crush40


Top
 Profile  
 
 Post subject: Re: Writing a Game Engine
PostPosted: Thu Aug 14, 2008 3:36 pm 
Site Admin

Joined: Fri Feb 29, 2008 5:38 pm
Posts: 648
Highscores: 11
No, I never brought up the other topic. You did. I was talking about the question you used for this thread's seed. Anyway, SDL would be a good choice.


Top
 Profile  
 
 Post subject: Re: Writing a Game Engine
PostPosted: Wed Aug 27, 2008 7:50 pm 
Average
User avatar

Joined: Sat Mar 15, 2008 1:55 pm
Posts: 218
Location: Earth, usually.
Well that was, uh, fun.

So I'm getting ticked off at trying to write a physics/dynamics engine for implementation in the game engine (now officially named 'Whitefox'). I think Bullet sounds good, but I haven't researched it much. Any comments/suggestions would be appreciated. Thanx much.

_________________
When there's nothing left to lose, you win.

- Crush40


Top
 Profile  
 
 Post subject: Re: Writing a Game Engine
PostPosted: Thu Aug 28, 2008 4:29 pm 
Site Admin

Joined: Fri Feb 29, 2008 5:38 pm
Posts: 648
Highscores: 11
I haven't used any physics engine's so I'm unqualified to give suggestions.

_________________
"Do you want to sell sugar water for the rest of your life or do you want to change the world?"--Steve Jobs
"Quick put out the fire before the judge comes!"---Unknown
If you can't make it good, make it look good"---Bill Gates
"The mac file structure can be used to scare small children"--Linux Trovalds
"As a programmer, I should have known that. Otherwise I should be taken out back and "decompiled""---Unknown


Top
 Profile  
 
 Post subject: Re: Writing a Game Engine
PostPosted: Sun Aug 31, 2008 3:43 pm 
Average
User avatar

Joined: Sat Mar 15, 2008 1:55 pm
Posts: 218
Location: Earth, usually.
Well in that case I suppose I should be happy that this is a public forum.

_________________
When there's nothing left to lose, you win.

- Crush40


Top
 Profile  
 
 Post subject: Re: Writing a Game Engine
PostPosted: Mon Sep 01, 2008 5:58 pm 
Site Admin

Joined: Fri Feb 29, 2008 5:38 pm
Posts: 648
Highscores: 11
Of course.

_________________
"Do you want to sell sugar water for the rest of your life or do you want to change the world?"--Steve Jobs
"Quick put out the fire before the judge comes!"---Unknown
If you can't make it good, make it look good"---Bill Gates
"The mac file structure can be used to scare small children"--Linux Trovalds
"As a programmer, I should have known that. Otherwise I should be taken out back and "decompiled""---Unknown


Top
 Profile  
 
 Post subject: Re: Writing a Game Engine
PostPosted: Wed Sep 03, 2008 7:47 pm 
Average
User avatar

Joined: Sat Mar 15, 2008 1:55 pm
Posts: 218
Location: Earth, usually.
Well, now I'm trying to decide between Bullet, ODE, and Havok. Still waiting for someone with some idea of what I'm talking about...

_________________
When there's nothing left to lose, you win.

- Crush40


Top
 Profile  
 
 Post subject: Re: Writing a Game Engine
PostPosted: Thu Sep 04, 2008 2:43 pm 
Site Admin

Joined: Fri Feb 29, 2008 5:38 pm
Posts: 648
Highscores: 11
You may be waiting for a while.

_________________
"Do you want to sell sugar water for the rest of your life or do you want to change the world?"--Steve Jobs
"Quick put out the fire before the judge comes!"---Unknown
If you can't make it good, make it look good"---Bill Gates
"The mac file structure can be used to scare small children"--Linux Trovalds
"As a programmer, I should have known that. Otherwise I should be taken out back and "decompiled""---Unknown


Top
 Profile  
 
 Post subject: Re: Writing a Game Engine
PostPosted: Fri Sep 05, 2008 4:39 pm 
Average
User avatar

Joined: Sat Mar 15, 2008 1:55 pm
Posts: 218
Location: Earth, usually.
Never mind, I'm using Havok. It supports built in IK solving. I couldn't write my own solver for my life, at least not right now. :wink:

_________________
When there's nothing left to lose, you win.

- Crush40


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 2   [ 25 posts ]
Go to page 1, 2  Next


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron