Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Is It Possible To Create A Web Based Mmo In Javascript?, And could there be free movement without reloading the page?
GaiaZone
post Jan 11 2008, 08:19 PM
Post #1


Newbie [Level 2]
**

Group: Members
Posts: 25
Joined: 8-January 08
From: PR
Member No.: 55,961



I would like to get some information before launching myself to the JS libraries.

Is it possible to load maps or images and with the press of a button "scroll" or move the image inside some kind of window up, down, left or right?

It would be like scrolling an image sideways, upwards or downwards.

I would also like to know if multiple connections can be made and lets say there was a user standing in the location (127, 160) of the map, would there be the possibility of loading the image of that player? Maybe with database connections and storing their information there?

Is JS compatible with MySQL?

I appreciate any help regarding this matter in advanced. =]
Go to the top of the page
 
+Quote Post
coolcat50
post Jan 11 2008, 09:53 PM
Post #2


Super Member
*********

Group: [HOSTED]
Posts: 281
Joined: 5-October 07
From: Random Places
Member No.: 51,171
Spam Patrol



It is impossible to do a web based MMO in the sense you are thinking about. I believe it impossible entirely. Javascript cannot access MySQL to my knowledge because MySQL is a client-side scripting language and MySQL deals with a web server. Also, Javascript is easily hacked and I would suggest not messing with personal information with it.
Go to the top of the page
 
+Quote Post
hitmanblood
post Jan 12 2008, 12:13 AM
Post #3


Privileged Member
*********

Group: [HOSTED]
Posts: 775
Joined: 13-April 07
From: mreža
Member No.: 41,558



Well I wouldn't suggest doing osmething like this because you can access javascript data easily and you can tempare with it. Also there is large part of security issues and the final thig is that javascript cannot be directly connected to the database and server itself because javascript is transfered to the web browser in the same way as the html code though there are significant differences between the two.

And one more important thing is to note one way or the other you would have to use some server oriaented scripts.

And finally I would suggest that you use java for making of this game because then you could make applet run and it would work fine and you would have all those libraries at your disposal. Good luck.
Go to the top of the page
 
+Quote Post
GaiaZone
post Jan 12 2008, 12:35 AM
Post #4


Newbie [Level 2]
**

Group: Members
Posts: 25
Joined: 8-January 08
From: PR
Member No.: 55,961



Ah, thanks for the replies.

I was just trying to figure out what language to use, guess I'll stick to PHP.

Thanks again.
Go to the top of the page
 
+Quote Post
gogoily
post Jan 12 2008, 03:19 AM
Post #5


Member [Level 2]
*****

Group: Members
Posts: 76
Joined: 30-October 05
Member No.: 13,571



I don't think JS is compatible with MySQL.
But if you use Ajax and PHP, it will work.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Javascript Slideshow Tutorial(3)
  2. Javascript Close Window(12)
  3. One Click Copy And Paste To Clipboard(5)
  4. Adding Rows & Columns In Html Table Using Javascript(1)
  5. I'm Making My Own Javascript Only Rpg :d(7)
  6. What's The Relationship Between Javascript And Java(5)
  7. Javascript : No Right Click Script !@(12)
  8. Hiding <div> Boxes With Javascript(8)
  9. A Simple Javascript Help Required(3)
  10. Help With Javascript Calculator On My Website Please!(1)
  11. My Little Javascript(0)
  12. Highlight A Word In Javascript. Help!(2)
  13. How Do You Make A Javascript Calculator?(11)
  14. Help With Javascript Calculator Returning "nan"(2)
  15. Great Javascript Script Source(2)
  1. Web Applications: J2ee Or Javascript/css/html(1)
  2. Opera Browser + Javascript + Embeded Sound(0)
  3. Javascript - What's Your Browser?(3)
  4. Javascript Events Not Working For Ie(6)
  5. I`m New To Javascript.(5)
  6. Special Wii Javascript(2)
  7. Javascript Error(2)
  8. Capturing Username Of Computer(3)
  9. Javascript Object Node Referencing Help(5)
  10. Flash And Javascript Interaction(1)
  11. Document.write & Noscript Questions (javascript)(1)
  12. Java Vs Javascript(11)
  13. Adjusting Rows/cols Of Frames In Frameset Using Javascript Is Not Working In Firefox 3 Is Not Working(4)


 



- Lo-Fi Version Time is now: 27th July 2008 - 02:12 AM