Staredit Network

Staredit Network -> Computers and Technical -> Want to Help?
Report, edit, etc...Posted by A_of_s_t on 2007-01-31 at 18:56:38
I, A_of_s_t, have started looking into internet codes ( Java 2, Javascript, HTML, and Access Databases ) to develop an internet, text based game, similar to that of CyberNations. I would like some guidance because I am new to this and I need to know where to start. If someone knows how to use Access Databases and either Javascript or ASL, please either post here or PM me.
Report, edit, etc...Posted by Deathawk on 2007-01-31 at 19:05:14
So what languages do you know now?
Report, edit, etc...Posted by A_of_s_t on 2007-01-31 at 19:12:17
I have a book on Java 2 and I partially know Javascript.
Report, edit, etc...Posted by green_meklar on 2007-01-31 at 19:20:12
QUOTE
If someone knows how to use Access Databases and either Javascript or ASL, please either post here or PM me.

I know a little Javascript. I can make simple stuff that works, but most of it is really inefficient. There are probably lots of other people here who could help you a lot more easily.
Report, edit, etc...Posted by Cole on 2007-01-31 at 21:08:02
QUOTE
I, A_of_s_t, have started looking into internet codes ( Java 2, Javascript, HTML, and Access Databases ) to develop an internet, text based game, similar to that of CyberNations. I would like some guidance because I am new to this and I need to know where to start. If someone knows how to use Access Databases and either Javascript or ASL, please either post here or PM me.

If your making something like Cybernations your going to need a serverside language like PHP or ASP. You could use flash or Java, but i'd highly recommend against it.

I'd recommend PHP because it's more popular and it's completely free.
Report, edit, etc...Posted by A_of_s_t on 2007-01-31 at 22:36:43
QUOTE(Cole @ Jan 31 2007, 08:08 PM)
If your making something like Cybernations your going to need a serverside language like PHP or ASP. You could use flash or Java, but i'd highly recommend against it.

I'd recommend PHP because it's more popular and it's completely free.
[right][snapback]621429[/snapback][/right]



I meant to add ASP tp the list, and I did mispell it ( ASL lol ). But you recommend PHP... does every computer support it?
Report, edit, etc...Posted by dumbducky on 2007-02-01 at 16:31:59
PHP works on the server only, as far as I know. SEN uses PHP to create every page on the site, and outputs it to you as HTML.

Somebody correct me if I'm wrong. I honestly don't know anything about PHP.
Report, edit, etc...Posted by Centreri on 2007-02-01 at 18:09:40
Nope, correct. I think Cyber Nations uses PHP. PHP works on server side, and as your computer requests the page the code is run through by the server, sometimes accessing a MySQL database to extract information, then displaying the results in HTML form. If you're making a text-based game, it's just what you need.
Report, edit, etc...Posted by Doodle77(MM) on 2007-02-01 at 18:44:31
QUOTE(Centreri @ Feb 1 2007, 06:09 PM)
Nope, correct. I think Cyber Nations uses PHP. PHP works on server side, and as your computer requests the page the code is run through by the server, sometimes accessing a MySQL database to extract information, then displaying the results in HTML form. If you're making a text-based game, it's just what you need.
[right][snapback]621817[/snapback][/right]

Cyber nations uses ASP.

QUOTE(dumbducky @ Feb 1 2007, 04:31 PM)
PHP works on the server only, as far as I know.  SEN uses PHP to create every page on the site, and outputs it to you as HTML.

Somebody correct me if I'm wrong.  I honestly don't know anything about PHP.
[right][snapback]621762[/snapback][/right]

PHP is a general script interpreter, so you can run PHP scripts without a server. However, PHP is generally used in conjunction with a webserver. For an example php-gtk.
Report, edit, etc...Posted by A_of_s_t on 2007-02-01 at 18:59:57
Cybernations doesnt run on PHP, it runs on ASP. But, what are access databases?
Report, edit, etc...Posted by Centreri on 2007-02-01 at 19:07:13
They're similar, PHP and ASP, and the basic idea of how they work is the same. I'd say PHP is easier to get working and easier to master than ASP, though I have no real experience with ASP.
Report, edit, etc...Posted by A_of_s_t on 2007-02-01 at 19:11:36
(You can't exactly say something is easier than another if you are not expeirenced in both.)

I've never seen PHP, but I have studied Javascript and looked at ASP and they seem similar ( except for the format ).
Report, edit, etc...Posted by Cole on 2007-02-01 at 21:11:37
Javascript is clientside. Meaning the browser runs it. Useful for fancy stuff.

PHP/ASP are serverside meaning, the server does all the equations and returns it as HTML. This allows for things like forum's, counters, polls, and etc..

QUOTE
I meant to add ASP tp the list, and I did mispell it ( ASL lol ). But you recommend PHP... does every computer support it?

PHP can be ran on Linux and Window servers. ASP is limited to Windows only servers. PHP can be set up on basically any computer via Apache. Asp isn't free and PHP is. PHP is also more commonly used. I heavily suggest learning it. You will need Windows Xp Pro in order to set up ASP on your computer, with PHP you can easily do it via Apache(for really quick debugging).



Now where to start?
Get your game down, get the basics. Once you have that, start outlining how your database is going to be structured.
Do some other projects to. Like a project that deals with login/logout and creating of accounts. Do a bunch of smaller projects that will give you experience for the big project. That way when your half-way through the big project, you wont realize you missed something BIG and now you have to rewrite everything. Look at sites that talk about security and what to use and what not to use.
Report, edit, etc...Posted by Syphon on 2007-02-02 at 16:52:55
Also, more similar to ASP is VBscript than javascript. Don't use Java, don't use VBscript. I'd recommend PHP back with ajax interpreted javascript front, but that's just me.
Report, edit, etc...Posted by Doodle77(MM) on 2007-02-02 at 17:06:04
Actually, for a text based game, AJAX works very well.
Report, edit, etc...Posted by A_of_s_t on 2007-02-02 at 22:42:18
QUOTE(Cole @ Feb 1 2007, 08:11 PM)
Javascript is clientside. Meaning the browser runs it. Useful for fancy stuff.

PHP/ASP are serverside meaning, the server does all the equations and returns it as HTML. This allows for things like forum's, counters, polls, and etc..
PHP can be ran on Linux and Window servers. ASP is limited to Windows only servers. PHP can be set up on basically any computer via Apache. Asp isn't free and PHP is. PHP is also more commonly used. I heavily suggest learning it. You will need Windows Xp Pro in order to set up ASP on your computer, with PHP you can easily do it via Apache(for really quick debugging).
Now where to start?
Get your game down, get the basics. Once you have that, start outlining how your database is going to be structured.
Do some other projects to. Like a project that deals with login/logout and creating of accounts. Do a bunch of smaller projects that will give you experience for the big project. That way when your half-way through the big project, you wont realize you missed something BIG and now you have to rewrite everything. Look at sites that talk about security and what to use and what not to use.
[right][snapback]621921[/snapback][/right]


Okay, thanks guys. I shall start learning PHP and AJAX and I'll take your advise, Cole, and start small.

Thanks guys.
Report, edit, etc...Posted by Syphon on 2007-02-06 at 22:24:45
QUOTE(Doodle77(MM) @ Feb 2 2007, 05:06 PM)
Actually, for a text based game, AJAX works very well.
[right][snapback]622232[/snapback][/right]


Did I say it didn't? tongue.gif
Report, edit, etc...Posted by MindArchon on 2007-02-06 at 23:27:58
I've been developing one of these games for awhile. Send me a PM or AIM if you need some help.
Report, edit, etc...Posted by A_of_s_t on 2007-02-07 at 11:54:11
MindArchon, right now I'm just writing out a plan and making simple equations for the game to follow, but I'll keep you in mind.
Report, edit, etc...Posted by S)T-Twitch6000 on 2007-02-07 at 14:11:58
Well I was reading over this and I have seen all these questions and suggestions so have you figuerd out what codes you are going to use cause if you are going to use php and javascript I know the basics of both of them.
Report, edit, etc...Posted by Centreri on 2007-02-07 at 17:44:49
QUOTE(A_of_s_t @ Feb 1 2007, 08:11 PM)
(You can't exactly say something is easier than another if you are not expeirenced in both.)

I've never seen PHP, but I have studied Javascript and looked at ASP and they seem similar ( except for the format ).
[right][snapback]621863[/snapback][/right]

No REAL experience - I have looked at the code and all, and PHP seems much easier to understand. And, as ASP is created by Microsoft, it refuses to work on anything but windows. But you got that already.
Next Page (1)