A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Neat shadows for 2D games

  1. #1
    Senior Member
    Join Date
    Apr 2002
    Posts
    226

    Neat shadows for 2D games

    Rewrote an shadow effect from an old game of mine in AS3 and was playing around with "soft" shadows. Click or drag to change light position.

    http://www.onemotion.com/flash/shadows/

    Each point in the "virtual polygon" that generates the shadows can have a custom height. Works very well on buildings from above.

    Hopefully I can release it as some free package in near future.

    kind regards
    Tomas
    Last edited by erixon; 10-08-2008 at 07:24 PM.

  2. #2
    President PhobiK's Avatar
    Join Date
    Jan 2005
    Location
    Guatemala
    Posts
    918
    That looks pretty cool, very well done
    This is MC. His _parents sent him to stop() by the super market to buy some _root beer if he wanted to gotoAndPlay() with his friends at the park later.

    This is my Blog!... The gaming Process
    Please check out my site: Giddel Creations

  3. #3
    Senior Member Sietjp's Avatar
    Join Date
    Jan 2005
    Location
    Paris, France
    Posts
    711
    Very nice effect. The snowstorm is very nice too.
    Btw, I also like the tiny components (sliders, checkboxes) you are using, are they available somewhere ?

  4. #4
    Senior Member
    Join Date
    Apr 2002
    Posts
    226
    Not really, the checkbox and slider are two classes I've written myself, the slider is fixed length at the moment, but have custom scales and triggers. I have seen other people doing downloadable "tiny components" somewhere.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center