• Stars
    star
    258
  • Rank 158,189 (Top 4 %)
  • Language
    JavaScript
  • Created over 12 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

JavaScript implementation of GTA

WebGL GTA

This experiment parses the game files (in their original format) and builds the maps and some of the game objects from the game through WebGL. Some very basic game mechanics and physics are implemented, but there isn't really anything else than pedestrian movement possible in this version.

The game files used are from the original GTA game's demo from 1997, freely available for download here. The full version is also available for free from Rockstar Games or for purchase at Steam store.

Browser support & Issues

Currently only works on Google Chrome/Firefox and requires a half decent graphics card. There are a number of graphical glitches present, such as problems with palette transparancy and some slopes applied with wrong angle. This implementation parses the game files as they were used in the original games, and as such they are far from an optimal format used in this experiment, and especially the sprites and color palettes require far more computing that would be necessary with a more optimal format.

Future plans

I created this experiment just for the purpose of testing some aspects of WebGL and to see how well larger static environments perform and currently have no plans of continuing developing this any further in the near future. It currently parses most files used by the game (including maps, sprites, game objects, spawn points, missions, etc. ) but only uses a small portion of that data in its current implementation.

Try it

More Repositories

1

html2canvas

Screenshots with JavaScript
TypeScript
30,457
star
2

feedback.js

Feedback form with screenshot
JavaScript
868
star
3

php.js

PHP to JavaScript converter and VM written in JavaScript
PHP
859
star
4

base64-arraybuffer

Encode/decode base64 data into ArrayBuffers
TypeScript
353
star
5

html2canvas-proxy-nodejs

Express middleware proxy for html2canvas
JavaScript
119
star
6

css-line-break

A JavaScript library for Line Breaking and identifying Word Boundaries, implementing the Unicode Line Breaking Algorithm (UAX #14)
TypeScript
115
star
7

react-bacon-flux-poc

JavaScript
70
star
8

WebGL-CSS-Shaders

CSS Shaders through WebGL
JavaScript
54
star
9

jquery.plugin.clipboard

jQuery plugin to modify the contents copied to clipboard
JavaScript
37
star
10

click-heatmap

Click heatmaps with Google Analytics
JavaScript
36
star
11

html2canvas-proxy

Proxies for html2canvas
Python
32
star
12

experiments.hertzen.com

Random mini experiments
HTML
19
star
13

CSS3-Shapes

CSS3 shape editor
JavaScript
18
star
14

text-segmentation

A JavaScript library for Grapheme Breaking and identifying Grapheme Boundaries, implementing the Unicode Line Breaking Algorithm (UAX #29)
TypeScript
15
star
15

mongoose-validators

Validators for Mongoose schemas with validator.js
JavaScript
13
star
16

webdriver.js

jQuery styled WebDriver bindings for node.js
JavaScript
13
star
17

jquery.plugin.placeholder

Add placeholder functionality to non-HTML5 browsers
JavaScript
8
star
18

html5-parser

html5 parser for node.js and browsers
JavaScript
8
star
19

webidl.js

WebIDL parser for JavaScript
JavaScript
6
star
20

3d-dom

http://blog.hertzen.com/post/68191200228/rendering-webpages-in-3d-with-javascript-and-webgl
JavaScript
4
star
21

css-values

JavaScript
3
star
22

utrie

Unicode Trie
TypeScript
3
star
23

reactive-templates

JavaScript
2
star
24

node-tus

Node.js resumable upload middleware
JavaScript
2
star
25

hertzen.com

CSS
1
star