Red Colony (play now)
- WASD Motion
- Mouse camera rotation
- Left Click shooting
- 1 & 2: Orange and Blue
- 3: Place a voxel
- 4: Restore voxel
- 5: Destroy voxel
- R: Reset
Made by Rasmus Jepsen, with three.js and pointer lock API.
A Mars colonisation game in the web browser.
License: MIT License
Red Colony (play now)
Made by Rasmus Jepsen, with three.js and pointer lock API.
gh-pages
should be set as the default branch, and master should be merged with it, keeping the source in lib
and src
.
The player should have a width, this could prevent wallhacking. The testCol function may need to be called on every vertex in the WASD, SHIFT and SPACE events.
Bullets are very slow and should be sped up, however, I don't think the testCol function would detect the collision if it went too fast. I will experiment with it, but I can't guarantee an immediate fix.
When the camera is looking straight up or down no bullets will shoot. I believe it has something to do with the following:
if (camera.rotation.x < (-Math.PI/2)) {
camera.rotation.x = (-Math.PI/2);
}
if (camera.rotation.x > (Math.PI/2)) {
camera.rotation.x = (Math.PI/2);
}
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.