Skip to content

eguneys/mavi-js2022

Repository files navigation

Demo

Mavi

Rhythm avoidance game, try to avoid cylinders. Launch bullets periodically that will home nearby cylinders. If there is no nearby cylinder they will orbit around you. 13 bullets orbiting around you will kill you. Launch 8 bullets at once if you hold LMB. Launch yellow attack if you release the LMB on the beat.

final

References

2D SDF https://iquilezles.org/articles/distfunctions2d/.

Inspiration https://twitter.com/foolsroom/status/1549258048358735873?s=20&t=VG23APwNOHNPjOcgc_Qwrg

Sound https://eguneys.github.io/vsound/

Tween Snippet https://gist.github.com/eguneys/8ca56803e01fadb28a2045931f83293d

Shader minifier rollup plugin https://github.com/SalvatorePreviti/spglsl/tree/master/project/packages/spglsl.

TODO

Growing path

Generative Art Randomness https://www.amygoodchild.com/blog/what-is-generative-art https://tylerxhobbs.com/essays/2018/tips-to-improve-your-generative-artwork

Color HSB

Pointer Lock Usage Help