dorkhub

enari-engine

ThreeJS First Person Shooter Playground

iErcann
TypeScript27436 forksMITupdated 1 year ago
visit the demogit clone https://github.com/iErcann/enari-engine.gitiErcann/enari-engine

Enari Engine: Browser-based CS-Style Game

🎥 How I Did It — Tutorial

Check out my tutorial on YouTube explaining how I build projects like this and the steps I followed:

Watch the video

📺 Watch on YouTube

⚠️ Note

I've completely remade this project with improvements and easier modifiability under:

🌐 https://www.notstrike.online

Get the new version's source code here (more advanced and way easier than Enari to modify!):

🔗 https://iercan.gumroad.com/l/wcwye

Online Versions

Main version

Main Demo 🔗

Minecraft like

Online demo🔗 image

Unrecord test

Online Demo🔗 image

Backrooms

Online demo🔗 image

Controls

  • W A S D: Movement
  • 1: First Weapon
  • 2: Second Weapon
  • 3: Knife
  • 4: First Person View
  • 5: Third Person View
  • E: Respawn (clone)
  • Left Click: Fire
  • Escape: Leave mouse lock
  • R: Reload

I updated the project but it has old Three.js dependencies + Ammo.js has a better alternative now (Rapier.js)

Map loading

Can load .glb maps image image

Support gun animations

image

Exporting animation keys in JSON

https://github.com/grow/blender-animation-marker-export

Credits

Code

Assets

Pool Map - Vince_Crusty https://skfb.ly/opsCs

Minecraft Pickaxe - LeoPasc02 https://skfb.ly/6YG7W

"Minecraft Wood Shop & Mill" (https://skfb.ly/67YUT) by BlackSong is licensed under CC Attribution-NonCommercial-ShareAlike (http://creativecommons.org/licenses/by-nc-sa/4.0/).

"Backrooms Another Level" (https://skfb.ly/otWOo) by Huuxloc is licensed under Creative Commons Attribution (http://creativecommons.org/licenses/by/4.0/).

"Meat Monster" (https://skfb.ly/owECR) by HGHGK is licensed under Creative Commons Attribution (http://creativecommons.org/licenses/by/4.0/).

NotBlox : Another Three.js Project but with Multiplayer

Demo NotBlox

You like this project or want to talk about Three.js games ?

Discord https://discord.gg/aEBXPtFwgU 👀

more like this

lottery

🎉🌟✨🎈年会抽奖程序,基于 Express + Three.js的 3D 球体抽奖程序,奖品🧧🎁,文字,图片,抽奖规则均可配置,😜抽奖人员信息Excel一键导入😍,抽奖结果Excel导出😎,给你的抽奖活动带来全新酷炫体验🚀🚀🚀

JavaScript4.6k

search

search projects, people, and tags