Karroffel
e151b66127
fixed a bug where saving a GDScript file crashed the editor
...
I changed the loop in #8502 , turns out it fixed the error I was facing but introduced a new one. This fixes both
(cherry picked from commit 67886bab1e
)
2017-05-26 18:53:28 +02:00
Rémi Verschelde
e9b045d9e5
Add "Godot Engine contributors" copyright line
2017-04-08 00:45:24 +02:00
Rémi Verschelde
f8db8a3faa
Bring that Whole New World to the Old Continent too
...
Applies the clang-format style to the 2.1 branch as done for master in
5dbf1809c6
.
2017-03-19 00:36:26 +01:00
Rémi Verschelde
dbf0137576
Style: Fix statements ending with ';;'
...
(cherry picked from commit f44ee891be
)
2017-03-18 21:14:33 +01:00
Rémi Verschelde
d8223ffa75
Welcome in 2017, dear changelog reader!
...
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer
with state-of-the-art rendering techniques tuned to work as low as middle
end handheld devices - without compromising with the possibilities given
for higher end desktop games of course. Great times ahead for the Godot
community and the gamers that will play our games!
(cherry picked from commit c7bc44d5ad
)
2017-01-12 19:15:30 +01:00
Juan Linietsky
33cc480350
Fixed reloading of tool scripts within editor, they should work much better now, closes #3194
2016-07-20 22:37:48 -03:00
Juan Linietsky
cf6450043d
Fix bug in inner class reference, closes #1411
2016-06-28 11:15:55 -03:00
Juan Linietsky
565bb3afcc
Fix extends issue, closes #4026
2016-06-28 10:44:38 -03:00
Andreas Haas
c871cf6801
Add "bool" to GDScript reserverd keywords
...
Noticed that "bool" wasn't highlighted when used like `export(bool) var is_xy = false`
2016-06-24 17:47:19 +02:00
Juan Linietsky
45443a1651
Changed reload logic to auto-hard-reload scripts on save. It's simpler to use and also fixes #4756
2016-06-13 10:58:32 -03:00
Juan Linietsky
f8f30662d9
-Ability to reload (and soft reload) tool scripts. Please test!
2016-06-08 20:00:52 -03:00
punto-
86253cbdfe
Revert "Fix implicit GDScript Reference inheritance"
2016-06-06 23:40:50 -03:00
eska
3acbf8e71f
Fix implicit GDScript Reference inheritance
2016-06-05 19:17:33 +02:00
Juan Linietsky
9e745b920f
Ability to reload scripts on running game
2016-06-01 20:31:42 -03:00
Juan Linietsky
df139f57b3
Some cleanup to GDScript
...
separated GDFunction (VM) from GDScript in two different files
2016-05-31 22:33:43 -03:00
Ignacio Armenteros
7caabd9398
Fix #4748 : proper call to base class function
2016-05-23 11:49:51 +02:00
Juan Linietsky
a75f896338
First version of Profiler
...
It is now possible to profile GDScript as well as some parts of Godot
internals.
2016-05-21 21:18:16 -03:00
Hubert Jarosz
4a4f247914
remove trailing whitespace
2016-03-09 00:00:52 +01:00
Juan Linietsky
6fc1c3a4d1
Completed the support for plugins! It is not possible to add plugins.
...
Not all APIs are provided yet, please request whathever you are missing.
Some example plugins are provided in demos/plugins. Just copy them to a folder in your project named addons/ and then enable them from the project settings.
Have fun!
2016-02-27 23:12:27 -03:00
Rémi Verschelde
6ea0863ed3
Merge pull request #3587 from akien-mga/pr-reserved-keyords
...
Fix missing comma
2016-02-04 18:57:25 +01:00
Rémi Verschelde
ade7329625
Fix missing comma
2016-02-04 18:56:41 +01:00
George Marques
0f41a18344
Merge pull request #3582 from akien-mga/pr-reserved-keyords
...
Add preload and PI to GDScript reserved keywords
2016-02-04 14:52:44 -02:00
Rémi Verschelde
99d9188da8
Add preload and PI to GDScript reserved keywords
...
I've noticed that gd_tokenizer also has keywords for `switch' and `do', but they seem not to be supported actually (only used in commented code for the shader language), so I don't add them.
2016-02-04 10:26:10 +01:00
Rémi Verschelde
8151110002
Reorder reserved words by categories
...
They were previously kind of sorted with a mix between alphabetical and logical ordering, which made it hard to spot duplicates or missing words.
2016-02-04 10:17:23 +01:00
Juan Linietsky
817fd1ab71
-Added method flags to global constants for script
...
-Added a new flag METHOD_FLAG_FROM_SCRIPT to get_method_list() flag property. Closes #3489
2016-01-31 15:40:51 -03:00
Juan Linietsky
de7fe2fced
-remove unnecesary error report, fixes #3361
2016-01-23 15:36:03 -03:00
Juan Linietsky
1a9c3a134d
-Make Akien happy, fixes #3068
...
(seems I wrote all the code, then forgot to use the enum...)
2016-01-10 23:13:02 -03:00
Juan Linietsky
cb39db0b02
Fixed bug with default arguments in gdscript, closes #2024
2016-01-03 21:11:11 -03:00
Juan Linietsky
1597082c85
-Ability to roll-back script-exported properties to their default value on the script, closes #2128
2016-01-02 20:17:31 -03:00
Juan Linietsky
0e0a7c9494
-properly handle newline in \ (line continuation) in gdscript, fixes #2112
...
-also fix a small crash in export detection with scripts that include themselves
2016-01-02 13:56:58 -03:00
George Marques
5be9ff7b67
Update copyright to 2016 in headers
2016-01-01 11:50:53 -02:00
reduz
7d2d1442f8
-add breakpoint statement to ease with debugging, closes #3165
2015-12-29 12:11:21 -03:00
reduz
30c12297dc
- added 'onready' keyword to gdscript. Defers initialization of member variables until _ready() is run.
2015-12-28 19:32:51 -03:00
reduz
e0d21d2158
Ability to set autoloads as singleton global variables
2015-12-28 15:59:20 -03:00
Juan Linietsky
f2183a5e09
replaced :var by :Variant in documentation, fixes #2897
2015-12-14 08:28:01 -03:00
Juan Linietsky
200b7bb87c
-Display on animation editor which keys are invalid and which tracks are unresolved
...
-Added a tool to clean up unresolved tracks and unused keys
2015-12-05 14:18:22 -03:00
admix
b2508ca879
Break into GDScript debugger when new() fails
2015-11-29 17:02:52 +01:00
Juan Linietsky
07e9741425
**WARNING BEFORE PULLING**
...
This push changes the binary and XML formats and bumps the major version to 2.0. As such, files saved in this version WILL NO LONGER WORK IN PREVIOUS VERSIONS. This compatibility breakage with older versions was required in order to properly provide project refactoring tools.
If I were you, unless you are brave, I would wait a week or two before pulling, in case of bugs :)
Summary of Changes
-New Filesystem dock, with filesystem & tree view modes.
-New refactoring tools, to change or fix dependencies.
-Quick search dialog, to quickly search any file
2015-08-23 20:15:56 -03:00
Juan Linietsky
55b34e05b3
-some changes by okam
2015-06-30 11:28:43 -03:00
Juan Linietsky
95047562d7
Several performance improvements, mainly in loading and instancing scenes and resources.
...
A general speedup should be apparent, with even more peformance increase when compiling optimized.
WARNING: Tested and it seems to work, but if something breaks, please report.
2015-06-29 00:29:49 -03:00
Juan Linietsky
48f1d02da4
added ability to define signals in script
...
closes #2175
2015-06-24 13:29:45 -03:00
Jaguar
7c0051beac
Fixed variables being set before calling the setter method
2015-06-13 14:10:06 -04:00
Juan Linietsky
e323cc0505
-Rename unexisting by nonexistant, closes #1940
...
-Added function to retrieve list of actions fron InputMap
2015-05-18 10:20:54 -03:00
Juan Linietsky
e72717e373
properly save external resources, fixes #1924
...
added API to get scancode names to OS
2015-05-17 13:15:23 -03:00
Juan Linietsky
27cb75112e
-bit slower execution in debug, but proper error reporting for get index and operators, fixes #1911
2015-05-16 16:32:46 -03:00
Juan Linietsky
fdaa2920eb
Updated copyright year in all headers
2015-04-18 14:38:54 -03:00
mostafahassan
73ff3ac218
(Fix) script will not be able to extend itself
2015-03-31 21:34:50 +02:00
Juan Linietsky
0302ea5b82
Merge pull request #1396 from Spooner/fix_sprintf_errors
...
Fix sprintf errors
2015-03-22 15:03:32 -03:00
Juan Linietsky
a1f715a4da
support for 2D shadow casters
...
Added support for 2D shadow casters.
*DANGER* Shaders in CanvasItem CHANGED, if you are using shader in a
CanvasItem and pull this, you will lose them. Shaders now work through a
2D material system similar to 3D. If you don't want to lose the 2D
shader code, save the shader as a .shd, then create a material in
CanvasItem and re-assign the shader.
2015-03-02 00:54:43 -03:00
Bil Bas (Spooner)
748311ec42
Added info about operator after bespoke error message.
2015-02-19 16:59:37 +00:00