![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
voxel-touchcontrols
Advanced tools
touch controls for Voxel Engine
a basic navigation pad is used for movement, with dragging on the main area to look in different directions
step 1:
npm install voxel-touchcontrols
step 2:
include some html in your page that looks like this (you probably want images or at least more appropriate characters):
<nav class="touch-control left" id="touchcontrols">
<ul>
<li>FL</li>
<li>F</li>
<li>FR</li>
<li>L</li>
<li>J</li>
<li>R</li>
<li class="last">B</li>
</ul>
</nav>
You probably want to include some CSS to arrange them and position them decently:
.touch-control {
-moz-user-select: none;
-webkit-user-select: none;
user-select: none;
}
.touch-control {z-index:10; position:absolute; bottom:10px; left:10px;}
.touch-control ul {margin:0; padding:0; width:150px; height:150px;}
.touch-control li {width:50px; height:50px; float:left; list-style: none; background: rgba(255,255,255,0.4); text-align:center; vertical-align: middle;}
.touch-control li.last {margin-left:50px;}
step 3:
var touchcontrols = require('voxel-touchcontrols')
touchcontrols(document.getElementById('touchcontrols'), game.controls, container)
use browserify to package voxel-touchcontrols for use in your client side app!
BSD
FAQs
touch controls for voxel engine
The npm package voxel-touchcontrols receives a total of 1 weekly downloads. As such, voxel-touchcontrols popularity was classified as not popular.
We found that voxel-touchcontrols demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.