Skip to content

cskeppstedt/WebGLPong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

WebGL Pong

This project was my submission to a 48 hour "hackathon" contest at Know IT. Most of which I spent trying to get a "fish eye" effect in WebGL so the game was curved in the corners of the TV - which I never did, unfortunately. GL was a completely uncharted area to me. If nothing else, I learned some GL and won an iPad.

However, it features a 2D canvas rendered with shaders and all, and has a very basic AI for the computer paddle. It also has artificiell friction - if the paddle moves while the ball bounce against it, the ball will increase in speed in that direction.

Demo

There's a demo running at http://s3.chsk.se/pong/

Attributions

Wallpaper pattern: http://speckyboy.com/2010/04/08/6-free-vector-seamless-backgrounds-source-files/

TV stock photo: http://www.sxc.hu/photo/1187553

gl-matrix: https://github.com/toji/gl-matrix

Pong sounds: http://www.atariage.com/forums/topic/45621-the-pong-sound/

Audio lib: https://github.com/operasoftware/Emberwind

Music: http://freemusicarchive.org/ "Gondolier and Temptation rag&quot" Albert Benzler and Fred Van Eps

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published