•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Game Development section within the Software Development category of DaniWeb, a massive community of 456,595 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,417 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Game Development advertiser: Programming Forums
Views: 8970 | Replies: 74
![]() |
•
•
Join Date: Apr 2005
Location: Dundee, Scotland
Posts: 12,883
Reputation:
Rep Power: 32
Solved Threads: 305
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)
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)
TRY MY SUGGESTIONS AT YOUR OWN RISK
Master of puppets Im pulling your strings, blinded by me, you cant see a thing. Master! Master!
Master of puppets Im pulling your strings, blinded by me, you cant see a thing. Master! Master!
•
•
Join Date: Nov 2004
Location: Netherlands
Posts: 5,752
Reputation:
Rep Power: 19
Solved Threads: 200
•
•
Join Date: Jul 2006
Location: Deptford, London
Posts: 971
Reputation:
Rep Power: 5
Solved Threads: 48
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..
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.
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.
Happiness corrupts people.
Failing to value the lives of others cheapens your own.
Happiness corrupts people.
Failing to value the lives of others cheapens your own.
•
•
Join Date: Apr 2005
Location: Dundee, Scotland
Posts: 12,883
Reputation:
Rep Power: 32
Solved Threads: 305
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...
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.
Happiness corrupts people.
Failing to value the lives of others cheapens your own.
Happiness corrupts people.
Failing to value the lives of others cheapens your own.
•
•
Join Date: Apr 2005
Location: Dundee, Scotland
Posts: 12,883
Reputation:
Rep Power: 32
Solved Threads: 305
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)
but i still wouldnt use a managed or scripted language for the core engine stuff (e.g drawing)
TRY MY SUGGESTIONS AT YOUR OWN RISK
Master of puppets Im pulling your strings, blinded by me, you cant see a thing. Master! Master!
Master of puppets Im pulling your strings, blinded by me, you cant see a thing. Master! Master!
•
•
Join Date: Jan 2007
Location: Kansas City, MO
Posts: 55
Reputation:
Rep Power: 2
Solved Threads: 3
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
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
Server Development
WolfWorkz.com
Pirates Registration
Check out my blog to see what's happening with the MMORPG by WolfWorkz Studio.
WolfWorkz.com
Pirates Registration
Check out my blog to see what's happening with the MMORPG by WolfWorkz Studio.
![]() |
•
•
•
•
•
•
•
•
DaniWeb Game Development Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
advertising ajax asp blogging browser business code console development engine firefox game games google hardware intel internet java linux marketing math microsoft mozilla msdn news nintendo playstation programming ps3 revenue rss search security seo software sony stocks technology video video game vista w3c web web development wii wiki windows xbox 360 xml yahoo
- Java Game Engine for a Game called "Attaxx". (Game Development)
- Game engine for car engine (Game Development)
- Game engine (C++)
- Game Engine Code [Help] (Game Development)
- Game Engine (C++)
Other Threads in the Game Development Forum
- Previous Thread: Help me whit algorithm for my web-based game
- Next Thread: Can you have a look to my game?



Linear Mode