Instructions
Designing Your Text Only Browser Game
- 1Plan your game. Even though your game will be much less complex to code than a full-fledged 3D game, there is still some planning and thought required before you actually start coding. Determine what type of game you want to make, what are the win conditions and how long you want the average play session to last. This is crucial if you do not build in a way for players to save and resume their progress.
- 2Code your game. You can use a number of languages for coding your game, including JavaScript and Flash's Action Script; choose the language that you are most familiar with and that seems to suit your project the best. If you are not comfortable with any Web programming language, then it is recommended that you look into possible tutorials for one of them, either at your local bookstore or online.
- 3Debug your game. Even the smallest coding projects can have a substantial number of bugs in them. Most bugs are minor syntax errors, code that does not conform with the rules of the programming language, that can be fixed with a few key strokes, so do not get discouraged if you code will not run and lists a number of errors. Once you feel that you have "squashed" all the bugs, try running your program. If it works, then you have probably found most or all of the bugs.
- 4Test you game by playing it. Be sure to try to do things in as many different ways as possible. If you see something that does not seem to be working right, then it is likely that there is a logic error in your code. Logic errors are errors that, though they obey the syntax of the language, do not produce your intended result.
- 5
- 1
Read more: How to Create Text Based Browser Games | eHow.com http://www.ehow.com/how_6764665_create-text-based-browser-games.html#ixzz1s3xyzVFZ
0 التعليقات:
إرسال تعليق