Hi there, this is my first post here so I might have missed the right location to do it.
I wanted to start a Web based RPG using PHP and mysql, and I don't know where to start...
I have a few knowledge of php and sql but I know that probably there are already many scripts and tool that would make my tasks easier.
I am googling for them but I haven't found many interesting things, so maybe someone can point me to the right direction.
So, can anyone give me links of pages with the kind of scripts that I'm looking for (for example a login system script) or tools that might help me out with my work (I found one called phpMyadmin that I'm already using)
Thanks
espanhol
Web browser game (is this the right place to post?)
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
viewtopic.php?t=35870 may be of interest.
Re: Web browser game (is this the right place to post?)
I don't know if you are aware, but there are already numerous games that fit that description, many developed in an opensource community effort!espanhol wrote:I wanted to start a Web based RPG using PHP and mysql, and I don't know where to start...
Quantum Star, Blacknova Traders (I work on BNT), Alien Assault Traders, Phaos, Legend of the Green Dragon..
The list is long. For any of those, you can jump in, and see how they've done things, what they think they've done wrong, and more. You can learn from people that have been doing the same thing for several years.
Or, you can just download the code for any of the above, and start tinkering. Maybe you'll find stuff you like, probably you will find stuff you don't - but you can learn from it.
Alternatively, think about a game in terms of what you need:
- Login/authentication
- Database setup
- Database insert/update/select
- Input (ideally with filters)
- Output (ideally with escaping)
- Game-specific elements (player inventory, ship inventory, research, storylines, etc)
- Graphics
- E-Mail support
The list goes on, but each of those is a very addressable problem by itself, so try tackling them individually if the big picture gets daunting.
Finally, we have these forums, which has programmers from almost every game I listed - so you can get plenty of tips and help.