Commit Graph

5463 Commits

Author SHA1 Message Date
Juan Linietsky 827a9aa829 Added a generic AStar implementation to Godot.
It's pretty fast, use it for games where Navigation does not cut it.
2016-09-13 18:17:18 -03:00
Juan Linietsky bfe67a3b87 Make Godot detect if the screen is too small (<1200 pixels wide), and use single dock column like in 1.0 if that's the case. 2016-09-13 11:20:09 -03:00
Juan Linietsky 8bcb6a290c -Added VeryLowDPI and MidDPI modes to Godot editor.
-Improved HiDPI detection (requires resolution of > 2000 in X axis)
2016-09-13 11:05:47 -03:00
Juan Linietsky 08b096ccc2 Distraction free icon was missing 2016-09-13 09:48:12 -03:00
Juan Linietsky f10d2bd394 -Add a distraction free mode button (so users know it's there)
-Made distaction free not hide the top bar, it's more loss than gain to hide it
-Fix fullscreen toggling and added a menu option for it so it's also visible in settings.
2016-09-13 09:48:12 -03:00
Juan Linietsky 527ae80dff Merge pull request #6473 from sanikoyes/Pr-ScrollContainer-expand-children-bug-fix
fix ScrollContainer cannot scroll when scroll bar is hidden
2016-09-13 09:29:54 -03:00
Rémi Verschelde af355364b2 Merge pull request #6472 from vnen/fix-gds-nontools
Fix build for templates
2016-09-13 07:41:31 +02:00
sanikoyes b548ef0009 fix ScrollContainer cannot scroll when scroll bar is hidden 2016-09-13 11:50:41 +08:00
George Marques 291e985882
Fix UWP gamepad 2016-09-12 23:41:34 -03:00
Juan Linietsky 043a7a1e06 Added favorites and recent history to create dialog 2016-09-12 23:23:36 -03:00
George Marques 5ef64aae58
Fix build for templates 2016-09-12 22:40:46 -03:00
Juan Linietsky f51b202566 Modified resource menu for node scripts so it always goes through the new script wizard. 2016-09-12 19:32:09 -03:00
Rémi Verschelde dc6eefdbf2 Merge pull request #6465 from Paulb23/script_highlight_color_update
Update current script color on change
2016-09-12 16:33:28 +02:00
Paulb23 a0136838b3 Update current script color on change 2016-09-12 15:19:30 +01:00
Juan Linietsky 37f1e86108 Do ctrl-click on any code identifier to go to definiton or help page. 2016-09-12 10:53:31 -03:00
Juan Linietsky 78f92dbcb9 Merge pull request #6281 from bojidar-bg/gdscript-ternary-operator
Ternary operator in GDScript (a if x else b)
2016-09-11 18:40:46 -03:00
Rémi Verschelde ba3c47c696 Merge pull request #6446 from vnen/fix-scons-python-env
Fix the Windows environment in SCons spawn function
2016-09-11 22:15:41 +02:00
Juan Linietsky c40ab446c9 Changed default assignment of shorcut for alt-left/right to history next/prev, which is more standard and useful.
Indent can be done with tab and shift-tab anyway.
If you don't like this, feel free to reassign them manually in the editor settings :P
2016-09-11 12:27:14 -03:00
Juan Linietsky b83350f4b2 Added constants from types in code completion, somehow this was never added.
Stuff like Label.ALIGN_CENTER or Mesh.PRIMITIVE_TRIANGLES did not complete..
2016-09-11 12:20:28 -03:00
Juan Linietsky b874cede20 Add argument options for the theme override functions in Control 2016-09-11 11:48:31 -03:00
Juan Linietsky 95eb7466df -Added a ColorFrame control, kind of like Texture but for color.
-Added dropping nodes to text editor for them to become a path
-Fixed issues with font not properly being set in code editor
2016-09-11 11:28:01 -03:00
Juan Linietsky 1bf684cea2 -Cleaned up find/replace bar for replace (made selection only default if selection exists), also made buttons look like buttons
-Fixed a bug related to theme propagation, may be able to solve #6443, #6302 and others. Please test.
2016-09-11 10:05:46 -03:00
George Marques e6ef92d217
Fix build error in WinRT export 2016-09-10 20:21:46 -03:00
Juan Linietsky 2a003d7b4e fix get_selected_nodes() 2016-09-10 17:50:20 -03:00
Juan Linietsky 65b93d177e -Added bindings to the resource filesystem for editor
-Added set_child_rect, which was unavailable for script
2016-09-10 17:34:27 -03:00
Juan Linietsky 2da3aaefc2 small clarification in doc 2016-09-10 16:46:00 -03:00
Juan Linietsky 491dde2eb4 Made it possible to properly draw over the 2D canvas for 2D objects. Arranged some functions to achieve this. 2016-09-10 16:44:03 -03:00
Juan Linietsky 67d3935eb1 -Added way to generate resource previews from script plugin.
-Updated documentation
2016-09-10 15:32:17 -03:00
Juan Linietsky 75f292f8eb Add API for inspecting objects from EditorPlugin, as requested in one of the comments of #6254 2016-09-10 14:44:28 -03:00
Juan Linietsky b16f41a10a Fix Viewport.get_mouse_pos() for specific situations, closes #1885 2016-09-10 13:29:07 -03:00
Juan Linietsky 31545e0409 Merge pull request #6447 from godotengine/revert-6438-android-hard-float-abi
Revert "Change Android float ABI to hard"
2016-09-10 12:31:11 -03:00
Juan Linietsky 1f7fde299d Revert "Change Android float ABI to hard" 2016-09-10 12:31:01 -03:00
Juan Linietsky 4d664c9289 Merge pull request #5692 from kubecz3k/remoteTransform
Remote transform node (for 3d)
2016-09-10 12:28:47 -03:00
Juan Linietsky 6abd1437cd Merge pull request #5879 from gau-veldt/subarray_patch
Subarray patch
2016-09-10 12:22:31 -03:00
Juan Linietsky fc61eb37ce Merge pull request #5920 from 29jm/fix-warnings
Fix some more warnings
2016-09-10 12:21:02 -03:00
Juan Linietsky 026c7913cf Merge pull request #5942 from pkowal1982/scroll
ScrollContainer expand children bug fix
2016-09-10 12:14:33 -03:00
Juan Linietsky e2aad59b59 Merge pull request #5962 from Alex-doc/Y_billboard
Implements Y billboard
2016-09-10 12:12:26 -03:00
George Marques aad87ab1b6
Fix the Windows environment in SCons spawn function
Properly fix #2974 as discussed there.
2016-09-10 12:08:04 -03:00
Juan Linietsky 3c30a3b1aa Merge pull request #6137 from supaiku-o/master
Add a Close All files option to script editor
2016-09-10 12:07:39 -03:00
Juan Linietsky c5b7385110 Merge pull request #6250 from Ovnuniarchos/CursorHotspot
Mouse hotspot is now honored.
2016-09-10 12:07:08 -03:00
Juan Linietsky e6dc95e499 Merge pull request #6292 from bojidar-bg/gdscript-add-enums
Adds enums to GDScript
2016-09-10 11:59:51 -03:00
Juan Linietsky 34d3a4b471 Merge pull request #6336 from sanikoyes/Pr-fix-inter-callback-delete
Tween: fix non-repeat interpolate_callback
2016-09-10 11:49: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 7a27d5d9e7 Merge pull request #6363 from vnen/winrt
Fix the support for WinRT/UWP
2016-09-10 11:47:42 -03:00
Juan Linietsky c2b70fdd69 Merge pull request #6413 from caryoscelus/script_load_singletons
enable autoload for command-line scripts
2016-09-10 11:47:12 -03:00
Juan Linietsky 0a9c08f87c Merge pull request #6438 from RandomShaper/android-hard-float-abi
Change Android float ABI to hard
2016-09-10 11:40:44 -03:00
Juan Linietsky 83b0d7848e Merge pull request #6439 from Paulb23/item_list_scroll_issue_6343
Added get_v_scroll to item list, issue 6343
2016-09-10 11:40:22 -03:00
George Marques 365f3d7a6e Merge pull request #6442 from RandomShaper/fix-action-release
Fix Input.action_release() marking action as pressed
2016-09-10 11:12:59 -03:00
Pedro J. Estébanez fae6dbc7f3 Fix Input.action_release() marking action as pressed 2016-09-10 04:57:21 +02:00
Rémi Verschelde 97cebe1358 Merge pull request #5892 from rollenrolm/pr-hardcoded-colors
Move hardcoded theme colors from editor_node into editor_themes
2016-09-09 20:21:52 +02:00