Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 1.45 KB

README.md

File metadata and controls

28 lines (21 loc) · 1.45 KB

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.