Gen
7843ec6633
add flag and multiline hits in GDScript
...
`export (flag) var test` for PROPERTY_HINT_ALL_FLAGS
`export (multiline) var test` for PROPERTY_HINT_MULTILINE_TEXT
2015-08-01 14:02:10 +08: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
2b64f73b04
more code completion improvements
...
-calltip dissapears with more types of keypresses or when pressing ')'
-properly looks into autoloaded scripts or nodes with another script for
script functions/variables/etc.
2015-06-27 15:52:39 -03:00
Juan Linietsky
a67486a39e
improved get_node(), connect(), etc code completion.
...
-properly completes text arguments
-includes the "/root" autoloads
2015-06-26 01:14:49 -03:00
Juan Linietsky
48f1d02da4
added ability to define signals in script
...
closes #2175
2015-06-24 13:29:45 -03:00
Franklin Sobrinho
faf8b410b1
Fix for issue related to GridMap editor
...
* closes #2102
2015-06-23 12:07:17 -03:00
Juan Linietsky
68443a649d
Merge pull request #2088 from KillerJaguar/setter-fix
...
Fixed variables being set before calling the setter method
2015-06-22 23:55:55 -03:00
Franklin Sobrinho
0159cecd69
Small fixes for Grid/Tile map editor palette
2015-06-22 11:10:13 -03:00
Franklin Sobrinho
d68a33b473
Grid/Tile map editor new item palette
2015-06-22 10:05:03 -03:00
Juan Linietsky
e9bbb97acc
Multiple scene editing *POTENTIALLY UNSTABLE*
...
-ability to edit multiple scenes at the same time
-resource internal IDs are now persistent, this makes multiple scene
editing possible but maaaaay result in file corruption bugs (tested and
could not find anything but possibility exists because core code
changed, report immediately if you find this).
-properly save settings, layout, etc when edited
-script editing is independent from scene editing now
-show a yellow box when a script belongs to the scene
2015-06-22 00:04:15 -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
65d48d6d39
-Added prints() function, fixes #1132 , #1859
...
-Tabs work inside built-in log window, fixes #1867
2015-05-09 18:09:58 -03:00
Juan Linietsky
f54ad9e086
made parser accept EOF after "pass", fixes #1488
2015-04-26 20:28:41 -03:00
Juan Linietsky
59154cccf9
-Changed Godot exit to be clean.
...
-Added more debug information on memory cleanliness on exit (if run with -v)
-Fixed several memory leaks, fixes #1731 , fixes #755
2015-04-20 19:38:02 -03:00
Juan Linietsky
701335e845
-Throw error if setter and getter reference their member variable with self. , fixes #1685
2015-04-18 17:55:04 -03:00
Juan Linietsky
170a9349d2
Merge branch 'master' of https://github.com/okamstudio/godot
2015-04-18 16:18:59 -03:00
Juan Linietsky
4661a6e126
-try to avoid errors when path using ".." is present in script include, fixes #1703
2015-04-18 16:17:33 -03:00
Juan Linietsky
e388d551b7
Merge pull request #1667 from TheHX/fix_multiline_strings
...
Now the script editor highlight all lines of a multiline string
2015-04-18 14:45:15 -03:00
Juan Linietsky
fdaa2920eb
Updated copyright year in all headers
2015-04-18 14:38:54 -03:00
Juan Linietsky
be46be7801
-renamed function to get object from instance id
...
-added function to get list of tiles used
2015-04-18 14:00:15 -03:00
Franklin Sobrinho
562bc22dd4
Now the script editor highlight all lines of a multiline string
2015-04-09 18:24:38 -03:00
Juan Linietsky
963845eea9
Merge branch 'master' of https://github.com/okamstudio/godot
2015-04-07 21:21:06 -03:00
Juan Linietsky
22997294fa
-Concatenating arrays keeps the shared property if any of the arrays is shared. Fixes #1646
2015-04-07 21:18:46 -03:00
Juan Linietsky
8619cb64ba
Merge pull request #1567 from sanikoyes/Pr-GDScript-seed-get-inst
...
Pr-GDScript-seed-get-inst
2015-04-07 20:19:07 -03:00
Juan Linietsky
b1bf4fcef2
Merge pull request #1591 from MostafaHassan/pr_FixCrashInVisualShader
...
(Fix crash) in visual shader for curve remap node
2015-04-07 20:14:10 -03:00
yg2f
fcbf473d0d
fix printraw to make it actually print raw
2015-04-06 13:57:31 +02:00
mostafahassan
73ff3ac218
(Fix) script will not be able to extend itself
2015-03-31 21:34:50 +02:00
sanikoyes
97f34a1dd6
Add seed/get_inst function for GDScript
...
seed -> Math::seed
get_inst -> ObjectDB::get_instance
2015-03-25 11:01:12 +08: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
da7698073f
Merge pull request #1407 from NateWardawg/documentation
...
Updated the internal documention for the GDScript class.
2015-03-22 15:02:00 -03:00
Juan Linietsky
2c2894ceb6
Merge branch 'master' of https://github.com/okamstudio/godot
...
Conflicts:
modules/gdscript/gd_tokenizer.cpp
scene/resources/shader_graph.h
2015-03-03 14:41:36 -03:00
Juan Linietsky
4d2198110b
merges from okam repo
2015-03-03 14:39:13 -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
Nathan Warden
bfad392387
Updated the variable in the lerp function to be weight instead of percent.
2015-02-20 16:28:48 -05:00
Juan Linietsky
daeac73c54
restored @ for nodepaths/stringnames
2015-02-19 18:12:45 -03:00
Bil Bas (Spooner)
748311ec42
Added info about operator after bespoke error message.
2015-02-19 16:59:37 +00:00
Bil Bas (Spooner)
db2381de7a
Correctly halt on error in sprintf parsing ( fixes #1393 )
2015-02-19 15:45:49 +00:00
Juan Linietsky
2185c018f6
begin new serialization framework
...
also got rid of STL dependency on triangulator
2015-02-15 01:21:26 -03:00
Hinsbart
cbade4daf6
fix typo in script template
2015-02-10 19:39:52 +01:00
Wim Vander Schelden
3d3b1937dd
Cleaned up formating in gd_compiler.h
2015-01-14 16:37:24 +01:00
Juan Linietsky
7c7ab30c4e
fixes
2015-01-13 11:22:56 -03:00
Juan Linietsky
bd03562076
-Resolved bug that made yield() not work in some situations, fixes #884
2015-01-06 00:39:35 -03:00
Juan Linietsky
1ff0d5c4e5
-attempt to be friendlier on non english keyboards
2015-01-04 22:39:21 -03:00
Juan Linietsky
dc7ac86b79
-Completely removed EmptyControl (but added fallback), closes #1017
2015-01-03 17:24:16 -03:00
Juan Linietsky
ddf7457894
Merge branch 'master' of https://github.com/okamstudio/godot
2015-01-03 16:53:39 -03:00
Juan Linietsky
fbdd925d9b
-Work in progress visual shader editor *DOES NOT WORK YET*
2015-01-03 16:52:37 -03:00