anders-e / ouija Goto Github PK
View Code? Open in Web Editor NEWHTML5 Ouija board
License: GNU General Public License v3.0
HTML5 Ouija board
License: GNU General Public License v3.0
One less dependency, and hopefully slightly better performance
There is no need to run the simulation on the server side 60 times per second; we're wasting a lot of CPU time. ~20 fps seems more reasonable.
Marker movement must still appear smooth in the client.
Dependencies:
Dev dependencies:
Upon clicking this button, the player will be able to either
Board and marker graphics are required, should probably be in SVG-format.
Marker should move at a set speed towards mouse position when mouse is down.
Both the canvas and graphics should scale according to window size. This includes whenever the window is resized while running.
Make running Ouija for development simpler.
Relevant headers:
Sets up all classes and connects the pieces.
Contains everything regarding non-UI graphics.
Contains everything regarding network (communication w/ server)
Contains everything regarding the DOM UI.
Basically the current class but extended. Includes all references to assets used for events.
Ouija should run on iOS and Android.
It's barely used and as far as I can tell only for coords.
https://www.gnu.org/licenses/gpl-3.0.en.html
Must be made clear that any libs we use (such as in src/client/lib/
) are not licensed as part of Ouija.
Current webpack warnings:
WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
bundle.js (787 KiB)
WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
main (787 KiB)
bundle.js
WARNING in webpack performance recommendations:
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/
Furthermore, should the settings be accessed both from the main menu and/or the game view?
Idea - low poly, simple cobwebs for the desk.
Inspiration: https://www.youtube.com/watch?v=gjZio6YTSPs
Marker speed should remain consistent independently of the number of players in a game. The marker should also not be able to move to fast as an effect of multiple players dragging it towards the same direction.
Move any classes to separate distinct .mjs files to be included in the main script.
Scene and canvas should adjust whenever window is resized.
Mute button with icon in the game UI.
Main menu
In-game
Notice: no logic needed, only buttons and associated onClicks
Idea - illuminate the characters based on the distance from the marker.
Approach #1: Multiple textures, no need for light source:
Some simple configuration file that is read by the server at startup.
Would make jumping between client and server code less confusing while minimizing code duplication.
Scene needs further optimizing. The current model is approx. 24 MB large, and can be cut down.
This optimization will include removing the camera room panning animation. The center of view will thus only consist of the desk, the items on the desk as well as some objects seen in the background.
If a camera animation will be used, it will at most be a zoom-in from a close distance, only showing the desk.
Objectives:
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.