Skip to content

dubwub/r3f-breakout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"Breakout" made in React-three-fiber

Live demo in code sandbox: https://codesandbox.io/s/r3f-breakout-practice-with-particles-and-screenshake-t7y6kr?file=/src/App.tsx

image

Notes:
(1) Paddle is controlled by left and right
(2) The ball has some basic collision physics with bricks (although it's sloppily done, I'm basically assuming it's rectangle on rectangle instead of ball on rectangle for simplicity)
(3) There's a basic screenshake on block break which I'm happy with
(4) There's some basic particle effects on block break, although I'm not sure if this is the best way to implement it

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published