Juan Linietsky
b524b40fdc
-fixed many memory initialization issues
...
-fixed deadlock on previews thread
-fixed compilation errors on unix
2015-06-06 22:06:58 -03:00
Juan Linietsky
14c4c1b568
Merge branch 'master' of https://github.com/okamstudio/godot
2015-06-06 11:09:41 -03:00
Juan Linietsky
954256268a
Merge branch 'master' of https://github.com/okamstudio/godot
...
Conflicts:
demos/2d/motion/engine.cfg
2015-06-06 11:09:00 -03:00
Juan Linietsky
6974823288
Merge remote-tracking branch 'origin/master'
...
Conflicts:
tools/editor/io_plugins/editor_texture_import_plugin.cpp
2015-06-06 10:12:09 -03:00
Juan Linietsky
9acab32daa
new file dialog!
...
-ItemList control for easier lists/thumbnails
-New file dialog, with support for thumbnails, favorites, recent places,
etc
-Moved .fscache out of the project, no more bugs due to committed/pulled
.fscache!
-Dir dialog now sorts directories
2015-06-06 09:44:38 -03:00
Juan Linietsky
0e1510214a
small fixes
2015-06-01 23:35:23 -03:00
Juan Linietsky
ab99671bb8
-fixes to navigation, so edge-merging is more flexible on conflict
...
-add tab support to richtextlabel
-some click fixes to audio stream resampled
-ability to import largetextures (dialog)
2015-06-01 19:42:34 -03:00
Juan Linietsky
d5348eebdc
work in progress, resource previews
2015-05-31 02:00:18 -03:00
krzycho
14c63565ec
Fixed ui_accept problem. It's possible now to make a custom ui_accept action event and pull it.
2015-05-29 23:37:23 +02:00
Biliogadafr
dc1940d3e8
Inline get_color_at_offset(). Delete unnecessary check.
2015-05-28 00:11:54 +03:00
Biliogadafr
3f975965e9
Add get_color_at_offset(). Ensure correct points order.
2015-05-26 22:17:54 +03:00
Juan Linietsky
9df77d2765
ability to run 2D physics in a thread
...
also, 2D physics is now thread safe too.
see physics_2d/thread_model
2015-05-26 01:06:05 -03:00
Juan Linietsky
f36e7dcb40
improved animation editor
...
-same-value link keys
-new layout
-forward, backwards playback
-integrated curve/property editor
-auto increment sprite frame after insert
-copy & paste animation resoucres
2015-05-25 01:47:02 -03:00
Biliogadafr
df9d48d9b5
Replace color phases with color ramp for Particles2D.
2015-05-24 21:18:52 +03:00
Juan Linietsky
1e50677594
fixes on sample importing
2015-05-19 23:37:04 -03:00
Juan Linietsky
fec6aaffd8
more fixes
...
fix ctrl-a for some cases, mentioned in #1704
fix toggling visibility not updating, fixes #1923
2015-05-19 23:07:11 -03:00
Juan Linietsky
9f686563d0
fixed latin separation in label, broke it? for cjk
...
changed non-separatable character detection so latin works properly.
This is probably incorrect. If you speak chinese, korean or japanese,
please help me fix it. closes #1935
2015-05-19 22:26:25 -03:00
Juan Linietsky
221443c5a2
more fixes
...
-only refuse to load an older file if version major is different, fixes
#1944
-fix drive letter default value, fixes #1939
2015-05-19 21:36:35 -03:00
Juan Linietsky
f220183e40
fix a crash situation when starting a thread and other small fixes
2015-05-18 12:45:53 -03: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
Fabio Alessandrelli
590afbcac4
Calculate gravity based on distance from body to gravity point (2D)
2015-05-18 01:32:26 +00:00
Fabio Alessandrelli
473c7222f5
Calculate gravity based on distance from body to gravity point
2015-05-18 01:30:43 +00: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
tommy3
282c392466
set initial flag 'show_hidden_files' for file dialogs in project manager initialization
2015-05-14 23:50:15 +02: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
421b4fec3e
-compatibility option for physicsbody layers, fixes #1842
2015-05-10 15:58:08 -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
d1e4d6e997
-fix clip+center alignment on Button, fixes #1865
2015-05-09 18:29:55 -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
c99813dc38
Merge pull request #1826 from eehrich/master
...
Reviewed compiler warnings: fixed some bugs and formal stuff. (2nd try)
2015-05-07 20:02:54 -03:00
Juan Linietsky
9de37817bc
-removed dynamic_cast on CheckBox, fixes #1830
2015-05-06 09:45:25 -03:00
ehriche
ac9263c680
clearified parenthesis of if construct
2015-05-06 01:39:42 +02:00
ehriche
897a1aade5
optional formal changes
2015-05-06 01:22:31 +02:00
ehriche
fe13c728fd
added notes to resolve undefined behavior of calculations in tweening
...
interpolators in future.
2015-05-06 00:51:49 +02:00
Juan Linietsky
36932a0065
avoid crash on some cases of richtextlabel fill, but odd behavior persists, #1803
2015-05-05 00:37:06 -03:00
Juan Linietsky
9b03ea903e
Merge pull request #1814 from sanikoyes/Pr-Tween-fix
...
Pr-Tween-fix
2015-05-05 00:19:22 -03:00
Juan Linietsky
74b0e0c296
fix crash in editor when using alt+arrows to indent, thanks adolson and romulox_x
2015-05-05 00:17:22 -03:00
sanikoyes
6d0914dfc5
Spine: add feature to insert/remove interpolates while updating
2015-05-05 11:12:17 +08:00
Juan Linietsky
dce8a6c251
Merge pull request #1804 from ricpelo/ricpelo-patch-2
...
Wrong use of | instead of ||
2015-05-04 21:49:12 -03:00
Juan Linietsky
a6e6c5b878
Merge branch 'master' of https://github.com/okamstudio/godot
2015-05-04 18:32:18 -03: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
2a02d3f96f
fix font import path on windows, closes #1675
2015-05-04 15:06:41 -03:00
Ricardo Pérez
f3542ff838
Wrong use of | instead of ||
2015-05-04 19:54:17 +02:00
Juan Linietsky
f4caddbc23
-corrected frac() and hyperbolic sin,cos,tan when running on PC (GLSL120), fixes #1775
2015-05-04 10:53:54 -03:00
Juan Linietsky
a76709d240
-vec3 uniforms should now work, fixes #1773
2015-05-04 10:17:24 -03:00
Juan Linietsky
4b6225586c
Merge branch 'master' of https://github.com/okamstudio/godot
2015-05-04 00:53:52 -03:00
Juan Linietsky
d6d29f6d79
Merge pull request #1755 from dbsGen/master
...
Fixed some bugs in Label.
2015-05-03 22:55:58 -03:00
Juan Linietsky
f64fcc42ef
Merge pull request #1772 from Biliogadafr/Tripleclick
...
Tripleclick now doesn't select line if clicks was done on different lines. Fix #1727
2015-05-03 22:54:16 -03:00
Juan Linietsky
f850f0d9ec
Merge pull request #1784 from NateWardawg/sa_fixes
...
Fixed some items caught in cppcheck
2015-05-03 22:54:02 -03:00
Juan Linietsky
e7aa37fe75
improved kinematic motion, improved demos for kinematic motion
2015-05-03 22:37:10 -03:00
Juan Linietsky
af06843982
-new collision layer & mask system for 2D, for more flexible collision masking
2015-05-03 16:47:21 -03:00
Juan Linietsky
5f2aac4bbe
same fixes to 3D navmesh..
2015-05-02 17:39:29 -03:00
Juan Linietsky
2296b0508e
2D pathfinder fixes, should now always find the best path.
2015-05-02 16:35:43 -03:00
Nathan Warden
6212946927
Fixed some items caught in cppcheck
2015-05-02 12:17:59 -05:00
Juan Linietsky
1e422941c8
-Fixed android export options (screen sizes, orientation should work)
...
-added functions to get mouse position in CanvasItem
2015-05-01 21:13:20 -03:00
Biliogadafr
8e7973d660
Triple click doesn't select line if click was done on different lines. Fix #1727
2015-05-02 00:03:49 +03:00
Juan Linietsky
c45ffc2ca9
-fixed old condition in TextureFrame that caused bugs in materials, closes #1742
2015-05-01 12:16:51 -03:00
Juan Linietsky
bf53b7789a
-fix timer behavior described, closes #1455
2015-05-01 11:44:02 -03:00
Juan Linietsky
c08597aa64
-fix a bug in extra cull margin, closes #1760
2015-05-01 11:26:23 -03:00
Juan Linietsky
4804462ee0
-Fixes from source code analyzizer, closes #1768
2015-05-01 10:44:08 -03:00
Gen
0bc5b7a146
Optimize the code.
2015-05-01 18:47:34 +08:00
Juan Linietsky
21939ce08b
-some cleanups
...
-added tesselation function to curve and curve2d
2015-04-30 10:06:18 -03:00
Gen
c322eddffb
fixed a autowrap bug when word is too length.
2015-04-30 12:47:05 +08:00
Gen
57d571a1c4
Update label.cpp
2015-04-30 00:03:19 +08:00
Gen
02d672753f
space is only skipped when autowrap.
2015-04-29 23:43:39 +08:00
Gen
6fa342a1b0
record the number of space before a word.
2015-04-29 16:34:56 +08:00
Gen
ad358562e5
record the number of space before a words.
2015-04-29 16:34:25 +08:00
Juan Linietsky
7773d70f44
bad lookup in grid container corrected, cells are properly aligned again. Fixes #1462
2015-04-28 23:10:06 -03:00
Juan Linietsky
98c086edaf
-fix forced texture repeat in Polygon2D, now depends on texture.
...
-added a new function, Camera::is_position_behind to aid to unproject(), fixes #1725
2015-04-28 22:05:01 -03:00
Gen
dfc59d1e00
Update label.h
2015-04-28 23:07:41 +08:00
Gen
1a6012aff5
Update label.cpp
2015-04-28 23:06:34 +08:00
Juan Linietsky
0adca0a7c9
-made normalmaps easier in 2D, fixes #1467
2015-04-27 08:11:54 -03:00
Juan Linietsky
82cbee2d2d
-added set_master_player binding, fixes #1477
2015-04-27 00:23:16 -03:00
Juan Linietsky
79d5b7f258
-fixed bodyenter/bodyexit callback of physics bodies, fixes #1739
2015-04-26 17:46:20 -03:00
Juan Linietsky
65c96a71bd
fix crash on exit for popup, fixes #1676
2015-04-26 15:42:02 -03:00
Juan Linietsky
330351c613
properly update emitting property when emit timeot is used, fixes #1716
2015-04-25 10:36:37 -03:00
Juan Linietsky
1721ef17d6
disable apply modifiers by default in export flag
2015-04-22 18:20:29 -03:00
Juan Linietsky
7648088fca
ability to get closest owner to point, for navigation and navigation2d
2015-04-21 16:47:49 -03:00
Juan Linietsky
93ce7d92c1
-Many fixes and demo for RichTexLabel
...
-Proper ability to edit BBCode in RTL.
2015-04-21 16:01:58 -03:00
Juan Linietsky
70752f3e4b
-oops, duplicated text issue fix..
2015-04-20 20:51:52 -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
28c4afeb57
-Rewritten KinematicBody2D::move to MUCH more efficient code.
...
-KinematicBody2D::move now properly recognizes collision exceptions and masks, fixes #1649
-Removed object type masking for KinematicBody2D
-Added a test_motion() function to RigidBody2D, allowing simlar behavior to KinematicBody2D::move there.
2015-04-19 20:50:55 -03:00
Juan Linietsky
389d6ca0c7
disable undo properly after ctrl-i, fixes #1688
2015-04-18 16:57:01 -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
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
Juan Linietsky
61ab20a0bb
fixed UV2 source in shader graph, closes #1633
2015-04-12 19:36:35 -03:00
Juan Linietsky
3fddc9e55a
fixed navigation tile issue, fixes #1581
2015-04-09 01:18:01 -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
d148a03848
-Fixes bug in ShaderGraph material, when uniform property is not used, fixes #1634 and #1610
2015-04-09 00:29:21 -03:00
Juan Linietsky
54ed432913
fix crash when deleting shader from material, fixes #1631
2015-04-07 22:30:36 -03:00
Juan Linietsky
7852be816a
fixed shader graph length node, fixes #1632
2015-04-07 22:22:46 -03:00
Juan Linietsky
b307ee79a1
Merge pull request #1574 from UsernameIsAReservedWord/fix_3d_spot_attenuation
...
fixes_3d_spot_attenuation
2015-04-07 20:16:00 -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
Juan Linietsky
9fa1698c74
Changes to Light
...
-=-=-=-=-=-=-=-=
-Changed material unshaded property for an enum, which supports light-only shading
-Added a "Mix" shading mode, useful for using lights as masks
-Added energy parameter to Light2D
2015-04-03 01:43:37 -03:00
Juan Linietsky
68e42f53ba
Beta1 Attempt #1
...
-=-==-=-=-=-=-=-
-Small fixes in canvas item light shader
-Fixed compilation in server target
-Export for Android makes 32 bits display as default
-changed version to 1.1beta1
2015-04-02 12:59:23 -03:00