Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

JsMMO ~ (JS Basic Mmo Engine)


lexkymbeth
 Share

Recommended Posts

[https://github.com/LexTheGreat/JSMMO](https://github.com/LexTheGreat/JSMMO)

Demo:
Offline

Done

Working-On

To-do

Things:

* Database
* Saving And Loading Players (Name, Sprite, HP/MP,
Stats
, Position)
* Login/Register
* Movement
* Chat
* Fighting
* Maps
* Editors
* And more

JSMMO is an Open source 2dMMO engine that used Node.JS, Socket.io, SQLite Databases and more. At the moment there is not much. There is the basics of multiplayer (moving around, login/register * While login' in if the player does not exist then it creates one, players only show up and/or sent, on the same map), player saving is done in SQLite.

I've been working on this for a while plan to finish this one out. Just got done with all the IOS Apps I had planned and have some free time :S

> _JSMMO_
>
> _Open source 2dMMO engine made with node/canvas with SQLite Database_ _You need node.js![http://nodejs.org/](http://nodejs.org/)_
>
> Project Setup
>
> _How do I, as a developer, start working on the project?_
>
> 1. _Check out the git git clone [https://github.com/LexTheGreat/JSMMO](https://github.com/LexTheGreat/JSMMO)_
> 2. _Enter the directory cd JSMMO_
> 3. _Run npm install_
>
> Settings
>
> 1. _Database name: In server.js replace server.db Database.open("server.db"); with anything you want._
> 2. _Port: In app.js change 3232 Global.setupServer("public", 3232); with the port you want to use_
>
> Testing
>
> 1. _Enter the working directory and run node app_
> 2. _Connect to yourip:yourport (localhost:3232)_
>
> _How to setup the deployment environment_
>
> * _Requires Node and webrowser_
>
> Contributing changes
>
> * _"Please open a github issues/pull request"_
Link to comment
Share on other sites

Update [3a61d30](https://github.com/LexTheGreat/JSMMO/commit/3a61d30f3097f2e9ae547039ea2c8f713b2062df) Screen Shots: [http://imgur.com/a/7n9xt](http://imgur.com/a/7n9xt)

> - Removed old files
>
> + Added in-game gui such as chat/chatbox
>
> + Type then press enter to send
>
> + Some server sided checks done
Link to comment
Share on other sites

> I'm curious if you have a running demo going on somewhere, but it seems like a pretty cool idea. :) What does it use for a server? Or are you just writing and reading to a database every split second?

Uhhhh, good idea I could setup up a demo sometime today, creating this in school I have to go to my next class soon :S

It's using Node.JS, the database is sqlite (a .db file)

Database is only used when saving or loading (Loging in or loging out) Should add an autosave every so often… I'll add a demo later today!
Link to comment
Share on other sites

> I've doodled with it a bit the other night, but the forums went down shortly after..
>
>  
>
> It looks good, seems to work pretty well for what it is. But why is it struggling to hold its 30fps?

To be honest I don't know. I think it is how I render or its becuse of the server is lagging… Gota tweek a few things
Link to comment
Share on other sites

Changed the movement system. Send a start packet and a stop packet. Less packets sent :S Less lag?

[063c8d9](https://github.com/LexTheGreat/JSMMO/commit/063c8d98785c51ee216cd50f63182ec01d6cb10c)
[b3df1b9](https://github.com/LexTheGreat/JSMMO/commit/b3df1b9fc89390142e60aae25074d1931d96a39f)

PS:

The Not stable, quick update, while joining your player will be invisible, move to make him show up.
Link to comment
Share on other sites

Did some GUI stuff and swifter movement in this commit, along with a change of !anounce (Mod+ only) flashes on your top screen when used :S Pretty cool
[7ae676e](https://github.com/LexTheGreat/JSMMO/commit/7ae676e135a47ddb5cbb1df372807d92997cd982)

Added some more gui stuff in this one, I like the animation :3
[ad589bc](https://github.com/LexTheGreat/JSMMO/commit/ad589bcf24d7d1294fdd9a5715fa93568d70ec7c)

The demo is updated, have fun :3
Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...