Welcome to Dream.In.Code
Become an Expert!

Join 149,506 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,330 people online right now. Registration is fast and FREE... Join Now!




browser based game help

 
Reply to this topicStart new topic

browser based game help

ramsess
6 Aug, 2007 - 09:43 AM
Post #1

New D.I.C Head
*

Joined: 6 Aug, 2007
Posts: 2


My Contributions
I want to make a browser based game but i dont have any clue to begin
i dont have any programma history

can sombody help me on the right track
like a book for make thad game

my idee of the game is egypte against rome and barberians
i think its to hard but i want to try

plz help

- the noob-
User is offlineProfile CardPM
+Quote Post

Martyr2
RE: Browser Based Game Help
6 Aug, 2007 - 10:05 AM
Post #2

Programming Theoretician
Group Icon

Joined: 18 Apr, 2007
Posts: 5,655



Thanked: 313 times
Expert In: C/C++, Java, VB, VB.NET, C#, PHP, Web Development, HTML & CSS, Javascript

My Contributions
Now for people who are brand new to the world of programming a game can be rather complex. I always recommend that you start with a programming language that will teach the fundamentals, do some basic examples and of course work your way to doing the game.

To do a browser based game you are going to need to choose your language and the environment it will run on. You can go two routes. One route is using something very visual like Flash with Actionscript to give you those flash based games you see on www.addictinggames.com or you can go a server-side language like PHP/Coldfusion/ASP etc.

Personally I would recommend PHP since it is very flexible and I have seen a lot of games built with it. Plus as you learn it you can learn basic object oriented programming principles that will help with other languages like C++ or .NET languages.

I would get two to three books. One to teach you the language and its syntax. So a PHP book that looks pretty comprehensive. Second I would get a book dealing with a database and how to connect to it using PHP (you will need it to store user accounts and their game settings)... my choice would be MySQL since it works great with PHP. The last book would be a game building book that can teach you the math behind games as well as game design (levels, interface etc). Those three together can usually get you from beginner to intermediate game programming in several months.

Below are a few books that might help. Enjoy!

Beginning PHP and MySQL by Apress

Straight PHP5 for learning

Learning MySQL (O'reilly)

PHP Game Programming

This post has been edited by Martyr2: 6 Aug, 2007 - 10:06 AM
User is offlineProfile CardPM
+Quote Post

ramsess
RE: Browser Based Game Help
6 Aug, 2007 - 10:09 AM
Post #3

New D.I.C Head
*

Joined: 6 Aug, 2007
Posts: 2


My Contributions
thank you i will search the books and read them

and i hope thad i can make a game like www.outwar.com but wih my idee

User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/7/09 07:04PM

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