Simple Particle Monitor

  • nucular
    19th May 2013 Member 4 Permalink

    After a request from byzod, I've written a simple script that shows up all reachable properties of the element under the mouse pointer on the left. You can toggle compact (just tmp2, velocitys and dcolour) and verbose (all properties) mode.

     

    Now it works also on zoom mode!

     

    F2 toggles the monitor.

    F3 the verbose mode.

     

    DOWNLOAD: http://pastebin.com/xZzHLY1h

     

    Verbose Mode III Compact Mode III

     

    Version 3.1:

     - Rounding function fixed

     

    Version 3:

     - WORKS ON ZOOM MODE!

     - Shows temperature in °C and in K

     - Draws inside a darker box

     - You can set the precision of temp, vx and vy

     

    Version 2:

     - If the tmp, tmp2 or ctype number is an elements ID, it shows its name now.

     - Darker text

     - Added boxmein's synthactic sugar

     - Is shown + verbose by default now

     - Now shows the hex value of dcolor

     

    Version 1:

     - First release

    Edited 2 times by nucular. Last: 1st Oct 2013
  • lapuminator
    20th May 2013 Member 0 Permalink

    Very nice!

  • xetalim
    20th May 2013 Member 0 Permalink

    should be in game.

  • mniip
    20th May 2013 Developer 0 Permalink
    @nucular (View Post)
    again, you would like to learn some format strings
  • boxmein
    20th May 2013 Former Staff 0 Permalink
    @mniip (View Post)
    It's perfectly fine as an implementation, there's literally one variable replaced per line so one doesn't really need format strings.

    I edited it a bit, making the text darker and reduced redundancy.
  • mniip
    20th May 2013 Developer 0 Permalink
    @boxmein (View Post)
    but that a WHOLE LOT of concatenation
  • boxmein
    20th May 2013 Former Staff 0 Permalink
  • mniip
    20th May 2013 Developer 0 Permalink
    MUCH better
  • nucular
    29th Jul 2013 Member 0 Permalink

    UPDATED

     - WORKS ON ZOOM MODE!

     - Shows temperature in °C and in K

     - Draws inside a darker box

     - You can set the precision of temp, vx and vy

  • byzod
    29th Jul 2013 Member 0 Permalink

    Cool, nice improvement, thanks again