-
Notifications
You must be signed in to change notification settings - Fork 4
Update Notes
These are the update notes for the old major version releases. For notes on what's new in the latest version just read the commit notes: https://github.com/Torrunt/AS3-Developer-Console/commits/master
- Temporary Variables. When assigning a variable that doesn't exist a temporary variable will be made that can be used through the console (can be turned off)
- Added option for slide open/close animation (on by default)
- When creating new instances you can now pass arguments to the constructor (eg: new flash.geom.Point(5,2))
- Objects returned from functions can now have their members accessed (eg: getChildAt(0).x)
- Multidimensional Arrays are now supported (up to 3D, but can be modified easily to support more) (eg: level[0][0])
- Tracing fps now works properly in certain circumstances (wouldn't work if it couldn't access the console from the main class before)
- Input text box now removes ` characters when typed (useful if you use the ` key to toggle the console)
- Whenever a NaN value is attempted to be assigned to a Number variable a warning is printed to the console and the value is not assigned
- Echo, error and warn functions can now take multiple arguments (will separate them with spaces)
- If the last argument in echo() is a string with the # character in front it will use that as the colour of the echo (eg: echo(1, 2, 3, "#00FF00"))
- Variable "opened" is now private, use function "isOpen()" instead
- tracerOneCiclePerLine is now true by default
- Changed some default text colours
- Changed default font to "Courier New" (from "Arial")
-
Added FPS counter (Integrated with Tracer. Use trace:fps and stoptrace:fps)
-
Can now do stuff with classes*; such as using them as arguments or accessing static functions and variables
-
Modified Tracer so you can now trace/stop tracing multiple things at once by separating them with commas (eg: trace:char.x,char.y)
-
Modified Tracer so it doesn't let you trace the same thing more than once
-
Added toggle function ('console.toggle();')
-
Added support for Booleans and 'this' (Only just came across this problem)
-
Fixed a bug where if you clicked the console it changed its format
-
Fixed a bug where numbers came out as undefined if your consoles main was a frame
-
Defaulted the Input Text Box to grey (so you can now see what you have highlighted)
-
Class must be imported somewhere in your project for it to be usable.
- New Feature: Tracer
- Type 'trace:something' to trace something
- Type 'stoptrace:something' to stop tracing it (or 'stoptrace:all')
- Choose whether you want to see the tracer table or just trace to output (using the built in AS3 trace function) or both.
- Customise the way it traces (default: "name: value")
- Fixed a bug where you could only use one of each math symbol in a single calculation.
- Changed the way string literals are dealt with (when you use quotations) you can now use math symbols (+,-,/,%,*) in strings.
- Added the ability to perform calculations without having to assign them to a value (eg: char.health / 2 echos 'char.health/2 is 50' or 2 + 2 echos '2+2 is 4')
- Suggestions now continue to help you after semicolons(;) and other places it should have
- You can now assign arrays with variables (eg: ary = [char.health,char.gun]) (use to turn them into strings)
- You can now access array items (eg: ary[1] = "blah" or func(ary[4]) etc)
- Moved things around and added slightly more documentation
- Made it so functions aren't called twice (whoops).
- Added the ability to do multiple commands at once (separated by ‘;’s).
- Added the ability to do commands multiple times by putting x and a number after it. (e.g: spawnEnemy();x5)
- Fixed the 'returnFunctions' Boolean so it actually does something (whoops)
- Suggestions now continue to help you when writing parameters or parts of equations
- Made it so if you press the up key when going through the history or suggestions it moves the cursor back to the end of the text field.
- Cleaned up a bit (fixed some of the formatting, etc)
- Added slightly more Documentation
- Added error command (echos a message in red)
- Calling functions echos their return value (change 'returnFunctions' to turn it on or off)
- Fixed up some code (Feel kind of stupid when i saw what i did in the stringToFunc Function)