Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
v1
 
 
 
 
 
 
 
 
 
 

README.md

NiftyKickApps

Apps and Guides for Niftykick.com Demo video: https://www.youtube.com/watch?v=R3xZ1G291Ks

This repo is for developers looking to quickly make a webVR application with:

  • No annoyingly large SDK dependencies (Unity, Unreal, etc)
  • App model (Multi-tasking, buttons, windowing mode)
  • Simple APIs (No need to learn hardware specific APIs, or deal with raw WebVR apis)
  • Easy cross platform (WebVR will run on any OS and any device soon enouph)

How to write apps is still in progress and I would love your feedback.

Required dependencies

Guide

Example app

import NiftyOS from "../sharedLibs/niftyOS"
import THREE from "../sharedLibs/three"
import $ from "../sharedLibs/jquery"

var main = async()=>{
  var app = NiftyOS.createApp()
  
  //Create mesh and add to stage
  var box = new THREE.Mesh(new THREE.BoxGeometry(0.5,0.5,0.5), new THREE.MeshStandardMaterial())
  box.position.z = -3
  app.stage.add(box)
  
  //Runs once per frame
  app.onFrame = (deltaTime, curTime)=>{
    box.position.x = Math.sin(curTime/1000)
  }
}
main()

About

Apps and Guides for Niftykick.com

Resources

Releases

No releases published
You can’t perform that action at this time.