Apps and Guides for Niftykick.com
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
v1
.gitignore
README.md
package.json
server.ts
tsconfig.json

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 dependenies

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()