Game Engine

Reply

Join Date: Aug 2007
Posts: 1
Reputation: oreo_cheesecake is an unknown quantity at this point 
Solved Threads: 0
oreo_cheesecake's Avatar
oreo_cheesecake oreo_cheesecake is offline Offline
Newbie Poster

Game Engine

 
0
  #1
Sep 7th, 2007
hi, can i ask, what are the basic parts of a game engine? because i am planning to make one using java and i dont know where to start!! need you help thanks
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,130
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 528
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: Game Engine

 
0
  #2
Sep 7th, 2007
Java game engine = slow by the way

Game engine modules usually are:

File I/O (saving,loading)
hard I/O (keyboard/mouse input)
Event handling
AI
Graphics (drawing it)
Resource management (loading the data e.g levels, graphics files, music)

The actual plot etc... is not a part of the engine. e.g one game engine (for example, the unreal engine) powers about 50 different games.

Dont use java though. 99% of game engines are C++ (and maybe a little assembley for the graphics)
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,144
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 212
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: Game Engine

 
0
  #3
Sep 12th, 2007
Java isn't necessarilly slow. That idea of yours is outdated by 5 years at least. For many applications Java is now as fast as C++ if not faster.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 1,091
Reputation: MattEvans is a jewel in the rough MattEvans is a jewel in the rough MattEvans is a jewel in the rough 
Solved Threads: 63
Moderator
Featured Poster
MattEvans's Avatar
MattEvans MattEvans is offline Offline
Veteran Poster

Re: Game Engine

 
0
  #4
Sep 12th, 2007
I'll agree, from experience, for most individual tasks, there's not much speed difference between C++ and Java. However; the rigid paradigm inflicted by Java sometimes restricts certain approaches to problems, approaches which, in some cases, could be faster ( or more memory efficient ) than those afforded by sandboxed pure OO... That still stands today.
Last edited by MattEvans; Sep 12th, 2007 at 1:49 pm.
Plato forgot the nullahedron..
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 7,600
Reputation: ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of 
Solved Threads: 462
Super Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Failure as a human

Re: Game Engine

 
0
  #5
Sep 15th, 2007
I disagree. Even after all these years, Java still has to go a long way when compared to C++, at least in terms of Game Development. The kind of raw power achieved by C / C++ _can't_ be offered by Java.

Compare and contrast the implementation of different languages in C and Java and you would know what I am talking about (Rhino v/s SpiderMonkey). Although this _slow_ term isn't really justified in normal application development, it stands out when developing games. Plus the inclination of the industry to still use C as the core language to develop the game / graphics engine, regardless of what they use for scripting is enough proof in itself.

But I don't question the theory that the future holds a lot for newer langauges like Java, Ruby, Python but that time is yet to come.
I don't accept change; I don't deserve to live.
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,130
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 528
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: Game Engine

 
0
  #6
Sep 15th, 2007
Python is actually used a bit for the AI in turn basd strategy games such as the Civilization series
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 7,600
Reputation: ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of 
Solved Threads: 462
Super Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Failure as a human

Re: Game Engine

 
0
  #7
Sep 16th, 2007
Python is used in a lot many games. Severance - 'The Blade of Darkness', 'Freedom Force' and so on. The scripting language Lua has been used in both the original and the expansion of 'Painkiller'. Search up those and you will see these really are famous games.

The point here is that you might and should use scripting if it simplifies application development but the time when they would be used to code the time critical logic is yet to come...
I don't accept change; I don't deserve to live.
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,130
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 528
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: Game Engine

 
0
  #8
Sep 16th, 2007
Thats pretty cool. I thaught it was used in more games, but i wasnt sure.

but i still wouldnt use a managed or scripted language for the core engine stuff (e.g drawing)
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 101
Reputation: PirateTUX is an unknown quantity at this point 
Solved Threads: 3
PirateTUX's Avatar
PirateTUX PirateTUX is offline Offline
Junior Poster

Re: Game Engine

 
0
  #9
Sep 27th, 2007
My brother and I are actually in the midst of writing a "game engine", and I can tell you it is no small task. If you're looking to get a game put together in less than a couple of years (at least concerning an MMORPG), writing from scratch is probably not a good idea. That being said, it's definately a rewarding experience if you've got the patience.

From what I've seen so far, the basic ingredients are as follows:

Data(base) Engine - Load/Save information about the game
Rules Engine - Make it fair (and have a plot line)
Physics Engine - Make it look real / behave properly
I/O Engine - Make it interactive (handle keyboard/mouse)
Audio Engine - Make it sound good
Display Engine - Put it on the screen

And if you're doing a network game

Network Engine - Make it talk to the world

Again, that's what I've seen so far. It does depend on the type of game you're making, too. For example, if you're making a puzzle game, physics (at least real-world physics) aren't going to matter too much to you.

Anyway, I wish you the best of luck in your endeavor! This can be a whole lot of fun, if you're one who likes a challenge!

PirateTux
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 55
Reputation: darsh999 is an unknown quantity at this point 
Solved Threads: 3
darsh999 darsh999 is offline Offline
Junior Poster in Training

Re: Game Engine

 
0
  #10
Oct 12th, 2007
I don't think java is slow many games are made in java which are leading this time atleast its better then c or c++....
Asta La Vista !!!
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 Game Development Forum
Thread Tools Search this Thread



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

©2003 - 2009 DaniWeb® LLC