niklasvh / webgl-gta Goto Github PK
View Code? Open in Web Editor NEWJavaScript implementation of GTA
Home Page: http://niklasvh.github.com/WebGL-GTA/
JavaScript implementation of GTA
Home Page: http://niklasvh.github.com/WebGL-GTA/
Is it possible?
Google Chrome 32:
WebGL: INVALID_VALUE: texImage2D: width or height out of range ThreeDebug.js:14388
Waring (probably issues this warning because of previous error):
[.WebGLRenderingContext]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering or is not 'texture complete'
Firefox 26:
Error: WebGL: texImage2D: the maximum texture size for level 0 is 4096 ThreeDebug.js:14388
The problem is apparently here:
_gl.texImage2D( _gl.TEXTURE_2D, 0, _gl.RGBA, _gl.RGBA, _gl.UNSIGNED_BYTE, texture.image );
I believe that some object has not received valid data, perhaps a "console.log" to help find the problem.
This also works on FireFox.
I am seeing flicking on tile edges. Draw them slightly larger than exact pixels maybe?
You didn't describe what the keys are in the README (there isn't some other documentation somewhere hey?)
It's the arrow keys! But in the code I also noticed R and F supposedly move up and down. Playing the game I didn't find anything to move up and down on. Is there ladders or something somewhere? Guess I should've played the original game more!
But more importantly... isn't there a way to get it into the vehicles?
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.