|
|
How To Make A Text Based Online Game Script ? | ||
Discussion by JohnNitro with 25 Replies.
Last Update: January 26, 2010, 11:30 am | |||
![]() |
|
|
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")
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=-
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
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
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
(or if you want more info msg me!)
-Shuby
(ps. don't respond if you think it is a waste of time.)
-Sharpshoot
How To Make A Text Based Online Game Script ?
Replying to JohnNitro
Wow! Maybe it didn't work because of your lack of understanding both punctuation and spelling. You know what is more confusing than trying to program in C++? Trying to read your blogs. Ow my head!!
i am looking for anyone to help me with it...
How To Make A Text Based Online Game Script ?
Replying to Eggie
Let me know if you would like any help. I am a computer programmer and am willing to help you run it. I would like to ask how you created it off sphosting?
-reply by eggie fan
The Best and Easiest way to make an Text-Based online game for Free is MCcodes Lite V.1.0. But with a few bugs
but you can also upgrade by paying obviously.
http://mccodes.com
And for the Versions,
http://www.mccodes.com/sourcecodes.php
Here are the Features for The free Version.
Shops
Item Market
Crystal Market
Travel Agency
Estate Agent
City Bank
Cyber Bank
Gangs
Gang Wars
Federal Jail
Slots Machine
Cyber Slots
Roulette
Crystal Temple
User List
MC Staff
Hall of Fame
Country Stats
Users Online
Gym
Crimes
Battle Stats
and possibly a Admin Panel
A Upgraded Version has (75 dollars)!!!!
Shops
Item Market
Crystal Market
Travel Agency
Estate Agent
City Bank
Cyber Bank
Gangs
Gang Wars
Federal Jail
Slots Machine
Cyber Slots
Roulette
Crystal Temple
User List
MC Staff
Hall of Fame
Country Stats
Users Online
Admin Panel
Secretary Panel
Assistant Panel
Mailing System
Donating pages + Donations accepting page
Local School
Battle Stats
Gym
Crimes
Verson 2.0, Best Ever (300 dollars)
-Internet Info Table
-Multiple Polls
-Hidden Polls
-CAPTCHA Test on Registration
-User can be rewarded an item and/or crystals for succeeding a crime (as well as just money)
-User can goto jail for failing a crime
-Jail added
-Crime XP system added
-Improved User info on login
-Attacking, mugging, leaving, hosping etc.
-Major Item Overhaul
-Database drivers
-Improved cronjobs
-Contacts list
-New fresh Skin
-Settings table which means you don't have to edit files such as donator.php to fill in your PP address or header.php to change your game name, you just set a setting =)
-General Optimization (reduced Queries in a lot of files)
-Player Notes
-Lucky Boxes
-Send Crystals (can be turned off/on in settings)
-Bank Xfers (can be turned off/on in settings)
-HallofFame Filters (non-donators, donators, or all users)
-Delete All Events
-Fully Featured Staff Panel
MCC1 mods Included in the MCC2 package by default:
-Polling Booth*
-Advanced Attacking*
-Forums*
-Player Notes
-Lucky Boxes
-Installer/Upgrader
-Upgrade Advisor (diagnoses your MCC1 game to see if upgrade to MCC2 will be ok)
Please Note: While MCC1 shipped with premade items, crimes, etc, MCC2 ships with none of the above. You can add your own items and crimes and the like from the Staff Panel.
Also includes everthing in the Free Version.
The Downloads has the requirements and you will be needing a host like this to start off.
Free and Easy
Thanks,
Sincerely
Mark
www.mccodes.com
How To Make A Text Based Online Game Script ?
What programming language is best to use for text based rpg that can be played on a console, a computer and a cellphone??? In short I want a text based rpg that can be played on anything that can connect to the internet! Please can anyone help me or give me any advice on how to go about this? It all would be most appreciated. I have spoken to some java programmers that just finished university and they say I am stupid and it cant be done or its way to difficult for them or any other programmer and the very very very very few that can do it, will ask the world to do it or give any advice! :(
-question by Sleven Kalevra
http://www.Makewebgames.Com is a good and large community of amateur browser game developers, you might find something usefull at that community.
-reply by mdshare
Similar Topics:
Which Is The Best Squad Based Game?
New Text Based Game Maker
Help With Making A Textbased Game
Needing Ideas For Games (25)
|
(2) Implementing A Mass Spring System Mass spring system
|
HOME 






