VR Minecraft
For a few weeks, I've been developing "VR Minecraft" to test the limits of the sensors included in the phone. (Especially iPhone)Heres the link to the project:
https://prazma.github.io/vrminecraft
Note:
The link will be available during (10/20 - 11/5).
I will repost a link to share the details of the program.
How to Play (How it Works)
I have added a program where the camera detects your hand gesture to detect your actions in the game (such as placing a block, destroying a block, opening the menu and closing the menu).Using GPS (geolocation API on HTML5), the player is able to move in the game (as well as Jump, with automatic jumping program as seen on Minecraft PE).
Technology
We code with:
HTML, CSS, JavaScript, PrazmaScript
(PrazmaScript is a custom language I built out of JavaScript Library. Initiating hand motion capture can be done with the code snippet below)
HTML, CSS, JavaScript, PrazmaScript
(PrazmaScript is a custom language I built out of JavaScript Library. Initiating hand motion capture can be done with the code snippet below)
var gestures = []; //make an empty array to store gestures
gestures.push("wave"); //add waving gesture to detect
startFunction If ( prz.HandCapture ) {
var MotionType = prz.detect();
//search if gesture is defined on library;
MotionType.search( gestures ) {
document.write( MotionType );
}
gestures.push("wave"); //add waving gesture to detect
startFunction If ( prz.HandCapture ) {
var MotionType = prz.detect();
//search if gesture is defined on library;
MotionType.search( gestures ) {
document.write( MotionType );
}
コメント
コメントを投稿