Hello, I am a moderate php programer and am looking for a entire tutorial on how to create a php RPG. I have made php scripts before but really want a tutorial with explinations so I can improve while coding.

Thanks for any links 🙂

    why what? why does he want to create a rpg game? why does he was to improve his coding?

    what was constructive about your "Why?" question? nothing...

      Haha, don't get so defensive ... :p

      I asked why in terms of why does he/she want to develop an RPG in PHP?

        so, just ask that in the first place, just asking why doesn't help him out one bit and the "why" may turn him off to even reply back

        so something like "What is it you want to create an RPG in PHP for, is it to improve your coding or would you just like to create an RPG?" may suffice a bit more 😉

        so, his turn to answer the questions, but i doubt there are any FULL tutorials on how to build an RPG, as there are probably a thousand different ways one can be done, depending on how you want to make it

        stolzyboy

          Ok cool. Sorry, I really didn't mean to be so vague. 🙂 Wasn't really thinking when I posted that. 😛

            not a problem... just realize that when you type, you are thinking in your head that you know what you mean, but that doesn't always come thru in the typing 🙂

              Hehe, that is so true. Ok, let's stop hijacking this guys thread 😉

                Lol now back to the topic guys, I want to create one as part of a improving my php exercise.

                  hmmm, you definitely have yourself a challenge there. I would imagine, to start with something of this nature you would need to setup some sort of grid for the character to "move" around in, so that when your character moves to a certain place on the grid, certain things need to happen, such as what the enemy would do, what options the character would have from that point, or if the character needs to do something at that point.

                  You could model your RPG around games similar to the likes of Diablo, Dungeons & Dragons, etc.

                    Creating a game which runs as a web application requires
                    - Game design - design of the rules and content of the game
                    - Application design - how is the application going to work? How will you prevent cheating?

                    Neither of these things is straightforward.

                    I recommend that you THINK about the design of the game - how it's going to work - turns, ticks, resource allocation, movement points etc. And think about the thematic design of the game - the scenario, types of character, objectives etc

                    Think about the design of the application from a technical standpoint as well
                    - If it's tick based, are you going to use "cron" - what would be required to be done on each tick?
                    - If stuff is happening interactively on the web, how are you going to make it fair from the point of view of regular vs occasional players etc?
                    - Are you going to use (e.g.) AJAX or Javascript

                    You will also require graphics and text design.

                    Mark

                      Database design would be very important. Starting with a well thought out, logical, normalized database will make the rest of the development process much easier (especially compared to creating a database by "accretion" as you go, potentially ending up with a confusing mess).

                      This would also be a good candidate for using object-oriented methods, in part to keep things organized, but also to keep various aspects of the application "loosely coupled" so that it is easier to make changes to one area of what will likely be a fairly large application without those changes cascading into undesired effects in other areas.

                      But to answer the original question, no, I don't know of any tutorials.

                        Write a Reply...