lexkymbeth Posted February 23, 2015 Author Share Posted February 23, 2015 [https://github.com/LexTheGreat/JSMMO](https://github.com/LexTheGreat/JSMMO)Demo:OfflineDone| Working-On| To-doThings:* Database* Saving And Loading Players (Name, Sprite, HP/MP, Stats , Position)* Login/Register* Movement* Chat* Fighting* Maps* Editors* And moreJSMMO 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 More sharing options...
Marsh Posted February 23, 2015 Share Posted February 23, 2015 Nice man! Always great to see new languages and open source projects hitting the Eclipse scene. Link to comment Share on other sites More sharing options...
lexkymbeth Posted February 25, 2015 Author Share Posted February 25, 2015 Updated, made a list of things I wanted to add, also fixed the database stuff so that players load and save correctly :S [3da7913](https://github.com/LexTheGreat/JSMMO/commit/3da791351d5f8259c18e6483f95cb9b8ab0ed389) Link to comment Share on other sites More sharing options...
lexkymbeth Posted February 26, 2015 Author Share Posted February 26, 2015 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 More sharing options...
Joyce Posted February 26, 2015 Share Posted February 26, 2015 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? Link to comment Share on other sites More sharing options...
lexkymbeth Posted February 26, 2015 Author Share Posted February 26, 2015 > 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 :SIt'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 More sharing options...
Joyce Posted February 26, 2015 Share Posted February 26, 2015 So you're building them as node apps, neat. Has me curious on how you handle movement and the like. :) I'll probably doodle around with it a bit when I get home tonight. Link to comment Share on other sites More sharing options...
lexkymbeth Posted February 26, 2015 Author Share Posted February 26, 2015 [http://192.3.201.95:3232/](http://192.3.201.95:3232/)Here is the demo! Don't kill it :S Link to comment Share on other sites More sharing options...
whitespirits Posted February 26, 2015 Share Posted February 26, 2015 shows alot of promise :) laggy tho Link to comment Share on other sites More sharing options...
Joyce Posted February 27, 2015 Share Posted February 27, 2015 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? Link to comment Share on other sites More sharing options...
lexkymbeth Posted February 27, 2015 Author Share Posted February 27, 2015 > 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 More sharing options...
lexkymbeth Posted March 2, 2015 Author Share Posted March 2, 2015 I think I fixed the fps lag. Did some chat stuff today [4db5c62c](https://github.com/LexTheGreat/JSMMO/commit/4db5c62c7d6f6bf7e8fb0baf67fe3dd39cd4b227) Link to comment Share on other sites More sharing options...
Joyce Posted March 10, 2015 Share Posted March 10, 2015 It's still struggling between 30-60 spiking like crazy, especially when it sends/receives data. (e.g. on movement events). On first load it's on a solid 60fps, but moving once makes it spike rapidly again. Link to comment Share on other sites More sharing options...
lexkymbeth Posted March 10, 2015 Author Share Posted March 10, 2015 Hmm :S maybe I should rework how movement is done… I'll look into it thanks! Link to comment Share on other sites More sharing options...
Joyce Posted March 10, 2015 Share Posted March 10, 2015 Possibly! Nevertheless I still think it's not bad of an attempt so far. :) Better than I could do in a webbrowser for sure, haha. Link to comment Share on other sites More sharing options...
lexkymbeth Posted March 10, 2015 Author Share Posted March 10, 2015 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 More sharing options...
Joyce Posted March 10, 2015 Share Posted March 10, 2015 That's much more stable! Sticking around 56-58 the entire time right now. Movement sometimes get stuck when you switch between directions too quickly, but the movement is definitely getting there. :) Link to comment Share on other sites More sharing options...
lexkymbeth Posted March 11, 2015 Author Share Posted March 11, 2015 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 More sharing options...
Jumbofile Posted March 11, 2015 Share Posted March 11, 2015 This looks great! I would love to use it when its done. Link to comment Share on other sites More sharing options...
Colonello Posted March 12, 2015 Share Posted March 12, 2015 Looking very nice. Excited to see where this goes! Link to comment Share on other sites More sharing options...
lexkymbeth Posted March 24, 2015 Author Share Posted March 24, 2015 Relative Positioning, Ability to move around while centered. Some other things done :s Updated demo[5973cb1](https://github.com/LexTheGreat/JSMMO/commit/5973cb183049c609aee522e7f5426647ed511181) Link to comment Share on other sites More sharing options...
whitespirits Posted March 24, 2015 Share Posted March 24, 2015 good job, i would try and get another 10 - 20 fps if u can but getting there! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now