Juan Linietsky
a503f8aadc
Groundbreaking!! Godot resources can now be flagged to be local to the scene being edited!
...
This means that each time this scene is instanced, the resource will be unique!
As such, thanks to this, the following features were implemented:
-ButtonGroup is no longer a control, it's now a resource local to the scene
-ViewportTexture can be created from the editor and set to any object, making ViewportSprite and other kind of nodes obsolete!
2017-01-10 01:07:03 -03:00
Juan Linietsky
1f8451001d
-Translation text will change automatically for in-game buttons, labels, poups when translation is changed.
...
-Added a NOTIFICATION_TRANSLATION_CHANGED for controls that need custom code
-Sorry, editor will not update automatically because it uses a different translatio method.
2017-01-09 16:43:44 -03:00
Juan Linietsky
e9bb65db81
-All types have editable script now in properties
...
-Changed clip to a property in Control which can be set by the user
2017-01-09 15:50:59 -03:00
Juan Linietsky
94ee7798ce
-removed stop mouse and ignore mouse from control, which were confusing, replaced by mouse filter
2017-01-08 19:54:19 -03:00
Juan Linietsky
547a57777b
renamed joystick to joypad everywhere around source code!
2017-01-08 17:06:33 -03:00
Juan Linietsky
920947f297
renamed _input_event for GUI events to _gui_input, so it's more differentiated than generalized _input
2017-01-08 16:28:12 -03:00
Juan Linietsky
2ab83e1abb
Memory pool vectors (DVector) have been enormously simplified in code, and renamed to PoolVector
2017-01-07 18:26:38 -03:00
Juan Linietsky
0f7af4ea51
-Changed most project settings in the engine, so they have major and minor categories.
...
-Changed SectionedPropertyEditor to support this
-Renamed Globals singleton to GlobalConfig, makes more sense.
-Changed the logic behind persisten global settings, instead of the persist checkbox, a revert button is now available
2017-01-05 09:16:00 -03:00
Juan Linietsky
b085c40edf
-Conversion of most properties to a simpler syntax, easier to use by script
...
-Modified help to display properties
GDScript can still not make use of them, though.
2017-01-04 01:16:14 -03:00
Juan Linietsky
3fae505128
Begin modifying properties to make them more friendly to script and doc.
2017-01-03 00:38:16 -03:00
Juan Linietsky
118eed485e
ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant.
...
All usages of "type" to refer to classes were renamed to "class"
ClassDB has been exposed to GDScript.
OBJ_TYPE() macro is now GDCLASS()
2017-01-02 23:03:46 -03:00
Rémi Verschelde
3f3f5a5359
Merge remote-tracking branch 'origin/gles3' into gles3-on-master
...
Various merge conflicts have been fixed manually and some mistakes
might have been made - time will tell :)
2017-01-02 21:52:26 +01:00
Rémi Verschelde
0b2771bd65
Merge pull request #7271 from Faless/ipv6_cleanup
...
Fixes and improvementes for IPv6 implementation.
2017-01-02 15:51:45 +01:00
Juan Linietsky
c2a217c350
WIP particle system
...
Ability to enable and change MSAA settings
Ability to change VCT quality
Ability to enable/disable HDR rendering
2017-01-01 22:16:52 -03:00
Rémi Verschelde
c7bc44d5ad
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!
2017-01-01 22:03:33 +01:00
Juan Linietsky
3adb42e217
Fixed many more bugs reported by Valgrind
2016-12-23 08:47:16 -03:00
Juan Linietsky
f9603d8236
can bake for omni and spotlight
...
store normal when baking
2016-12-22 10:00:15 -03:00
Fabio Alessandrelli
d194e1c48e
Expose HTTP classes' set_ip_type to scripting
2016-12-13 11:09:37 +01:00
Fabio Alessandrelli
a77a0118f6
Allow setting ip_type for TCP/UDP and HTTP classes
2016-12-09 18:24:59 +01:00
Rémi Verschelde
440c37fbd9
Revert "Do not emit NOTIFICATION_READY more than once (breaking change)"
...
This reverts commit b6eab006db
.
This commit broke compatibility in an undesired way, as outlined in
https://github.com/godotengine/godot/issues/3290#issuecomment-263388003
2016-11-30 00:08:01 +01:00
Rémi Verschelde
35e754db59
Merge pull request #7138 from bojidar-bg/ready_guard
...
Do not enter _ready twice
2016-11-28 15:19:50 +01:00
Juan Linietsky
943d27f46d
Instancing is working! (hooray)
2016-11-22 01:26:56 -03:00
Juan Linietsky
c39d2b3f42
working reflection probes!!
2016-11-19 13:23:37 -03:00
Ariel Manzur
b3616089fa
adding get_stored_values method
...
changed order name
(cherry picked from commit dbca4ee3fe
)
2016-11-18 21:55:21 +01:00
Bojidar Marinov
b6eab006db
Do not emit NOTIFICATION_READY more than once (breaking change)
...
Currently, there is no notification with the old behaviour, so probably breaks all cpp code relying on that notification as well.
2016-11-17 18:46:45 +02:00
Bojidar Marinov
184173a9b9
Guard agains duplicate calling of _ready when instanced in _enter_tree
...
Fixes #6005
2016-11-17 18:10:53 +02:00
khairul169
6a7aebdf6c
Uncomment debug properties of HTTP Request
2016-11-14 09:27:10 +07:00
Juan Linietsky
cacf9ebb7f
all light types and shadows are working, pending a lot of clean-up
2016-11-09 23:55:06 -03:00
Ignacio Etcheverry
d76f622c92
Merge pull request #7022 from neikeq/pr-issue-7013
...
Keep groups when replacing nodes
2016-11-06 02:00:21 +01:00
Ignacio Etcheverry
305956bf70
Keep groups when replacing nodes
2016-11-03 00:19:32 +01:00
Rémi Verschelde
d4c17700aa
style: Fix PEP8 whitespace issues in Python files
...
Done with `autopep8 --select=E2,W2`, fixes:
- E201 - Remove extraneous whitespace.
- E202 - Remove extraneous whitespace.
- E203 - Remove extraneous whitespace.
- E211 - Remove extraneous whitespace.
- E221 - Fix extraneous whitespace around keywords.
- E222 - Fix extraneous whitespace around keywords.
- E223 - Fix extraneous whitespace around keywords.
- E224 - Remove extraneous whitespace around operator.
- E225 - Fix missing whitespace around operator.
- E226 - Fix missing whitespace around operator.
- E227 - Fix missing whitespace around operator.
- E228 - Fix missing whitespace around operator.
- E231 - Add missing whitespace.
- E231 - Fix various deprecated code (via lib2to3).
- E241 - Fix extraneous whitespace around keywords.
- E242 - Remove extraneous whitespace around operator.
- E251 - Remove whitespace around parameter '=' sign.
- E261 - Fix spacing after comment hash.
- E262 - Fix spacing after comment hash.
- E265 - Format block comments.
- E271 - Fix extraneous whitespace around keywords.
- E272 - Fix extraneous whitespace around keywords.
- E273 - Fix extraneous whitespace around keywords.
- E274 - Fix extraneous whitespace around keywords.
- W291 - Remove trailing whitespace.
- W293 - Remove trailing whitespace.
2016-11-01 00:35:16 +01:00
Juan Linietsky
53d8f2b1ec
PBR more or less working, still working on bringing gizmos back
2016-10-27 11:50:26 -03:00
Rémi Verschelde
fc8ccd5b8c
SCsub: Add python shebang as a hint for syntax highlighting
...
Also switch existing shebangs to "better" /usr/bin/env python.
2016-10-17 20:10:46 +02:00
Pedro J. Estébanez
84c525ba1b
Revise serial naming behavior
2016-10-10 13:11:32 +02:00
Rémi Verschelde
e0e21984d8
Merge pull request #6747 from RandomShaper/unify-serial-naming
...
Make node serial naming per-project and universal
2016-10-09 14:55:53 +02:00
Pedro J. Estébanez
9b2e2935d0
Refactor node naming APIs used by editor
...
Make 'name_num_separator' a project setting
Make all node operations separator-aware
2016-10-08 21:49:16 +02:00
Mateusz Adamczyk
8671836b76
Added simple check to viewport, if matrix32 is invesile ( https://github.com/godotengine/godot/issues/6296 ).
2016-10-08 12:33:10 +02:00
Juan Linietsky
cf5778e51a
-Added ViewportContainer, this is the only way to make viewports show up in GUI now
...
-2D editing now seems to work
-Added some functions and refactoring to Viewport
2016-10-05 01:26:35 -03:00
Juan Linietsky
22d83bc9f6
Begining of GLES3 renderer:
...
-Most 2D drawing is implemented
-Missing shaders
-Missing all 3D
-Editor needs to be set on update always to be used, otherwise it does not refresh
-Large parts of editor not working
2016-10-03 21:35:16 +02:00
anneomcl
aa5ade834c
Fix for #6158 . Converting Vector2 to Size2 for scaling functions.
2016-09-19 23:31:45 -07:00
Juan Linietsky
a4156f1f0a
Added a few functions to make 2D split screen easier.
2016-09-14 15:55:14 -03:00
Fabio Alessandrelli
97cf3eba56
Restore viewport set_world_2d functionality
2016-09-14 15:18:00 +02:00
Juan Linietsky
b16f41a10a
Fix Viewport.get_mouse_pos() for specific situations, closes #1885
2016-09-10 13:29:07 -03:00
Juan Linietsky
8835882d23
Merge pull request #6355 from Kazuo256/http-request-methods
...
Add http method and request data parameters to HTTPRequest::request
2016-09-10 11:48:07 -03:00
Juan Linietsky
828e1c092f
Renamed the bind_native functions to bind_vararg, should make it show the documentation more clearly and also make it easier to bind to C#
2016-09-07 19:39:57 -03:00
Kazuo256
c53e5c555a
Add http method and request data parameters
...
For HTTPRequest::request
2016-09-05 13:38:00 -03:00
Juan Linietsky
cbbcf72703
-High Level protocol optimization (should be smaller)
...
-Ability to set compression to ENet packets (check API)
-Fixed small bug in StringDB that lead to duplicate empty strings
-Added a new class, StreamPeerBuffer, useful to create your own tightly packed data
2016-08-22 01:19:24 -03:00
Juan Linietsky
2b7aa98d2d
Changed API to use sequenced packets for UDP (drop old)
2016-08-19 22:54:53 -03:00
Juan Linietsky
2fa693273c
Many fixes to networking, demo should work now
2016-08-19 18:44:09 -03:00
Juan Linietsky
1add52b55e
Brand new networked multiplayer
2016-08-19 16:48:41 -03:00
Juan Linietsky
3db36684b1
Added high level networked multiplayer to Godot.
...
It's complete, but absolutely and completely untested, undocumented and NSFW.
Have fun :-)
2016-08-14 18:49:50 -03:00
Juan Linietsky
3d7c10e9ce
Added an easy API to yield to a specific time by doing:
...
yield( get_tree().create_timer(5.0), "timeout" )
2016-08-06 21:39:50 -03:00
Andreas Haas
4755fe5576
UI navigation via JOYSTICK_MOTION.
...
Previously, you could assign joystick axis events to "ui_*" actions but they had no effect.
See https://godotengine.org/qa/6232
2016-07-30 12:39:16 +02:00
Juan Linietsky
ab93fd1af9
Add thread support to HTTPRequest, changed assetlib to use it.
2016-07-24 16:09:43 -03:00
Juan Linietsky
62cdfeaf58
Merge pull request #5881 from neikeq/pr-fix-propagation
...
Viewport: Replace obsolete "windows" group calls
2016-07-24 12:37:59 -03:00
Juan Linietsky
6e3c7fe5fe
Merge pull request #5803 from jarfil/issue/origin5695-pr
...
Fix tooltips blinking
2016-07-24 12:37:17 -03:00
Ignacio Etcheverry
67640c84eb
Viewport: Replace obsolete "windows" group calls
...
- Fixes neighbour focusing event propagation not being stopped
2016-07-24 14:11:30 +02:00
Juan Linietsky
9de33e18f1
WIP bugfix for existing connections
2016-07-19 20:20:28 -03:00
Jaroslaw Filiochowski
be560a750c
Hide tooltip if new mouse position's tooltip is empty
2016-07-19 07:07:53 +02:00
Jaroslaw Filiochowski
1e7b9c509f
Don't start a new tooltip timer for the same tooltip
2016-07-19 07:07:40 +02:00
Juan Linietsky
f93e333e85
Properly transform sub-viewport input, closes #3580
2016-07-18 17:16:49 -03:00
Franklin Sobrinho
6b154c9706
Fix own world option of Viewport.
...
It happens when the viewport has WorldEnviroment child with a valid Enviroment
2016-07-08 14:27:19 -03:00
Rémi Verschelde
454b210242
Remove unused variables (third pass) + dead code
...
Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
2016-07-07 23:16:21 +02:00
Juan Linietsky
17e4ead62a
Fix several bugs related to node duplication and signals, closes #5405
2016-07-06 21:43:31 -03:00
Juan Linietsky
a78226c32c
Only allow built-in scripts to be edited when the scene they belong to is loaded, closes #5403
2016-07-06 20:36:37 -03:00
Juan Linietsky
ec94dd7eee
Fixed the order of input, reverts #4384 , closes #5361
2016-07-01 11:42:09 -03:00
Juan Linietsky
8cbb154466
Color picker was getting too much focus, made it get not as much focus.
...
This abuse of focus was the original culprit of #5354
2016-07-01 10:55:35 -03:00
Juan Linietsky
3185ce64c5
Invalidate key focus if not visible, fixes #5354
2016-07-01 10:42:33 -03:00
Juan Linietsky
db9335f4c1
Improved drag&drop to work as n-piggeon wants to use, closes #5342
2016-07-01 10:34:38 -03:00
Juan Linietsky
e5fc62cc4b
remove unnecesary warning, closes #5169
2016-06-29 18:27:12 -03:00
Juan Linietsky
5065e46381
Change method of storing folding, solves problems with inheritance, closes #3395
2016-06-28 13:10:15 -03:00
Juan Linietsky
ba5bc57816
Figured out a way to fix event propagation for shortcuts and some other cases so they properly stop shortcuts if a modal window is open, closes #4848
2016-06-27 20:14:59 -03:00
Juan Linietsky
88e28af5e3
Add a small workaround to avoid modal tabs to be closed if they are spawned in the same frame, closes #3837
2016-06-27 11:22:13 -03:00
Juan Linietsky
47d6cc08bb
Properly deliver localized coordinates when passing gui events through parents, closes #4215
2016-06-27 10:00:36 -03:00
Juan Linietsky
9e0b6057e7
Make button aware of it being dragged and reset state, closes #4178
2016-06-23 18:20:39 -03:00
Saracen
912afb129f
Make return type explicit.
2016-06-21 12:41:28 +01:00
Juan Linietsky
d76ee09774
property remove parent owned nodes when using replace, fixes #4128
2016-06-20 22:57:07 -03:00
Juan Linietsky
ad8d4a6b26
Fixed the order of events called by _input, closes #4384
2016-06-20 19:09:14 -03:00
Juan Linietsky
85d8000449
Allow mouse wheel to go throuhgh so scroll containers work properly, fixes #4431
2016-06-20 17:16:52 -03:00
Juan Linietsky
0e07f49a03
Make dure to only call drop_data if can_drop_data returned true, closes #4616
2016-06-20 10:29:52 -03:00
Rémi Verschelde
b7dbf9207a
Drop empty files that are not used anywhere
...
Part of #5272
2016-06-18 19:46:30 +02:00
Rémi Verschelde
a7fc04626a
Add missing license headers in our source files ( #5255 )
...
Also removes a couple wrong Godot headers from third-party source files.
2016-06-18 14:46:12 +02:00
Juan Linietsky
37ed2bae69
Better error text when trying to add/remove/move child nodes in a busy parent, closes #4838
2016-06-13 22:46:18 -03:00
Juan Linietsky
d03f1131d7
Merge pull request #5058 from neikeq/pr-issue-1461
...
Preserve signal connections when replacing target node
2016-06-13 15:50:31 -03:00
Juan Linietsky
b75fb6674b
do not allow picking in captured mode, closes #5134
2016-06-11 17:44:52 -03:00
Juan Linietsky
c5a2aff6db
fixes wrong bool return, closes #5037
2016-06-09 22:30:34 -03:00
Ignacio Etcheverry
dc2ea39f24
Preserve signal connections when replacing the target node
2016-06-09 16:47:34 +02:00
Juan Linietsky
47944098c2
Merge pull request #5007 from bojidar-bg/asset-store
...
Update asset library editor plugin, adding a bit new functionality and fixes
2016-06-08 07:58:06 -03:00
Juan Linietsky
d61b91cbe0
-Heavily improved editor startup and exit performance
2016-06-07 22:10:09 -03:00
Bojidar Marinov
e4a24812cd
Update asset library editor plugin - new functionality and fixes
2016-06-07 21:49:19 +03:00
Rémi Verschelde
0729c852b4
Fix indentation issues in last commits
...
Ping @reduz.
2016-06-07 07:39:40 +02:00
Juan Linietsky
06bc4e20d3
Merge pull request #4101 from SaracenOne/listener
...
Added New Listener Spatial Node.
2016-06-06 22:13:23 -03:00
Juan Linietsky
aec5506414
properly pass events to parent controls, closes #4701
2016-06-06 22:03:29 -03:00
Juan Linietsky
007efb6a20
-customizable shortcuts in editor
...
-editor settings now save to .tres instead of .xml
-buttons can now hold a shortcut
2016-06-04 21:31:47 -03:00
Juan Linietsky
3ae61f2292
Created a NodeDock with signals and groups
2016-06-04 13:19:08 -03:00
J08nY
dd4eaa1005
Exposed a RESULT_DOWNLOAD_FILE_CANT_OPEN constant to docs and GDScript.
2016-06-03 18:03:12 +02:00
Juan Linietsky
8be2fabbe5
Changed import workflow
...
-Rearrange favorites in fs dock with drag and drop
-Removed import -> sub-scene, moved to scenetree contextual menu
-Removed import -> re-import , moved and integrated to FS dock
-Added ability in FS dock to re-import more than one resource
simultaneously
-Added ability to drag from native filesystem explorer to Godot, only
works on Windows though
-Removed scene reimport merge options, never worked well. Eventually
merging materials should be re-added
-Added ability to set custom root node type when importing scenes
-Re-Import is now automatic, can be configured back to manual in editor
settings
-Added resource previews in property list for many resource types
2016-05-27 14:19:11 -03:00
Juan Linietsky
b2a4908e9c
Real-Time Remote Inspector support
2016-05-22 19:29:06 -03:00
Hubert Jarosz
33403d91f7
remove trailing whitespace
2016-05-21 15:29:25 +02:00
Rémi Verschelde
94c34ff890
i18n: Proofreading of all strings
...
Done to ensure that no important identifiers are translatable,
to fix compound strings using the new vformat() function, and
some general English proofreading here and there.
2016-05-21 00:21:57 +02:00