flappy-svg icon indicating copy to clipboard operation
flappy-svg copied to clipboard

Casting Shadow and improving Dusk to Dawn change with Three.js

Open vikasTmz opened this issue 9 years ago • 4 comments

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.

vikasTmz avatar Feb 17 '16 06:02 vikasTmz

Can you add more hints and links on how to do this?

niccokunzmann avatar Feb 17 '16 08:02 niccokunzmann

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.

vikasTmz avatar Feb 17 '16 11:02 vikasTmz

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 avatar Mar 31 '16 18:03 vikasTmz

@vikasTmz can you work on this!

abishekvashok avatar Dec 25 '16 09:12 abishekvashok