Is it feasible to build Tile Base Game Engine using Java ?

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
ericpaul
Forum Newbie
Posts: 1
Joined: Thu Jan 22, 2009 11:31 pm

Is it feasible to build Tile Base Game Engine using Java ?

Post 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
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Is it feasible to build Tile Base Game Engine using Java ?

Post 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.
mintedjo
Forum Contributor
Posts: 153
Joined: Wed Nov 19, 2008 6:23 am

Re: Is it feasible to build Tile Base Game Engine using Java ?

Post 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
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Re: Is it feasible to build Tile Base Game Engine using Java ?

Post by onion2k »

mintedjo wrote:If you are making a game I would say go for Java over JavaScript
Why?
mintedjo
Forum Contributor
Posts: 153
Joined: Wed Nov 19, 2008 6:23 am

Re: Is it feasible to build Tile Base Game Engine using Java ?

Post by mintedjo »

I like java better...
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Re: Is it feasible to build Tile Base Game Engine using Java ?

Post 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?
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Is it feasible to build Tile Base Game Engine using Java ?

Post by Chris Corbyn »

I'd say this will be a lot easier to write in Java. It has better frameworks to support game production.
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Re: Is it feasible to build Tile Base Game Engine using Java ?

Post 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.
mintedjo
Forum Contributor
Posts: 153
Joined: Wed Nov 19, 2008 6:23 am

Re: Is it feasible to build Tile Base Game Engine using Java ?

Post 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)
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Is it feasible to build Tile Base Game Engine using Java ?

Post 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

:)
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Re: Is it feasible to build Tile Base Game Engine using Java ?

Post 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.
mintedjo
Forum Contributor
Posts: 153
Joined: Wed Nov 19, 2008 6:23 am

Re: Is it feasible to build Tile Base Game Engine using Java ?

Post 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.
User avatar
JAB Creations
DevNet Resident
Posts: 2341
Joined: Thu Jan 13, 2005 6:44 pm
Location: Sarasota Florida
Contact:

Re: Is it feasible to build Tile Base Game Engine using Java ?

Post 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.
Post Reply