Skip to content

casonclagg/aframe-mario-star-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aframe-mario-star-component

A Mario Star Texture component for A-Frame.

Example

Example here

API

Property Description Default Value
waitTicks ticks before next color change 4

Installation

Browser

Install and use by directly including the browser files:

<head>
  <title>My A-Frame Scene</title>
  <script src="https://aframe.io/releases/0.2.0/aframe.min.js"></script>
  <script src="https://rawgit.com/casonclagg/aframe-mario-star-component/master/dist/aframe-mario-star-component.min.js"></script>
</head>

<body>
  <a-scene>
    <a-box width="1" height="1" depth="1" width="0 0 -2" mario-star="waitTicks: 4"></a-box>
  </a-scene>
</body>

npm

Install via npm:

npm install aframe-mario-star-component

Then register and use.

require('aframe');
require('aframe-mario-star-component');

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published