|
|
How To Make A Text Based Online Game Script ? | ||
Discussion by JohnNitro with 25 Replies.
Last Update: January 26, 2010, 11:30 am (View Latest) | Page 1 of 2 pages. | ||
Wed Dec 29, 2004 Reply New Discussion
Wed Dec 29, 2004 Reply New Discussion
Wed Dec 29, 2004 Reply New Discussion
For a template... well I don't think that'd make very good games. I'd say your best choice is to try to find threads about game programming and/or using the technologies I mentiond above. Failing that, I'd recommend starting a thread with specific title (ie. "Teach me the basics of Flash")
Wed Dec 29, 2004 Reply New Discussion
Thu Dec 30, 2004 Reply New Discussion
Wed May 18, 2005 Reply New Discussion
Sat Jun 18, 2005 Reply New Discussion
C++ allows the programmer to create classes, which are somewhat similar to C structures. However, to a class can be assigned methods, functions associated to it, of various prototypes, which can access and operate within the class, somewhat like C functions often operate on a supplied handler pointer.
Although it is possible to implement anything which C++ could implement in C.
That are the main differences between C and C++.
-=Jeroen=-
Mon Jun 27, 2005 Reply New Discussion
Sun Aug 7, 2005 Reply New Discussion
Basic adivse: PHP and MySQL are great for this type of application. Not only are they two very powerful pieces of (open source!) code, but they also play well together.
From a design point-of-view (if you are going with server-side scripts and a database) is to throw the idea of events happening without user interaction out the window. For example, you're not going to be able to have the scripts preform any interaction with the database unless someone hits your site, and thus triggers the script to run. So, you need to think in terms of turn-based design, even if your game won't be "turn-based" per-se.
Useful links:
www.php.net - PHP processor for in-house testing, as well as the PHP manual (CHM format is very handy, with a compiled index).
www.mysql.com - MySQL server for in-house testing, as well as the MySQL manual which contains complete documentation on the SQL syntax (both the standard implementation, and how the various versions of MySQL vary from the standard).
httpd.apache.org - Apache web server, for in-house testing as well as version information.
www.sourceforge.net - Source Forge is the place for open source software on the net. Not only can you find many applications there, you can also use it to colaborate with others on your project. You might even find an open-source web-based text game there for you to look at.
The best advise I can give you is to set up a testing environment on your development system. Web server, PHP interpriter, database server, the works. And don't forget to get all of the major browsers to test your page on. No matter how good your page looks in Opera 11, it's not going to do you any good if Mozilla and I.E. fail to render half of it.
Hope that helps,
QBRADQ
Fri Aug 12, 2005 Reply New Discussion
Ok, first off, if you are going to learn a compiled language, C/C++ is a good starting point. It's a fairly complex language, but it's also one of the most powerful. It's also the industry standard for complex, compiled software.
There is no need to learn C before you learn C++. Very few people code in C anymore. Most people that you will find that say C++ is slow and cumbersom, tell you not to use it, and profess to only code in C simply don't know what they are talking about. Most of them are in fact programming in C++, they just aren't using classes and template.
Forget the web site idea, and pick yourself up a good book. Now I am all for learning over the web, in fact I have learned nearly every language that I program in from web resources. However, when learning C++ (especialy when learning it as a first language) it is very important that you learn the basics, and learn them very well. Simply put, when people aren't getting paid to write such technical stuff, the quality just isn't up to par.
You can find many good books out there for novice programmers. The SAM's Teach Yourself in so many days / weeks series are usualy easy to understand, and well written. College texts are also very good books to learn from. Most of them are written for people taking a programming course as a pre-req for accounting or business something like that, so they are written to hold your hand as much as possible.
Something to look for when purcessing a book is to make sure it comes with a compiler. Just about anything from Microsoft or Borland will suit just about any type of work well. However, if you insist on using the web to learn C++, here's a link to a good IDE (Intergrated Development Environment, basicaly a spiffy text editor with a compiler built-in):
www.bloodshed.net/devcpp.html
Not only is this IDE totaly free, it's also capable of making Windows graphical programs, something that not all compilers can do. Best of all, it gets updated a lot (usualy twice a year). Personaly, I use Microsoft Visual Studio 6, but it's a rather pricey piece of software the last time I checked (about five years ago).
Well, I wish you the best of luck. Please keep in mind that learning a programming language is going to be frustraitting to say the least. Not to mention time-consumming and difficult. However, once you are fluent in C++ (or any complex language for that matter) you will be able to pick up just about any other language in a matter of a few days or weeks.
For me, it took me nearly six years to become proficient with C++ (by that I mean that I can do anything I please with it, and not have to look stuff up in a book). I started when I was twelve BTW. A few months ago when I started learning Python, I picked up the syntax (read: gramar) in six hours of reading and testing. PHP, being so much like C, took only a few days before I started producing realling good code.
Anyway, best of wishes to you. It's a long, hard road, but it is worth it in the end. Remeber, you can make a good amount of money as a professional programmer.
Later
QBRADQ
Fri Aug 12, 2005 Reply New Discussion
Mon Aug 15, 2005 Reply New Discussion
NOTE TO ADMINS: Sourceforge allows direct linking like that, just incase you are woundering
As far as how to use it, it comes with some documentation I think. Also, just about any book or online tutorial will point you where you need to go.
I'll hunt around for some C++ tutorials / guides and get back to you.
QBRADQ
Wed Aug 17, 2005 Reply New Discussion
Sat Aug 27, 2005 Reply New Discussion
Sat Oct 8, 2005 Reply New Discussion
Needing Ideas For Games (25)
|
(2) Implementing A Mass Spring System Mass spring system
|
Index




