evifere / powerofthree Goto Github PK
View Code? Open in Web Editor NEWCubic 2048 clone based on power of three
Home Page: https://evifere.github.io/powerofThree/
Cubic 2048 clone based on power of three
Home Page: https://evifere.github.io/powerofThree/
When i press left,up,right and down arrow keys , that rotate global wireframe cube and current cube instantiate inside.. the problem is that when new cube pop on scene it's rotation is'nt the same as other cubes ...
To correct that catch current instantiate cube and apply it's quaternion rotation to new instantiated cube .
Error creating WebGL context.
Uncaught TypeError: Cannot read property 'getShaderPrecisionFormat' of null
mousewheel event not working on FF
display the score
You should create a animation for translate your cube when mouse move from left to right etc ...
you could do easely your translation with use of a Lerp ( on a mathematical function very easy ) look here for more information : https://keithmaggio.wordpress.com/2011/02/15/math-magician-lerp-slerp-and-nlerp/
and inside your code just write : currentCube.position =
Lerp(currentCube.position,TargetCubePosition,DeltaTime * speedFactor);
store and read from localstorage via a backbone collection
make a version for touch event device
Hi , you should render and refresh your canvas with a loop call request animation
and there it's a article that will show you why , because at this current moment the frame rate and refresh of your canvas is base on capacity of the cpu that render your web app.. and every peoples does'nt have a pc full over killed
http://creativejs.com/resources/requestanimationframe/
HAVE A NICE DAY !!
add the dice merging algorithm
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.