Free Basic Multiplayer FPS in three.js with ammo.js physics
Using power of Three.js, ammo.js. MagicThree is nice class sorted top level of threejs and ammo.js. Magic-three use the new version threejs 149. [JS type of script module
variant with last version of three.module.js]
Extreme interest facts:
- No spending times on build, magic-three use type module in browser.
- Using themes without scss - also no build.
- Combination Three.js vs ammo.js is last physics solution from three.js project.
- Using webRTC for networking/multiplayer brings video chat/stream in same time.
Description
Magic-Three is First Person Oriented but can be used for any other case of app flow.
- No build needed, just copy/paste for both dev and prod mode.It is the module type of script. Nice fit with npm modules also works direct in browser.
- Custom magic Map loader. All 3d objects comes from map.
- No package.json [if this repo become npm package then will be back]
- Must be fully PWA [cache, server compression, image format webp etc...]
- MultiLang support [async load JSON MultiLang file avoid loading all multiLangs]
- Basic example: FPS Player controller [bullet , collision]
- recommended*** -> New networking driver based on OV/Kurento. https://docs.openvidu.io/en/2.11.0/cheatsheet/send-messages/
⚠️From 23 oct 2024 -> frontend old net code will be removed. server part is still present.
⚠️(only if you wanna use RTCMulti) In folder ./backend we have package.json to import deps (npm i) for server part. Run in folder ./backend
cmd: npm i
and npm run magic
for host and broadcaster.
- [⚠️ Old ]Networking based on webRtc multiRTC3 library. Signaling server, video chat or stream to texture.
If you wanna use new net just run your own openvidu server on your VPS [i use 2.20.0 version].
Demo link:
https://maximumroulette.com/apps/magic/public/module.html
Updated | 12 days ago |
Status | Released |
Platforms | HTML5 |
Author | Game developing |
Genre | Action, Shooter |
Made with | Three.js |
Tags | 3D, Game Boy, javascript, sourcecode, threejs, tps, webgl |
Leave a comment
Log in with itch.io to leave a comment.