aboutsummaryrefslogtreecommitdiff
path: root/modules/gdscript (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Reworked how autoloads are load to make sure identifiers always exist, ↵Juan Linietsky2016-01-131-0/+1
| | | | please check if this resolves bug #3156
* -Make Akien happy, fixes #3068Juan Linietsky2016-01-101-1/+1
| | | | (seems I wrote all the code, then forgot to use the enum...)
* Added missing onready token nameIgnacio Etcheverry2016-01-071-0/+1
|
* Fixed bug with default arguments in gdscript, closes #2024Juan Linietsky2016-01-032-1/+3
|
* Added var2bytes and bytes2var to convet any variable to bytes and back. ↵Juan Linietsky2016-01-023-1/+69
| | | | Closes #2075
* -Ability to roll-back script-exported properties to their default value on ↵Juan Linietsky2016-01-022-0/+24
| | | | the script, closes #2128
* PI is now a built-in constant, fixes #2134Juan Linietsky2016-01-023-1/+11
|
* -properly handle newline in \ (line continuation) in gdscript, fixes #2112Juan Linietsky2016-01-022-17/+12
| | | | -also fix a small crash in export detection with scripts that include themselves
* Update copyright to 2016 in headersGeorge Marques2016-01-0115-15/+15
|
* small fixes to color8Juan Linietsky2015-12-312-2/+2
|
* -Added Color8(r8,g8,b8,a8) function as well as .r8,.g8,.b8,.a8 members to ↵Juan Linietsky2015-12-312-0/+36
| | | | Color, to deal with colors in the 0-255 range. Closes #2345
* force thread model to single-safe when running editor, fixes #2387Juan Linietsky2015-12-311-0/+1
|
* -Changed var2str and str2var in GDScript to use VariantWriter and VariantParserJuan Linietsky2015-12-311-2/+19
| | | | -It is now finally possible to parse back a variant from text!
* added missing null checkZher Huei Lee2015-12-301-1/+1
| | | | for p_func inside _parse_function
* added missing onready allocation for subclassesZher Huei Lee2015-12-301-0/+2
| | | | Fixes #3158
* -add breakpoint statement to ease with debugging, closes #3165reduz2015-12-297-1/+34
|
* -fixed bug with some indent blocks not properly checked, fixes #2570reduz2015-12-291-4/+16
| | | | -added ability to do one-line blocks, such as: if something: print("hello") , to be more python-like
* -renamed function get_relative_transform() to ↵reduz2015-12-281-6/+2
| | | | | | get_relative_transform_to_parent(), makes more sense -fixed newly introduced bug in onready keyword, fixes #3155
* - added 'onready' keyword to gdscript. Defers initialization of member ↵reduz2015-12-287-8/+78
| | | | variables until _ready() is run.
* -Added proper code completion for singletonsreduz2015-12-281-0/+64
|
* Ability to set autoloads as singleton global variablesreduz2015-12-282-0/+7
|
* Merge pull request #3051 from eska014/add-export-hintsRémi Verschelde2015-12-141-8/+106
|\ | | | | Add GDScript export hints for named bit flags, exponential ranges and global filesystem
| * Add GDScript export hint for named bit flagseska2015-12-141-2/+40
| | | | | | | | Syntax: `export( int, FLAGS, "A Flag", "Another Flag" ) var flags`
| * Add GDScript export hints for global filesystem and exponential rangeseska2015-12-111-6/+66
| | | | | | | | | | | | - File in global filesystem: `String, FILE, GLOBAL, "*.png"`, tool scripts only - Directory in global filesystem: `String, DIR, GLOBAL`, tool scripts only - Exponential range: `float, EXP, 50, 150, 2`
* | replaced :var by :Variant in documentation, fixes #2897Juan Linietsky2015-12-142-3/+3
| |
* | Merge pull request #2877 from eska014/remove-builtin-aliasesJuan Linietsky2015-12-081-6/+0
|\ \ | |/ |/| Remove unexpected GDScript aliases for built-in types
| * Remove unexpected GDScript built-in type aliaseseska2015-11-231-6/+0
| |
* | -Display on animation editor which keys are invalid and which tracks are ↵Juan Linietsky2015-12-052-0/+22
| | | | | | | | | | | | unresolved -Added a tool to clean up unresolved tracks and unused keys
* | Merge pull request #2938 from koalefant/masterRémi Verschelde2015-11-302-8/+8
|\ \ | | | | | | Break into GDScript debugger when new() fails
| * | Break into GDScript debugger when new() failsadmix2015-11-292-8/+8
| | |
* | | GDScript: fixed highlighting of the next line when colon is missingkoalefant2015-11-291-2/+4
|/ /
* / Add script auto-completion for function parametersFranklin Sobrinho2015-11-261-0/+9
|/
* Merge pull request #2707 from akien-mga/masterJuan Linietsky2015-11-181-2/+0
|\ | | | | Cosmetic fixes to SCons buildsystem
| * Cosmetic fixes to SCons buildsystemRémi Verschelde2015-11-011-2/+0
| | | | | | | | | | | | - Removed trailing spaces - Made sure all indentation is done using tabs (fixes #39) - Potentially fixed an identation issue for openssl check
* | Merge pull request #2632 from firefly2442/duplicate-inherited-varsJuan Linietsky2015-11-181-1/+0
|\ \ | | | | | | remove child variable that is duplicated from parent class
| * | remove child variable that is duplicated from parent classfirefly24422015-10-181-1/+0
| |/
* / Allow extending from Object in GDScripteska2015-11-121-1/+7
|/
* Merge pull request #2497 from vnen/fix-2490Juan Linietsky2015-10-171-0/+9
|\ | | | | Make dict2inst set internal members of instance
| * Make dict2inst set internal members of instanceGeorge Marques2015-09-201-0/+9
| | | | | | | | Fix #2490
* | Add GDScript export hint for real numbers with easing `export(float, EASE)`eska2015-10-161-0/+10
| |
* | Add multiline string GDScript export hint `export(String, MULTILINE)`eska2015-10-161-0/+11
| |
* | Revert "add flag and multiline hits in GDScript"eska2015-10-161-16/+9
|/ | | | This reverts commit 7843ec6633625455e689e711aa62e9d8337689fa.
* Fixes editor freezecrr00042015-09-021-1/+5
|
* detect node and variable assignments in _ready, _init, etc for further code ↵Juan Linietsky2015-08-303-11/+127
| | | | completion
* Ability to edit all kinds of arrays from the property editor.Juan Linietsky2015-08-251-3/+3
| | | | Yes, I'm trying to convince you to test the alpha release by adding all these now :)
* Merge branch 'master' of https://github.com/okamstudio/godotJuan Linietsky2015-08-232-9/+28
|\
| * Merge pull request #2282 from Ovnuniarchos/masterJuan Linietsky2015-08-081-0/+11
| |\ | | | | | | Bitmask editor and some CanvasItem documentation.
| | * Added FLAGS to int hint to make an int a bitmask on the editor.Ovnuniarchos2015-07-201-0/+11
| | |
| * | Merge pull request #2323 from dbsGen/patch-2Juan Linietsky2015-08-081-9/+16
| |\ \ | | | | | | | | add flag and multiline hints in GDScript
| | * | add flag and multiline hits in GDScriptGen2015-08-011-9/+16
| | |/ | | | | | | | | | `export (flag) var test` for PROPERTY_HINT_ALL_FLAGS `export (multiline) var test` for PROPERTY_HINT_MULTILINE_TEXT