Browser-based Game

I want to make a browser game but don't know were to start.

Page 1 of 1

9 Replies - 1563 Views - Last Post: 10 June 2008 - 01:40 PM Rate Topic: -----

#1 abgorn  Icon User is offline

  • sudo apt-get install brain
  • member icon

Reputation: 30
  • View blog
  • Posts: 1,410
  • Joined: 05-June 08

Browser-based Game

Posted 05 June 2008 - 06:48 AM

I wanted to make a browser-based game but I don't know were to start. I want to use java in jsp files to do it becasue java is very versitile. So could someone please point me in the right direction?

I forgot to mention the game I would like to make would be somewhat like tribalwars.
Is This A Good Question/Topic? 0
  • +

Replies To: Browser-based Game

#2 girasquid  Icon User is offline

  • Barbarbar
  • member icon

Reputation: 108
  • View blog
  • Posts: 1,825
  • Joined: 03-October 06

Re: Browser-based Game

Posted 05 June 2008 - 10:58 AM

Are you sure you need to use java? PHP, Perl, Ruby, and Python are all versatile too. Is there a specific reason that you've chosen Java?
Was This Post Helpful? 0
  • +
  • -

#3 HeadShot  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 37
  • Joined: 01-June 08

Re: Browser-based Game

Posted 05 June 2008 - 03:57 PM

I think he's thinking how runescape uses java, and he's following that idea.
Was This Post Helpful? 0
  • +
  • -

#4 abgorn  Icon User is offline

  • sudo apt-get install brain
  • member icon

Reputation: 30
  • View blog
  • Posts: 1,410
  • Joined: 05-June 08

Re: Browser-based Game

Posted 06 June 2008 - 10:40 AM

Firstly the reason I'm using java is because I'm a java programmer and don't want to learn a scripting language to an advanced degree. And secondly I'm not thinking of runescape because that is 3d and an mmorpg. Even a person with an advanced understanding of Java would dub such a project 'Near impossible'.

I just can't think of were to start and build my self up from.
Was This Post Helpful? 0
  • +
  • -

#5 JBrace1990  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 110
  • View blog
  • Posts: 760
  • Joined: 09-March 08

Re: Browser-based Game

Posted 09 June 2008 - 07:16 PM

I would suggest starting with troops values, what types of troops you're going to have, Etc.

then start coding resources and when you get them.... building buildings/troops... travel time for troops... battle/death for troops... and that's pretty much it....
Was This Post Helpful? 0
  • +
  • -

#6 Trogdor  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 15
  • View blog
  • Posts: 627
  • Joined: 06-October 06

Re: Browser-based Game

Posted 10 June 2008 - 04:14 AM

a web game is:
80% database
10% scripts that do things (changing data, either on user actions or from the cron)
10% frontend (can be a flash, a java applet like runescape, or plain html and images)

After this bit of information, where would you start?
Was This Post Helpful? 0
  • +
  • -

#7 mensahero  Icon User is offline

  • I Desire...
  • member icon

Reputation: 17
  • View blog
  • Posts: 678
  • Joined: 26-May 08

Re: Browser-based Game

Posted 10 June 2008 - 07:10 AM

View PostTrogdor, on 10 Jun, 2008 - 04:14 AM, said:

a web game is:
80% database
10% scripts that do things (changing data, either on user actions or from the cron)
10% frontend (can be a flash, a java applet like runescape, or plain html and images)

After this bit of information, where would you start?


aww.. I think its something like..

1. 10 percent database ( cause it will only hold datas, values, etc)

2. 80 percent programming ( JAVA, etc )

3. 10 percent HTML..

but still you need a server to hold that 100 % game.. :blink:
Was This Post Helpful? 0
  • +
  • -

#8 mocker  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 50
  • View blog
  • Posts: 466
  • Joined: 14-October 07

Re: Browser-based Game

Posted 10 June 2008 - 12:03 PM

Trogdors estimate is a lot closer.. a web game like tribalwars is defined by the data, and how you store the data. (users, villages, troops, mobs, items, resources etc etc whatever).

Once you have all of that data, it is very simple to pick out pieces of it to display, or to update it.

So yea, you need to setup the database and figure out what elements you have to store before you can start making a front end for it.
Was This Post Helpful? 0
  • +
  • -

#9 abgorn  Icon User is offline

  • sudo apt-get install brain
  • member icon

Reputation: 30
  • View blog
  • Posts: 1,410
  • Joined: 05-June 08

Re: Browser-based Game

Posted 10 June 2008 - 12:50 PM

TROGDOR!!!!!!!!!!
Sorry, I'm a big Strongbad fan :P
Was This Post Helpful? 0
  • +
  • -

#10 JBrace1990  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 110
  • View blog
  • Posts: 760
  • Joined: 09-March 08

Re: Browser-based Game

Posted 10 June 2008 - 01:40 PM

the database IS the game you know.... without the database, the game doesn't do a dang thing lol =P
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1