-
Notifications
You must be signed in to change notification settings - Fork 4
Update Notes
-
Added FPS counter (Intergrated 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 mutliple things at once by seperating 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 useable.
- 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 ouput (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 dealth 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)