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
captainwasabi
4b80895082
Fix for tooltip blinking ( #4713 )
...
Moved where active tooltips are canceled to wait until the mouse actually moves off the control.
2016-05-20 13:56:42 +02:00
Juan Linietsky
c195c0df6b
-Added configuration warning system for nodes
...
-Added a new "add" and "instance" buttons for scene tree
-Added a vformat() function to ease translation work
2016-05-17 18:28:44 -03:00
Paulb23
aee156dc02
Node duplication positions under duplicated node, issue 964
2016-05-13 20:05:52 +01:00
Juan Linietsky
d7318f6965
-begun implementing drag & drop editor wide
...
-filesystem dock dnd support
-property list dnd support
-scene tree dnd support
2016-05-11 11:59:03 -03:00
Rémi Verschelde
4eab767a6f
Rotation APIs: Better exposure for degrees methods
...
Made public the various set/getters for rotations in degrees.
For consistency, renamed the exposed method names to remove the leading
underscore, and kept the old names with a deprecation warning.
Fixes #4511 .
2016-05-06 23:38:08 +02:00
Ignacio Etcheverry
1e752c0120
Fix wrong return and argument types in documentation
2016-05-04 15:35:09 +02:00
Ignacio Etcheverry
3029f5ee02
Keep editable instances data when replacing tree root node
2016-04-12 20:49:43 +02:00
Hearto Lazor
995890d5b2
Now the timer could be paused
...
pause with: set_active(true/false)
is paused with: is_active()
2016-03-31 18:23:16 -03:00
Saracen
3741bc70fe
Added listener spatial node.
2016-03-20 02:10:04 +00:00
Juan Linietsky
8b1dcbfe4d
-Made editor support SSL certs by default (embedded them)
...
-Made asset sharing support https
-Many fixes to HTTPRequest
-Added an asset installer dialog
-Visual cleanups to asset sharing tab
-Fixed some issues in ScrollContainer, hope it does not break things
-Asset sharing tab is not visible (hidden on purpose) for now.
2016-03-12 10:46:38 -03:00
Rémi Verschelde
6e86a05350
Merge pull request #4012 from sanikoyes/Pr-linke-fail-disable-3d
...
Fix link error when disable_3d=yes
2016-03-11 07:11:23 +01:00
sanikoyes
a638af886e
Fix link error when disable_3d=yes
2016-03-11 10:01:56 +08:00
Hubert Jarosz
4a4f247914
remove trailing whitespace
2016-03-09 00:00:52 +01:00
Juan Linietsky
5a9b18b665
-Work on addon editor plugin (disabled by default)
...
-New HTTPRequest node, to make HTTP requests simpler.
2016-03-04 11:10:48 -03:00
Juan Linietsky
08e0e64a19
fix transform localization event in mouse motion
2016-02-27 09:47:39 -03:00
Juan Linietsky
bdfac2806f
-Fix mouse coordinates not being affected by canvas transform
2016-02-03 09:31:55 -03:00
Juan Linietsky
6d63dda72b
Merge pull request #3534 from Biliogadafr/pickable2d
...
Physics2D: Allow to use 'intersect_point' with not 'Pickable' objects
2016-02-03 08:56:49 -03:00
Juan Linietsky
259bd73cae
-make stream player and time restore state properly if removed, fixes #1949
2016-02-02 23:27:10 -03:00
Biliogadafr
e8c5b41dd8
Physics2D: Allow to use 'intersect_point' with objects which is not 'pickable'
2016-02-01 04:30:16 +03:00
Juan Linietsky
53e237dfe4
-Fix crash opening and closing the scene, closes #3491
2016-01-31 15:10:33 -03:00
Juan Linietsky
094f0767d8
-Fix input bug on window ordering due to foretting to sort root items
2016-01-25 10:39:55 -03:00
Juan Linietsky
07e7909480
-Changed how popups work in Viewport to make them a lot less invasive to the scene tree
2016-01-25 10:30:03 -03:00
Juan Linietsky
b30839fb08
-make sure instance placeholder works with duplicate(), fixes #3378
2016-01-22 19:36:40 -03:00
Juan Linietsky
9d571d8eac
-Fix viewport converting the scren in grayness, fixes #3406
2016-01-22 18:54:43 -03:00
Rémi Verschelde
a6b7e8c24e
Merge pull request #3390 from Hinsbart/duplicate_fix
...
duplicate groups and signals
2016-01-20 07:25:34 +01:00
Juan Linietsky
891e31b139
-Some fixes to drag and drop and canvas offset for GUI that were introduced after rewrite
2016-01-19 20:28:20 -03:00
hondres
4c753f60b1
duplicate groups and signals
2016-01-20 00:08:04 +01:00
Rémi Verschelde
5d84589e42
Fix build with tools=no
...
Fixes #3384 .
2016-01-19 10:45:12 +01:00
Juan Linietsky
d1bb868a19
-fixed bug related to mouse cursor changes, fixes #3366
2016-01-18 19:49:54 -03:00
Juan Linietsky
72fcb8a35b
-Moved all the "root" input handling for GUI from individual Controls to Viewport.
...
-Should fix several reported bugs when controls don't have a common parent
This may have added new bugs, so please report if so!
2016-01-16 22:41:10 -03:00
Juan Linietsky
1aaf507ffb
change intersect_ray function to discriminate pickable objects, fixes #3203
2016-01-10 15:54:57 -03:00
Rémi Verschelde
e0b91c701c
Fix is_node_being_edited() when not building tools
...
Fixes #3213 .
Superseded #3242 .
2016-01-05 16:02:59 +01:00
Juan Linietsky
b988f016fd
forgot to bind NOTIFICATION_INSTANCED, closes #2261
2016-01-03 12:57:19 -03:00
Juan Linietsky
2db78e8f87
Properly clear/restore current camera when switching scenes. Fixes #2137
2016-01-02 17:18:45 -03:00
George Marques
5be9ff7b67
Update copyright to 2016 in headers
2016-01-01 11:50:53 -02:00
reduz
875bff2c4e
-fix loading of samples in mod, s3m and xm. Fixes #2553
2015-12-29 16:06:45 -03:00
reduz
2f19260fb7
-restrict gui root from being removed while performing input, fixes #2578
2015-12-29 10:01:29 -03:00
reduz
e0d21d2158
Ability to set autoloads as singleton global variables
2015-12-28 15:59:20 -03:00
Rémi Verschelde
d4993b74fc
Add missing argument names in GDScript bindings
...
All classes were reviewed apart from VisualServer for which no argument name is documented at all.
While doing this review, I found quite a few bugs that were fixed either in earlier commits or this one (mostly documentation bugs though, i.e. some arguments were listed at the wrong place).
2015-12-28 02:13:05 +01:00
Juan Linietsky
ecad3a285f
better unique name resolution, as suggested i #3017
2015-12-08 11:33:30 -03:00
Juan Linietsky
3c33b705d1
added option to add_child, to use the same deduplication convention as in the editor, closes #3017
2015-12-08 11:21:12 -03:00
Juan Linietsky
0c3386b2ed
Merge pull request #2707 from akien-mga/master
...
Cosmetic fixes to SCons buildsystem
2015-11-18 19:43:28 -03:00
Ariel Manzur
8adc4ef65b
windows crash and bind placeholder method
2015-11-14 11:14:17 -03:00
Juan Linietsky
8420c24f7f
-better integration of ndee's theme
2015-11-13 20:56:44 -03:00
Rémi Verschelde
399b1b0474
Cosmetic fixes to SCons buildsystem
...
- Removed trailing spaces
- Made sure all indentation is done using tabs (fixes #39 )
- Potentially fixed an identation issue for openssl check
2015-11-01 20:53:26 +01:00
Juan Linietsky
f11fdb611e
Merge pull request #2556 from volzhs/fix_miss_bind_findnode
...
fix miss bind for Node::find_node
2015-10-17 10:02:43 -03:00
reduz
078a474135
-fixes and more fixes to new scene system, seems stable now..
...
BUT DONT TRUST ME IT MAY STILL BREAK, USE WITH CARE!!
2015-10-16 19:11:23 -03:00
reduz
422929e87f
Large improvements on scene packing and management
...
-Ability to edit and keep changes of instanced scenes and sub-scenes
-Ability to inherit from other scenes
2015-10-10 09:09:09 -03:00
volzhs
1630f0ad35
fix miss bind for Node::find_node
2015-09-30 21:55:31 +09:00
Rémi Verschelde
4abc7f5740
Update documentation for TileSet and Timer
2015-09-25 20:45:00 +02:00
Juan Linietsky
205634791c
fixed stupid bug caused by accidentally removed line before commit
2015-09-20 17:29:36 -03:00
Juan Linietsky
83d9a692be
Ability to visually debug geometry visually:
...
-Visible 2D and 3D Shapes, Polygons, Tile collisions, etc.
-Visible Navmesh and Navpoly
-Visible collision contacts for 2D and 3D as a red point
-Customizable colors in project settings
2015-09-20 13:03:46 -03:00
Juan Linietsky
3f9e5afe68
begin work on debugging collisions....
2015-09-18 23:10:58 -03:00
Juan Linietsky
cbee679bd7
live debug fixes
...
removing node in live debugging fixed
2015-08-02 20:28:10 -03:00
Juan Linietsky
59961c9914
Live edit WORK IN PROGRESS
...
1) press the heart while the game is running
2) select a scene to live edit from the opened scenes
3) edit/add/remove nodes or resources, change their properties, etc.
4) watch changes reflected in running game, in all places this scene is
edited
5) It's not perfect obviously, but the aim of it is to try to reflect
your changes as best as possible in the running game.
2015-08-02 12:30:01 -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
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
Juan Linietsky
8228fea02f
missing changes
2015-06-14 02:13:47 -03:00
Juan Linietsky
8945670bc0
made changing pivot simpler in 2D nodes (just press v with mouse over position)
2015-06-12 13:53:18 -03:00
Juan Linietsky
f052153983
Added Node.find_node(mask) function
...
by popular request
2015-06-08 00:33:10 -03:00
Juan Linietsky
12bd89a39c
small description improvement
2015-05-17 17:19:12 -03:00
Juan Linietsky
b6b346e8ae
added a built-in scene changer API, closes #1928
2015-05-17 16:33:35 -03:00
Juan Linietsky
3936ed882c
-Added lookat/get_angle_to functions in 2D, and a demo, closes #1843
...
-Added get_viewport().get_mouse_pos() to replace Input.get_mouse_pos(), closes #1838
2015-05-12 08:17:09 -03:00
Juan Linietsky
18251997dd
Merge branch 'master' of https://github.com/okamstudio/godot
2015-05-10 15:46:34 -03:00
Juan Linietsky
9b692b174b
-convert to subscene keeps signal connections, fixes #1863
2015-05-10 15:45:33 -03:00
Hearto Lazor
bd1e54a8b7
- Implemented support for fixed process on timer. Useful for cooldowns without the influence from framerate
...
similar to animation player (idle/fixed mode), where idle mode = old timer, fixed mode = fixed process implementation:
Example of the behaviour with a stream of bullets with timers on different frame rates:
https://gfycat.com/HeartyImpressiveIndiancow
- A change for more uniform ticks on fixed/idle
without this fix:
http://i.imgur.com/0TMQ6CG.png
with this fix:
http://i.imgur.com/3zYx16c.png
2015-05-10 10:00:26 -04:00
Juan Linietsky
2d396fb710
-More strict argument type-checking, will make many bugs visible, fixes #1809
...
-added NOTIFICATION_INSTANCED
2015-05-04 18:30:57 -03:00
Juan Linietsky
bf53b7789a
-fix timer behavior described, closes #1455
2015-05-01 11:44:02 -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
fdaa2920eb
Updated copyright year in all headers
2015-04-18 14:38:54 -03:00
Juan Linietsky
e7ba4eca9f
-function remove_and_delete_child removed. Just use child.free() or child.queue_free() instead. Fixes #1603
2015-04-09 00:49:48 -03:00
Juan Linietsky
7b75658bb2
Merge pull request #1585 from UsernameIsAReservedWord/add_is_queued_for_deletion_in_objects
...
add : bool Object.is_queued_for_deletion()
2015-04-07 20:14:51 -03:00
TheoXD
68c2a959dd
Bullet shower demo crashed because of dynamic casting in the code for object picking. Making sure the object has an ID greater than 0 before typecasting solves it.
2015-04-03 14:42:05 +02:00
yg2f
3c67e22c3d
add : bool Object.is_queued_for_deletion()
...
`object.is_queued_for_deletion()` return true if the object was
`object.queue_free()` or `SceneTree.queue_delete(object)`.
2015-03-28 18:34:28 +01:00
Juan Linietsky
dac2017dee
fixes/cleans up
...
-input now correctly works when using viewport scaling
-added function to get areas/bodies in given point
-added function to get space state directly from world
2015-03-22 09:40:26 -03:00
Juan Linietsky
c6c72a3c37
input events on Area2D is now supported
...
also added a demo showing how this works
2015-03-22 01:46:18 -03:00
romulox_x
f4312a5076
added option to disable automatic clearing of viewport render buffer
2015-02-21 01:35:06 -08:00
Juan Linietsky
d2f86cc09b
fixes to mouse warp
...
-can warp now from viewport and control, in their respective coordinate
systems
-warp is now local to the window on Windows and OSX.
IF YOU RUN OSX, PLEASE TEST THIS! And make sure it works!, new code is
in OS_OSX::warp_mouse_pos. I don't have OSX so i can't test!
2015-02-14 19:22:06 -03:00