Page 1 of 1
Is it feasible to build Tile Base Game Engine using Java ?
Posted: Thu Jan 22, 2009 11:34 pm
by ericpaul
Hey pal,
It would be great if you give your suggestions and ideas on Java script Tile base game
engine. You know.. with click to walk (or keyboard), inventory, grab items, talk to people,
exp, levels, etc.
Any Good Ways, any help would be appreciated.
Thanks,
Eric Paul
Re: Is it feasible to build Tile Base Game Engine using Java ?
Posted: Fri Jan 23, 2009 12:56 am
by Chris Corbyn
The first thing I'll point out is that Java and JavaScript are two very different programming languages
But yes, this is possible to do with either of those two languages.
Re: Is it feasible to build Tile Base Game Engine using Java ?
Posted: Fri Jan 23, 2009 4:24 am
by mintedjo
http://en.wikipedia.org/wiki/JavaScript
http://en.wikipedia.org/wiki/Java
If you are making a game I would say go for Java over JavaScript, but if you dont know the difference between the two then you will probably struggle to build a game using either of them. Learn some basics first xD
Re: Is it feasible to build Tile Base Game Engine using Java ?
Posted: Fri Jan 23, 2009 4:36 am
by onion2k
mintedjo wrote:If you are making a game I would say go for Java over JavaScript
Why?
Re: Is it feasible to build Tile Base Game Engine using Java ?
Posted: Fri Jan 23, 2009 5:13 am
by mintedjo
I like java better...
Re: Is it feasible to build Tile Base Game Engine using Java ?
Posted: Fri Jan 23, 2009 5:27 am
by onion2k
mintedjo wrote:I like java better...
That's a just personal preference though, what is your reason for recommending it to
other people?
Re: Is it feasible to build Tile Base Game Engine using Java ?
Posted: Fri Jan 23, 2009 5:53 am
by Chris Corbyn
I'd say this will be a lot easier to write in Java. It has better frameworks to support game production.
Re: Is it feasible to build Tile Base Game Engine using Java ?
Posted: Fri Jan 23, 2009 6:00 am
by onion2k
Chris Corbyn wrote:I'd say this will be a lot easier to write in Java. It has better frameworks to support game production.
You're saying "Write it in the best language for the task", which is very sensible, but you're not asking what the task is. Unless you know what the requirements are there's no way you can realistically recommend a language for doing the job. And Eric hasn't told us the requirements beyond "it's a tile based game engine". Java might be
completely unsuitable.
Re: Is it feasible to build Tile Base Game Engine using Java ?
Posted: Fri Jan 23, 2009 6:04 am
by mintedjo
It's a personal preference based partly on the fact that I learned Java first.
It's also based on the fact that Java is much more structured - Javascript always has a kindof thrown together feel about it.
No strict types on variables, etc...
Java is more complicated in my opinion but it also offers a lot to somebody new to programming in terms of learning OOP priciples and other basics.
(not saying OOP is the only way to do things right - just often a good way to do things)
Re: Is it feasible to build Tile Base Game Engine using Java ?
Posted: Fri Jan 23, 2009 6:40 am
by Chris Corbyn
onion2k wrote:Chris Corbyn wrote:I'd say this will be a lot easier to write in Java. It has better frameworks to support game production.
You're saying "Write it in the best language for the task", which is very sensible, but you're not asking what the task is. Unless you know what the requirements are there's no way you can realistically recommend a language for doing the job. And Eric hasn't told us the requirements beyond "it's a tile based game engine". Java might be
completely unsuitable.
Correct. I'm just making assumptions on the information I was given, which sounds to me like a fairly interactive game

It's highly unlikely that JavaScript will provide a better fit for gaming compared to Java. But yes, I don't know the exact requirements and it's possible that JavaScript will be the quickest environment in which to build this.
With frameworks like GTGE and JGame available in Java I just think you'll have more luck getting off the ground.
For more advanced stuff, dare I say:
JMonkey

Re: Is it feasible to build Tile Base Game Engine using Java ?
Posted: Fri Jan 23, 2009 7:26 am
by onion2k
mintedjo wrote:Javascript always has a kindof thrown together feel about it.
Have you used Javascript
recently? And not just to manipulate a few form elements? It's evolved in the past couple of years into a very, very powerful and rather well designed language.
Re: Is it feasible to build Tile Base Game Engine using Java ?
Posted: Fri Jan 23, 2009 9:27 am
by mintedjo
Honestly, I program in it now but nothing exceptional - just basic stuff really.
Even so - I maintain that Java is more structured and enforces some principles that are ignored or irrelevant in Javascript.
If nothing else, Java is more difficult to program incorrectly. Javascript will let you do some things that just don't make sense whereas Java will pull you up and help you correct it.
Re: Is it feasible to build Tile Base Game Engine using Java ?
Posted: Sat Jan 24, 2009 12:23 am
by JAB Creations
The first thing I do when I install a browser is disable Java. Granted JavaScript can be abused though I only disable JavaScript when I think I need information from a fishy website which is very rare.
I highly recommend using JavaScript.