Skip to content

erichlof/PathTracedPong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PathTracedPong

A real-time path traced game for desktop and mobile using WebGL.
Click to Play --> https://erichlof.github.io/PathTracedPong/Path_Traced_Pong.html

Desktop Controls

  • Click anywhere to capture mouse
  • move Mouse to control paddle
  • Mousewheel to dolly camera in or out
  • Click the 'Gravity' button to simulate gravity!
  • Click the 'Difficulty' button to cycle through the 3 difficulty levels

Mobile Controls

  • Swipe to control paddle
  • Pinch to dolly camera in or out
  • Tap the 'Gravity' button to simulate gravity!
  • Tap the 'Difficulty' button to cycle through the 3 difficulty levels

TODO

  • Possibly add a small moving obstacle (mirror sphere or box) that randomly slides on the floor, changing the ball direction if it gets hit. ;-)
  • Network gameplay for 2 players using WebSockets would be a great addition (if I can ever find the time!) ;)

ABOUT

  • Following my AntiGravity Pool game, this is the second in a series of real-time fully path traced games for all devices with a browser, including mobile. The technology behind this simple game is a combination of my three.js path tracing project and the WebAudio API for sound effects. The goal of this project and others like it is enabling path traced real-time games for all players, regardless of their system specs and GPU power.

About

A real-time path traced game for desktop and mobile using WebGL. Click to Play: https://erichlof.github.io/PathTracedPong/Path_Traced_Pong.html

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages