Jump to content



Welcome to AstaHost - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!

Toggle shoutbox Shoutbox Open the Shoutbox in a popup

@  yordan : (25 May 2013 - 07:59 PM) Yay, Shoutbox Is Back! Yahooo!
@  agyat : (24 May 2013 - 05:15 PM) O Dear, Where Are You? Without Your Words This Sb Is ..
@  agyat : (23 May 2013 - 01:23 AM) Wow! Mr. Sb Back Home.
@  OpaQue : (23 May 2013 - 12:44 AM) Ting
@  OpaQue : (24 April 2013 - 02:44 PM) I guess, Time to run Mycent script.
@  OpaQue : (24 April 2013 - 02:43 PM) wow.. not much spam. except habatt posting lot of links.. :P
@  yordan : (23 April 2013 - 01:04 PM) You're welcome, agyat. Nice to have been helpful. Second lesson: try full words, "you" instead of "EW".
@  agyat : (23 April 2013 - 05:03 AM) @YORDAN: tHANK EW FOR YOUR FIRST LESSON.   :D
@  yordan : (22 April 2013 - 09:43 PM) @agyat : "why don't you help me", or "please help me", or "please teach us"
@  yordan : (22 April 2013 - 09:42 PM) welcome back, velma
@  velma : (22 April 2013 - 07:51 AM) **yawns** Good to be back, wonder what is going on here :)
@  agyat : (22 April 2013 - 03:50 AM) Oh! so, why don't help me learn english..
@  yordan : (21 April 2013 - 08:38 PM) The goal mentioned by shiu : "learning english, learning computer"
@  agyat : (21 April 2013 - 06:31 PM) WHAT GOAL?
@  yordan : (20 April 2013 - 10:39 AM) yes, that's our goal. simultaneouly learning English and teaching/learning computer using.
@  shiyu : (20 April 2013 - 07:30 AM) learning english,learning computer
@  yordan : (19 April 2013 - 01:11 PM) Oh, I see, it's just a trick in order to force people looking at your texte. Somehow smart, maybe.
@  agyat : (19 April 2013 - 02:54 AM) And of course I know it is not SEO friendly.
@  agyat : (19 April 2013 - 02:52 AM) There may be two possible answers for that ....


1) Shout was posted using mobile keypad.

2) To force people read content carefully and/or with more concentration.
@  agyat : (19 April 2013 - 02:49 AM) There may be two possible answers for that ....

Photo
- - - - -

Browser-based Turn Based Rpg


2 replies to this topic

#1 FirefoxRocks

FirefoxRocks

    Super Member

  • [HOSTED]
  • 988 posts
  • Gender:Male
  • Location:Ontario, Canada
  • myCENTs:92.36

Posted 27 July 2010 - 05:07 AM

I would like to design a turn-based game like http://x-kings.com/.
I think I can do it with HTML, PHP and MySQL, but how do I get started? How should I plan out the game before I start any coding?

Any tips would be appreciated.

#2 Quatrux

Quatrux

    the Q

  • [HOSTED]
  • 1,669 posts
  • Gender:Male
  • Location:Lithuania, Vilnius
  • Interests:PHP, MySQL, Oracle, PL/SQL, HTML, CSS, Javascript, jQuery, C# Computers, Alternative OS, Amiga, MorphOS, Beer, Friends, Linux, KDE..
  • myCENTs:30.76

Posted 27 July 2010 - 07:00 AM

Well, I think you should firstly design how everything should work in the game, something like an UML.

You could write how everything should work from a programming perspective, the game idea and game play. What data will be used, how the game will be played. Then design the database. Having that, you can easily start programming step by step creating new features everyday. :D

Programming extempore.. You may end by programming all year and never finish it, it's better to plan first and do the programming later :)

#3 8ennett

8ennett

    Premium Member

  • Members
  • 415 posts
  • Gender:Male
  • Location:UK
  • myCENTs:95.20

Posted 28 July 2010 - 10:45 PM

Well I started on designing my index.php which contains the login, registration, lost password and email validation pages and by doing so helped me sculpt the look and feel of how my site was going to turn out and also creates those vital sql tables essential to the general running of the game. Everytime someone loads a page when logged in it always pulls the entire contents of the user list table and puts it in a session variable so writing additional pages doesn't require constant pulling of data from the database. Also it checks the server is online (daily maintenance etc.) and logs them out if not, checks if their account is banned and log out if so (if they are banned while they are online). Basically all the details you need for the header and security checks.

There isn't really an in-depth tutorial of how to do all this online because most of the larger games are actually an engine bought from a company and the company isn't going to write the tutorial because obviously they want to keep making money.

It was because people were using pre-built game engines that caused me to start writing my own game, show the people what a REAL programmer can achieve lol



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users