Welcome to Dream.In.Code
Getting Help is Easy!

Join 118,659 Programmers for FREE! Ask your question and get quick answers from experts. There are 863 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!



Browser-based Game

 
Reply to this topicStart new topic

Browser-based Game, I want to make a browser game but don't know were to start.

abgorn
post 5 Jun, 2008 - 06:48 AM
Post #1


D.I.C Addict

****
Joined: 5 Jun, 2008
Posts: 537



Thanked 2 times
My Contributions


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.
User is offlineProfile CardPM

Go to the top of the page


girasquid
post 5 Jun, 2008 - 10:58 AM
Post #2


Barbarbar

Group Icon
Joined: 3 Oct, 2006
Posts: 1,210



Thanked 9 times

Dream Kudos: 650
My Contributions


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?
User is offlineProfile CardPM

Go to the top of the page

HeadShot
post 5 Jun, 2008 - 03:57 PM
Post #3


New D.I.C Head

*
Joined: 1 Jun, 2008
Posts: 37


My Contributions


I think he's thinking how runescape uses java, and he's following that idea.
User is offlineProfile CardPM

Go to the top of the page

abgorn
post 6 Jun, 2008 - 10:40 AM
Post #4


D.I.C Addict

****
Joined: 5 Jun, 2008
Posts: 537



Thanked 2 times
My Contributions


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.
User is offlineProfile CardPM

Go to the top of the page

JBrace1990
post 9 Jun, 2008 - 07:16 PM
Post #5


D.I.C Regular

Group Icon
Joined: 9 Mar, 2008
Posts: 461



Thanked 20 times

Dream Kudos: 350
My Contributions


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....
User is offlineProfile CardPM

Go to the top of the page

Trogdor
post 10 Jun, 2008 - 04:14 AM
Post #6


D.I.C Regular

Group Icon
Joined: 6 Oct, 2006
Posts: 487



Thanked 2 times

Dream Kudos: 125
My Contributions


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?
User is offlineProfile CardPM

Go to the top of the page

mensahero
post 10 Jun, 2008 - 07:10 AM
Post #7


c0mput3rz Are Only Human

Group Icon
Joined: 26 May, 2008
Posts: 664



Thanked 17 times

Dream Kudos: 75
My Contributions


QUOTE(Trogdor @ 10 Jun, 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?


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.gif
User is offlineProfile CardPM

Go to the top of the page

mocker
post 10 Jun, 2008 - 12:03 PM
Post #8


D.I.C Head

**
Joined: 14 Oct, 2007
Posts: 221



Thanked 11 times
My Contributions


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.
User is offlineProfile CardPM

Go to the top of the page

abgorn
post 10 Jun, 2008 - 12:50 PM
Post #9


D.I.C Addict

****
Joined: 5 Jun, 2008
Posts: 537



Thanked 2 times
My Contributions


TROGDOR!!!!!!!!!!
Sorry, I'm a big Strongbad fan tongue.gif
User is offlineProfile CardPM

Go to the top of the page

JBrace1990
post 10 Jun, 2008 - 01:40 PM
Post #10


D.I.C Regular

Group Icon
Joined: 9 Mar, 2008
Posts: 461



Thanked 20 times

Dream Kudos: 350
My Contributions


the database IS the game you know.... without the database, the game doesn't do a dang thing lol =P
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 10/12/08 04:02AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month