flappy-svg
flappy-svg copied to clipboard
Casting Shadow and improving Dusk to Dawn change with Three.js
This is a continuation from my previous issue #96 to why we could switch to Webgl. Three.js has a property to create a Spotlight with a particular intensity, angle and location and we can then enable shadow property on required objects.
Since we have a sun in the game and a shift from day to night , the shadow casting and lighting effects can be easily manipulated with three.js.
Can you add more hints and links on how to do this?
I'll create a separate html , js and the required headers where I will try to include the lighting effect,collision and image rendering and make a pull request.
Hey, Sorry for the delay but I noticed the features implemented in this game can be significantly improved with webgl libraries. Here's a game I made using three.js in 4 days that will show how simple and intuitive making 3-D / 2-D games can be. http://web.iiit.ac.in/~vikas.thamizharasan/vikasgamecarom.html
@vikasTmz can you work on this!