waba4mume / play-mume Goto Github PK
View Code? Open in Web Editor NEWModern web client for MUME using DecafMUD
License: GNU General Public License v2.0
Modern web client for MUME using DecafMUD
License: GNU General Public License v2.0
The simplest way to do this is probably a "Toggle brief" menu entry that configures MumeXmlParser accordingly (with a list of tags that should be filtered out?).
Refactor the DecafMUD interface to show the map at start in a side-panel, with a link to open it in a separate window.
You can try enabling the side-panel we inherited from Pit and see if it works (it may need CSS etc fixes). Or select a good Javascript application layout library (if there is such a thing) and replace all the DecafMUD specific code with something much simpler (that would be a great thing!).
Missing: shops/other flags, arrows etc.
This should be quite fun with Pixi (the rendering lib I used so far). I don't expect performances issues here as each room will be rendered once at load and then bitmap-cached.
Replace the hardcodedMapData variable by something you load from a "map.json" in the same directory.
This should be a simple matter of calling JSON.parse() and then performing some sanity checks on the loaded data. However, if the map data is too bulky and crashes the webapp we may have to design something smarter and revisit #3.
!#~ CW>cha col
<weather>As Anar rises above the eastern horizon, the sky is lit by a fiery glow.</weather>
<prompt>*#~ CW></prompt>l
Use "change colour <field> <attribute>" where <field> can be one of:
achievement none exits none miss none pray cyan social none yell magenta zone-nice cyanWall above the Gates
*#~ CW>l
Make it a client option to have auto-fill (the input field retains the last command entered for faster input). Currently it's forcefully disabled.
This doesn't imply that the option will be retained between sessions.
Dáin reported that the ANSI color test at character creation looked white on black on his Macbook, instead of white on blue.
This is an important for new players, so maybe this dark blue should be brightened a bit.
We need a JSON version of the MM2 map to fix possible loading and displaying performance issues in the web client map display as early as possible.
Preferably this will be a basemap and not a full map, so that we can just host it somewhere and everyone can try it out.
Eventually we'll need this nicely integrated in MM2, but for now any horrible hack will do. Also, we may have to optimize the format so don't spend too much time on this first attempt.
Expected format : a text file formatted like the hardcodedMapData variable in mume.mapper.js.
These light gray arrows that show the links between rooms that aren't immediately adjacent.
Show tells, narrates etc. in a different panel. It makes them less likely to miss. Requested by pDjinn.
Implementation note: the current HTML/CSS-based layout makes it hard to do.
Right now it crashes horribly when the contra lib tries to send an event to the closed window.
Should be a simple matter of unregistering "map" from "parser"'s "tagend" event when the mapWindow unloads, in mume.menu.js. Other reload/close/open issues may show up, try it out.
"A map will display here once your character enters Arda" or something like that.
When moving around, the map seems to recenter on the previous position, not the current/new one.
Doesn't happen in Firefox.
Happens in Chromium.
Goal : force a redraw of the map to uncover any performance issue when dealing with a "real" map.
Suggested implementation : reposition layer0 too in MumeMapDisplay.repositionHere() in mume.mapper.js (you'll need to make that variable a member).
Bonus points if you make it possible to move around by dragging the map like in MM2, of course :)
Once we have a real map loaded (#3 and #4), test the web client on common hardware (ie. not your gaming computer) with supported browsers (Chrome, Firefox, IE10+) and measure performance (loading time, rendering lag, memory usage).
Report those on ER and open an issue here if they likely to put off prospective players.
Either in the map window (big overall message) or in the DecafMUD text output.
Currently, only rooms on the ground layer (Z = 0) are rendered. We should populate other layers and render them appropriately (with a visual hint that there is something to see up or down, but without obscuring the current layer).
Suggested implementation :
It doesn't receive events anymore upon reload, so it may confuse new players as it seems broken.
The By what name do you wish to be known?
prompt is shown twice.
This is related to the XML negotiation, which takes place after the first prompt.
MM2 doesn't have this problem, because it pushes it first thing to the server, which doesn't seem feasible in the DecafMUD architecture.
Harmless but unsightly :(
Tell MUME to enable XML mode silently upon (re)connection.
This should be very easy, just a matter of sending the right line (help m p c) in MumeXmlParser.connected(), in mume.mapper.js.
Add a DecafMUD help entry about upgrading to a real client and MM2.
These little (x) / (.) symbols.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.