Welcome to Dream.In.Code
Become an Expert!

Join 150,071 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,806 people online right now. 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
5 Jun, 2008 - 05:48 AM
Post #1

Hello Crap for Brains
Group Icon

Joined: 5 Jun, 2008
Posts: 912



Thanked: 5 times
Dream Kudos: 50
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
+Quote Post

girasquid
RE: Browser-based Game
5 Jun, 2008 - 09:58 AM
Post #2

Barbarbar
Group Icon

Joined: 3 Oct, 2006
Posts: 1,295



Thanked: 18 times
Dream Kudos: 725
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
+Quote Post

HeadShot
RE: Browser-based Game
5 Jun, 2008 - 02: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
+Quote Post

abgorn
RE: Browser-based Game
6 Jun, 2008 - 09:40 AM
Post #4

Hello Crap for Brains
Group Icon

Joined: 5 Jun, 2008
Posts: 912



Thanked: 5 times
Dream Kudos: 50
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
+Quote Post

JBrace1990
RE: Browser-based Game
9 Jun, 2008 - 06:16 PM
Post #5

D.I.C Regular
Group Icon

Joined: 9 Mar, 2008
Posts: 479



Thanked: 24 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
+Quote Post

Trogdor
RE: Browser-based Game
10 Jun, 2008 - 03:14 AM
Post #6

D.I.C Addict
Group Icon

Joined: 6 Oct, 2006
Posts: 549



Thanked: 4 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
+Quote Post

mensahero
RE: Browser-based Game
10 Jun, 2008 - 06: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
+Quote Post

mocker
RE: Browser-based Game
10 Jun, 2008 - 11:03 AM
Post #8

D.I.C Regular
Group Icon

Joined: 14 Oct, 2007
Posts: 290



Thanked: 17 times
Dream Kudos: 25
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
+Quote Post

abgorn
RE: Browser-based Game
10 Jun, 2008 - 11:50 AM
Post #9

Hello Crap for Brains
Group Icon

Joined: 5 Jun, 2008
Posts: 912



Thanked: 5 times
Dream Kudos: 50
My Contributions
TROGDOR!!!!!!!!!!
Sorry, I'm a big Strongbad fan tongue.gif
User is offlineProfile CardPM
+Quote Post

JBrace1990
RE: Browser-based Game
10 Jun, 2008 - 12:40 PM
Post #10

D.I.C Regular
Group Icon

Joined: 9 Mar, 2008
Posts: 479



Thanked: 24 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
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/8/09 10:59PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month