| I use the Print command for debugging/testing, for example by printing the speed of a car as I accelerate in my game.|
However in both Flash and HTML5, the output is quickly printed below the edge of the view, as new output is added below old output.
This made me wonder about two things:
1) It would be helpful if the output of Print was optionally printed at the top, so you would see old output disappear at the bottom of the view, though I suppose there could be technical reasons why this is not done;
2) It would be nice to have some kind of Clear command that erases all Print output, so you could have fixed output of a set of variables by doing Clear and Print every frame, without creating the scrolling list. Again there may be reasons why this does not exist (or does it?) but otherwise it would be nice.
In fact point 1 is not really necessary if 2 was possible.
Does anyone have tips on how a "Clear" command could be added, for example for HTML5?