My favorites | Sign in
Logo
                
Details: Show all Hide all

Last 7 days

  • Nov 06, 2009
    stats (FPS, MS and MEM. All in one.) Wiki page commented on by blog2t   -   The low stageQuality suggestion was only to make the lines aliased, but it doesn't matter :) then also the bitmap scroll value would need to be 10 or so to see the difference... Sometimes I find dots too close to each other and it's then hard to know what's going on. Moaning hehe, I can obviously make the changes for myself, you're right, keep it simple.
    The low stageQuality suggestion was only to make the lines aliased, but it doesn't matter :) then also the bitmap scroll value would need to be 10 or so to see the difference... Sometimes I find dots too close to each other and it's then hard to know what's going on. Moaning hehe, I can obviously make the changes for myself, you're right, keep it simple.
  • Nov 06, 2009
    stats (FPS, MS and MEM. All in one.) Wiki page commented on by ricardo.cabello   -   On my projects I usually have a DebugView class that incorporates the Stats and Logger (a class that I'll release soon). It's on DebugView I add the keyDown handler. Using graphics.lineTo (and changing the stageQuality) doesn't sound too good to me. People won't like to have their stageQuality changed, and lineTo would affect a bit the performance. Pixels are fast. The idea of the class is to keep it basic to just what it needs. Sometimes people think that a feature is essential, but it's usually a very subjective opinion. That feature could be implemented outside. Many people has always said that the Stats needs a method to be able to auto attach to the right side of the stage... Anyway, thanks for the suggestions, and happy to hear that you find it useful :)
    On my projects I usually have a DebugView class that incorporates the Stats and Logger (a class that I'll release soon). It's on DebugView I add the keyDown handler. Using graphics.lineTo (and changing the stageQuality) doesn't sound too good to me. People won't like to have their stageQuality changed, and lineTo would affect a bit the performance. Pixels are fast. The idea of the class is to keep it basic to just what it needs. Sometimes people think that a feature is essential, but it's usually a very subjective opinion. That feature could be implemented outside. Many people has always said that the Stats needs a method to be able to auto attach to the right side of the stage... Anyway, thanks for the suggestions, and happy to hear that you find it useful :)
  • Nov 06, 2009
    stats (FPS, MS and MEM. All in one.) Wiki page commented on by blog2t   -   Was also thinking to draw lines instead of dots, could be done with graphics.lineTo at LOW stage quality (no anti-aliasing). and btw. thanks for the great tool Ricardo, I've been using it for ages now!
    Was also thinking to draw lines instead of dots, could be done with graphics.lineTo at LOW stage quality (no anti-aliasing). and btw. thanks for the great tool Ricardo, I've been using it for ages now!
  • Nov 06, 2009
    stats (FPS, MS and MEM. All in one.) Wiki page commented on by blog2t   -   I've added my custom feature – the visibility toggler, switches the stats visibility on/off (always brings to the top when turned on) with the slash "/" key. Enjoy! Kicks in at init() {{{ if (stage) stage.addEventListener(KeyboardEvent.KEY_DOWN, onKeyDown, false, 0, true); }}} Gets disposed at destroy() {{{ if (stage) removeEventListener(KeyboardEvent.KEY_DOWN, keyDown); }}} {{{ private function onKeyDown(event:KeyboardEvent):void { if (event.charCode == 47) visible = !visible; //slash if (visible) parent.setChildIndex(this as DisplayObject, parent.numChildren - 1); } }}}
    I've added my custom feature – the visibility toggler, switches the stats visibility on/off (always brings to the top when turned on) with the slash "/" key. Enjoy! Kicks in at init() {{{ if (stage) stage.addEventListener(KeyboardEvent.KEY_DOWN, onKeyDown, false, 0, true); }}} Gets disposed at destroy() {{{ if (stage) removeEventListener(KeyboardEvent.KEY_DOWN, keyDown); }}} {{{ private function onKeyDown(event:KeyboardEvent):void { if (event.charCode == 47) visible = !visible; //slash if (visible) parent.setChildIndex(this as DisplayObject, parent.numChildren - 1); } }}}

Last 30 days

  • Nov 01, 2009
    stats (FPS, MS and MEM. All in one.) Wiki page commented on by ricardo.cabello   -   Check out the header of the .as: "Shameless ripoff of Alternativa's FPS look :P"
    Check out the header of the .as: "Shameless ripoff of Alternativa's FPS look :P"
  • Nov 01, 2009
    stats (FPS, MS and MEM. All in one.) Wiki page commented on by t...@alternativagame.com   -   And no words about Alternativa... What a shame! :)
    And no words about Alternativa... What a shame! :)
  • Oct 27, 2009
    stats (FPS, MS and MEM. All in one.) Wiki page edited by ricardo.cabello   -   Revision r192 Edited wiki page through web user interface.
    Revision r192 Edited wiki page through web user interface.
  • Oct 27, 2009
    stats (FPS, MS and MEM, all in one.) Wiki page edited by ricardo.cabello   -   Revision r191 Edited wiki page through web user interface.
    Revision r191 Edited wiki page through web user interface.
  • Oct 27, 2009
    r190 (@assets - New screenshot of the Stats :)) committed by ricardo.cabello   -   @assets - New screenshot of the Stats :)
    @assets - New screenshot of the Stats :)
  • Oct 27, 2009
    stats (FPS, MS and MEM, all in one.) Wiki page edited by ricardo.cabello   -   Revision r189 Edited wiki page through web user interface.
    Revision r189 Edited wiki page through web user interface.
  • Oct 27, 2009
    r188 (@libs/Stats - FPS to FS didn't felt right. Reverting.) committed by ricardo.cabello   -   @libs/Stats - FPS to FS didn't felt right. Reverting.
    @libs/Stats - FPS to FS didn't felt right. Reverting.
  • Oct 21, 2009
    videoplayer (Super simple flash video player.) Wiki page edited by ricardo.cabello   -   Revision r187 Edited wiki page through web user interface.
    Revision r187 Edited wiki page through web user interface.
  • Oct 21, 2009
    stats (FS, MS and MEM, all in one.) Wiki page edited by ricardo.cabello   -   Revision r186 Edited wiki page through web user interface.
    Revision r186 Edited wiki page through web user interface.
  • Oct 21, 2009
    stats (FS, MS and MEM, all in one.) Wiki page edited by ricardo.cabello   -   Revision r185 Edited wiki page through web user interface.
    Revision r185 Edited wiki page through web user interface.
  • Oct 21, 2009
    issue 10 (Stats needs a way to be destroyed) Status changed by ricardo.cabello   -  
    Status: Fixed
    Status: Fixed
  • Oct 21, 2009
    r184 (@libs- Stats v2.2) committed by ricardo.cabello   -   @libs- Stats v2.2
    @libs- Stats v2.2
  • Oct 18, 2009
    stats (FPS, MS and MEM, all in one.) Wiki page edited by info@mrdoob.com   -   Revision r183 Edited wiki page through web user interface.
    Revision r183 Edited wiki page through web user interface.
  • Oct 18, 2009
    videoplayer (Super simple flash video player.) Wiki page commented on by menostom   -   simple & good thumbs up !
    simple & good thumbs up !
  • Oct 16, 2009
    stats (FPS, MS and MEM, all in one.) Wiki page commented on by tajolly   -   Have just noticed that the memory usage of the .swf within the IDE is effected by other open .fla files, was initializing around 170mb with 2 windows open, closed 1, and now its running at 27mb On a lighter note, cheers for the stats, very helpful!
    Have just noticed that the memory usage of the .swf within the IDE is effected by other open .fla files, was initializing around 170mb with 2 windows open, closed 1, and now its running at 27mb On a lighter note, cheers for the stats, very helpful!
  • Oct 14, 2009
    stats (FPS, MS and MEM, all in one.) Wiki page commented on by manimalcruelty   -   love this, thanks :)
    love this, thanks :)

Earlier this year

  • Oct 06, 2009
    videoplayer (Super simple flash video player.) Wiki page commented on by daniel.fh.gomes   -   Hi, any news on the 1.1 version? Keep the good work MrDoob, your wour player is suberb :)
    Hi, any news on the 1.1 version? Keep the good work MrDoob, your wour player is suberb :)
  • Aug 30, 2009
    stats (FPS, MS and MEM, all in one.) Wiki page commented on by qubero   -   huihuicn.xu's {{{onRemovedFromStage()}}} seems to have disappeared in v2.1 (AS3). Stats needs to remove listeners when it's taken off stage, or else it crashes (because {{{stage}}} becomes {{{null}}}, and stage is used in fps calculations). add this line to the end of {{{init()}}}: {{{ addEventListener(Event.REMOVED_FROM_STAGE, deinit); }}} and add this function: {{{ private function deinit(e : Event) : void { removeEventListener(MouseEvent.CLICK, onClick); removeEventListener(Event.ENTER_FRAME, update); } }}} You could also copy stage into an instance variable during init {{{ private var _stage:Stage }}} and use that instead of the actual stage, if you're a belt and suspenders sorta guy.
    huihuicn.xu's {{{onRemovedFromStage()}}} seems to have disappeared in v2.1 (AS3). Stats needs to remove listeners when it's taken off stage, or else it crashes (because {{{stage}}} becomes {{{null}}}, and stage is used in fps calculations). add this line to the end of {{{init()}}}: {{{ addEventListener(Event.REMOVED_FROM_STAGE, deinit); }}} and add this function: {{{ private function deinit(e : Event) : void { removeEventListener(MouseEvent.CLICK, onClick); removeEventListener(Event.ENTER_FRAME, update); } }}} You could also copy stage into an instance variable during init {{{ private var _stage:Stage }}} and use that instead of the actual stage, if you're a belt and suspenders sorta guy.
  • Aug 30, 2009
    stats (FPS, MS and MEM, all in one.) Wiki page commented on by qubero   -   huihuicn.xu's onRemovedFromStage() seems to have disappeared in v2.1 (AS3). It needs to remove listeners when it's taken off stage, or else it crashes (because "stage" becomes null and stage is used in fps calculations). add this line to the end of init(): {{{ addEventListener(Event.REMOVED_FROM_STAGE, deinit); }}} and add this function: {{{ private function deinit(e : Event) : void { removeEventListener(MouseEvent?.CLICK, onClick); removeEventListener(Event.ENTER_FRAME, update); } }}} You could also copy stage into an instance variable during init {{{(private var stage:Stage)}}} and use that instead of the actual stage, if you're a belt and suspenders sorta guy.
    huihuicn.xu's onRemovedFromStage() seems to have disappeared in v2.1 (AS3). It needs to remove listeners when it's taken off stage, or else it crashes (because "stage" becomes null and stage is used in fps calculations). add this line to the end of init(): {{{ addEventListener(Event.REMOVED_FROM_STAGE, deinit); }}} and add this function: {{{ private function deinit(e : Event) : void { removeEventListener(MouseEvent?.CLICK, onClick); removeEventListener(Event.ENTER_FRAME, update); } }}} You could also copy stage into an instance variable during init {{{(private var stage:Stage)}}} and use that instead of the actual stage, if you're a belt and suspenders sorta guy.
  • Aug 30, 2009
    stats (FPS, MS and MEM, all in one.) Wiki page commented on by qubero   -   huihuicn.xu's onRemovedFromStage() seems to have disappeared in v2.1 (AS3). It needs to remove listeners when it's taken off stage, or else it crashes (because "stage" becomes null and stage is used in fps calculations). add this line to the end of init(): addEventListener(Event.REMOVED_FROM_STAGE, deinit); and add this function: private function deinit(e : Event) : void { removeEventListener(MouseEvent.CLICK, onClick); removeEventListener(Event.ENTER_FRAME, update); } You could also copy stage into an instance variable during init (private var _stage:Stage) and use that instead of the actual stage, if you're a belt and suspenders sorta guy.
    huihuicn.xu's onRemovedFromStage() seems to have disappeared in v2.1 (AS3). It needs to remove listeners when it's taken off stage, or else it crashes (because "stage" becomes null and stage is used in fps calculations). add this line to the end of init(): addEventListener(Event.REMOVED_FROM_STAGE, deinit); and add this function: private function deinit(e : Event) : void { removeEventListener(MouseEvent.CLICK, onClick); removeEventListener(Event.ENTER_FRAME, update); } You could also copy stage into an instance variable during init (private var _stage:Stage) and use that instead of the actual stage, if you're a belt and suspenders sorta guy.
  • Aug 24, 2009
    videoplayer (Super simple flash video player.) Wiki page commented on by javerikr   -   how do you edit the code when using it on your computer?
    how do you edit the code when using it on your computer?
  • Aug 24, 2009
    videoplayer (Super simple flash video player.) Wiki page commented on by javerikr   -   =*_How do you edit the code when using it on your computer?_*=
    =*_How do you edit the code when using it on your computer?_*=
  • Aug 19, 2009
    videoplayer (Super simple flash video player.) Wiki page commented on by clayton....@me.com   -   How do you have an image preview?
    How do you have an image preview?
  • Aug 18, 2009
    videoplayer (Super simple flash video player.) Wiki page commented on by barathibalamurugan   -   this is too nice
    this is too nice
  • Aug 13, 2009
    stats (FPS, MS and MEM, all in one.) Wiki page commented on by adrianparr   -   How do you use the Themes? Could you provide an example?
    How do you use the Themes? Could you provide an example?
  • Aug 12, 2009
    videoplayer (Super simple flash video player.) Wiki page commented on by superkev   -   Beautiful. Just what I needed!
    Beautiful. Just what I needed!
  • Aug 09, 2009
    pv3dpreviewer (Quickly preview how your 3D models will look on the web.) Wiki page commented on by makc.the.great   -   ha ha :) Error: damn at org.papervision3d.objects.parsers::DAE/buildAnimationChannels() at org.papervision3d.objects.parsers::DAE/onParseAnimationsComplete() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at org.ascollada.io::DaeReader/loadNextAnimation() at flash.utils::Timer/_timerDispatch() at flash.utils::Timer/tick() what a hell is this?
    ha ha :) Error: damn at org.papervision3d.objects.parsers::DAE/buildAnimationChannels() at org.papervision3d.objects.parsers::DAE/onParseAnimationsComplete() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at org.ascollada.io::DaeReader/loadNextAnimation() at flash.utils::Timer/_timerDispatch() at flash.utils::Timer/tick() what a hell is this?
  • Aug 09, 2009
    pv3dpreviewer (Quickly preview how your 3D models will look on the web.) Wiki page commented on by makc.the.great   -   I dont think visualpv3d works with collada, does it?
    I dont think visualpv3d works with collada, does it?
  • Aug 08, 2009
    videoplayer (Super simple flash video player.) Wiki page commented on by f.morfaux   -   Really awesome! Thanks a lot for sharing! Example : www.waron.net
    Really awesome! Thanks a lot for sharing! Example : www.waron.net
  • Jul 09, 2009
    stats (FPS, MS and MEM, all in one.) Wiki page commented on by matt.montag   -   `Thank you` Mister Doob.
    `Thank you` Mister Doob.
  • Jun 18, 2009
    stats (FPS, MS and MEM, all in one.) Wiki page edited by info@mrdoob.com
  • Jun 18, 2009
    stats (FPS, MS and MEM, all in one.) Wiki page edited by info@mrdoob.com
  • Jun 18, 2009
    r180 (@libs - Stats.js to 1.1 (firefox support)) committed by info@mrdoob.com   -   @libs - Stats.js to 1.1 (firefox support)
    @libs - Stats.js to 1.1 (firefox support)
  • Jun 16, 2009
    r179 (@assets - fdt sponsoring) committed by info@mrdoob.com   -   @assets - fdt sponsoring
    @assets - fdt sponsoring
  • Jun 10, 2009
    stats (FPS, MS and MEM, all in one.) Wiki page edited by info@mrdoob.com
  • Jun 10, 2009
    r177 (@Hi-ReS! Stats - Javascript version) committed by info@mrdoob.com   -   @Hi-ReS! Stats - Javascript version
    @Hi-ReS! Stats - Javascript version
  • May 11, 2009
    pv3dpreviewer (Quickly preview how your 3D models will look on the web.) Wiki page edited by info@mrdoob.com
  • May 10, 2009
    pv3dpreviewer (Quickly preview how your 3D models will look on the web.) Wiki page edited by info@mrdoob.com
  • May 10, 2009
    pv3dpreviewer (Quickly preview how your 3D models will look on the web.) Wiki page edited by info@mrdoob.com
  • Apr 24, 2009
    issue 10 (Stats needs a way to be destroyed) reported by joshtynjala   -   When Stats is removed from the stage, it should clean up after itself. This is especially important if it used in a SWF that may be unloaded because Stats could keep the SWF in memory! Add the following line to the end of the init function: addEventListener(Event.REMOVED_FROM_STAGE, destroy); Then add this function to clean up the event listeners and the bitmapdata: private function destroy(e : Event) : void { removeEventListener(MouseEvent.CLICK, onClick); removeEventListener(Event.ENTER_FRAME, update); removeEventListener(Event.REMOVED_FROM_STAGE, destroy); _graph.dispose(); }
    When Stats is removed from the stage, it should clean up after itself. This is especially important if it used in a SWF that may be unloaded because Stats could keep the SWF in memory! Add the following line to the end of the init function: addEventListener(Event.REMOVED_FROM_STAGE, destroy); Then add this function to clean up the event listeners and the bitmapdata: private function destroy(e : Event) : void { removeEventListener(MouseEvent.CLICK, onClick); removeEventListener(Event.ENTER_FRAME, update); removeEventListener(Event.REMOVED_FROM_STAGE, destroy); _graph.dispose(); }
  • Apr 18, 2009
    r173 (@all more refactoring) committed by info@mrdoob.com   -   @all more refactoring
    @all more refactoring
  • Apr 18, 2009
    r172 (@all more refactoring) committed by info@mrdoob.com   -   @all more refactoring
    @all more refactoring
  • Apr 18, 2009
    r171 (@all refactoring) committed by info@mrdoob.com   -   @all refactoring
    @all refactoring
  • Apr 18, 2009
    r170 (@lab added shader effects) committed by info@mrdoob.com   -   @lab added shader effects
    @lab added shader effects
  • Apr 15, 2009
    issue 9 (Cannot open Blender DAE files (papervision handles them thou...) commented on by georgicus.fruticis   -   On problem seems to be the definition of effects. I tested with phong shading but the previewer seems to display blinn shading only.
    On problem seems to be the definition of effects. I tested with phong shading but the previewer seems to display blinn shading only.
  • Mar 30, 2009
    videoplayer (Super simple flash video player.) Wiki page edited by info@mrdoob.com
 
Hosted by Google Code