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
marynate
61fcca7111
Add Stop pause mode implementation
2014-12-28 00:29:12 +08:00