A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [F8] FPS Throttle, Lightmapping

  1. #1
    Qwaizang:syntax_entity_ Q__Hybrid's Avatar
    Join Date
    Aug 2005
    Posts
    270

    [F8] FPS Throttle, Lightmapping

    Hey people,

    I want to know if any of you have developed or experimented with throttling your fps using setInterval() or some other function. Basically what I want to do is control how slowly my frames render so that they're gauranteed to draw no slower than a specified minimum speed.

    More importantly, where can I find a decent and in-depth tutorial on using BitmapData? What I'm hoping to do is use dynamic lightmapping on 2D sprites and backgrounds, but it would be alot easier to plan if I knew what the API is capable of. I think there's some support for an actual "lighting" filter, but I was planning on using grayscale overlays.

    Thanks,
    +Q__
    Qwai•zang \kwî-'zan\ n [origin unknown] 1 : abstract designer, esp. of complex real-time experiments, c. 21st century

  2. #2
    Student
    Join Date
    Apr 2001
    Location
    -
    Posts
    4,756
    how about a seperate light- layer (as movieClip) and setting it´s blending mode to softLight ? Within that movieCLip put light colors (or script them,...) that will affect the one beneath

  3. #3
    Senior Member lapo73's Avatar
    Join Date
    Jun 2003
    Location
    italy
    Posts
    395
    Here's a very good, in-depth tutorial --> http://www.adobe.com/devnet/flash/ar...image_api.html

    Lapo
    www.gotoandplay.it
    Flash game developers community
    www.smartfoxserver.com
    Multiplayer Flash Server

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