Commit graph

9233 commits

Author SHA1 Message Date
Leon Krause
4db801aaea HTML5 start-up overhaul
- Implement promise-based JS interface for custom HTML page
   integration
 - Add download progress callback
 - Add progress bar and indeterminate spinner to default HTML page
 - Try downloading files multiple times when failing
 - Get rid of godotfs.js
 - Separate steps for engine initialization, game initialization and game
   start
 - Allow multiple games on one HTML page
 - Substitution placeholders only used in .html file
 - Placeholders renamed: $GODOT_BASE => $GODOT_BASENAME,
   $GODOT_TMEM -> $GODOT_TOTAL_MEMORY
 - Emscripten Module is now Engine.RuntimeEnvironment (no longer a global)
2017-09-11 20:56:29 +02:00
Poommetee Ketson
1c063abf0d Material: fix priority not int 2017-09-11 18:13:28 +07:00
Bojidar Marinov
ebee9898ca
Fix duplication of nodes resulting in shared metadata
Fixes #9547
2017-09-11 12:34:36 +03:00
SaracenOne
f95edd3be9 Allow animations to be saved to external files during scene import. 2017-09-11 06:59:03 +01:00
SaracenOne
92bbd2d713 Script access to formatted arrays and blend_arrays in meshes. 2017-09-11 06:53:34 +01:00
Marcelo Fernandez
dcdcf358db Not found projects are grayed instead of removed at the Project Manager 2017-09-11 02:01:20 -03:00
Poommetee Ketson
dccb37417c Implement String len() 2017-09-11 08:43:25 +07:00
Hein-Pieter van Braam
390a2025fe Don't set editor_hint true for project manager
Due to this setting several callbacks get initialized but never used.
For instance void discoverer_callback(). This callback only initializes
the GDNativeSingletonDiscover *discoverer when called. This doesn't
happen in project manager and this in turn causes a call to
memdelete(NULL) which is invalid. This also seems to speed up startup a
little.

This fixes #11043 and fixes #10992
2017-09-10 23:59:22 +02:00
Thomas Herzog
5f39f3a2df Merge pull request #11158 from bncastle/master
unregister_gdnative_types() now checks if discoverer pointer is NULL before deleting
2017-09-10 23:44:38 +02:00
bncastle
fc83821316 Fixed attempt to delete NULL pointer error
Fixed: Error cause by attemptng to delete a NULL pointer.
unregister_gdnative_types() now checks discoverer to see if it is NULL
before deleting. After selecting a godot project to edit (in Win10), the
discoverer_callback() wasn't called thus discoverer was NULL.
2017-09-10 17:39:42 -04:00
Daniel J. Ramirez
ecb92bc6c3 Added documentation for some clases
Variant, ToolButton, Button, GradientTexture, BitMap

Added documentation for CollisionShape(2D)
2017-09-10 13:38:40 -05:00
Ryan Phillips
d12ff0d09e Document the Script and GDScript classes 2017-09-10 11:16:15 -07:00
Oliver Dressler
d73f09ef48 Added docs for PrimitiveMesh 2017-09-10 13:12:44 +02:00
supagu
e7c5706f71 DirAccess constructor sets current_dir to an absolute path 2017-09-10 20:03:26 +09:30
geequlim
20442d0a89 Add user data directory support for ProjectSettings::globalize_path 2017-09-10 16:33:54 +08:00
Bastiaan Olij
de309c426d Added ID to tracker signals and property for storing hand 2017-09-10 16:25:12 +10:00
Chris Bradfield
134e24408a Merge branch 'master' of git://github.com/godotengine/godot into kcc_lightoccluder2d_doc 2017-09-09 20:10:28 -07:00
Nathan Warden
db3776e1fd Changed the text from "Cancel" to "Done" in the "Fix Dependencies" dialog. 2017-09-09 22:00:57 -05:00
Felix M. Cobos
3b5ee014bd Hint the window manager to disable desktop compositing in fullscreen mode. 2017-09-09 23:24:19 +02:00
Chris Bradfield
030528a285 Update Timer class ref. 2017-09-09 13:30:27 -07:00
Chris Bradfield
f66e9158a8 Update LightOccluder2D class ref 2017-09-09 13:15:01 -07:00
Hein-Pieter van Braam
b7c4b9b8cd Document Line2D 2017-09-09 21:53:58 +02:00
Chris Bradfield
c68a34d6bf Update TextureRect class ref 2017-09-09 11:17:37 -07:00
LikeLakers2
e4c274752a Use gdquest's suggestions 2017-09-09 13:12:06 -04:00
Przemysław Gołąb (n-pigeon)
9ee65942db Documented Spatial node. 2017-09-09 17:23:29 +02:00
Hein-Pieter van Braam
13fe1a344e Correct InputEvent documentation 2017-09-09 17:22:14 +02:00
Hein-Pieter van Braam
daa66cd5c2 Correct the Pool*Array documentation 2017-09-09 16:39:22 +02:00
Nathan Warden
236025dccf Updated documentation for StaticBody. 2017-09-09 09:30:38 -05:00
Nathan Warden
8f1cf87a82 Updated the 'members' documentation for Rigidbody. 2017-09-09 08:55:41 -05:00
Nathan
6cb6be4b89 improve some descriptions for the Control node 2017-09-09 15:31:42 +02:00
toger5
e835d80a3f update icons for animation_player_plugin (top bar) 2017-09-09 04:19:43 +02:00
toger5
a6e03b4aed update for icons on theme change animation editor 2017-09-09 03:47:58 +02:00
toger5
f604cff8a7 removed hardcoded colors in animation editor 2017-09-09 03:32:06 +02:00
mrawlingst
06627fad20 Update ColorRect class ref documentation 2017-09-08 09:24:16 -04:00
mrawlingst
4f65c4d092 Update Color class ref documentation 2017-09-08 09:17:31 -04:00
Hein-Pieter van Braam
b2a38854fd Fix unused variable warnings
The forth in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-08 15:03:53 +02:00
Hein-Pieter van Braam
8230bf0a2f Remove assignment and declarations in if statements
After discussing with @reduz and @akien-mga it was decided that we do
not allow assignments or declarations in if statements. This PR removes
the instances of this I could find by automated means.
2017-09-08 14:59:15 +02:00
Hein-Pieter van Braam
67a706fc1b Fix various assorted warnings
Fix various warnings that don't have enough instances to merit
individual commits. Also fixes a potential bug in audio_server.cpp.
2017-09-08 14:57:48 +02:00
Rémi Verschelde
d1cb73b47a Merge pull request #11064 from Noshyaar/docs
ClassRef: fill in the blanks
2017-09-08 11:25:58 +02:00
Poommetee Ketson
11ccf22540 ClassRef: fill in the blanks 2017-09-08 15:15:04 +07:00
BastiaanOlij
099546ac00 Fixed loading package from resource folder, exporting textures to bundle and added a bit of feedback for a debug compile 2017-09-08 11:39:32 +10:00
Juan Linietsky
5ca3af3371 Ability to use a sky for reflection together with a background color. 2017-09-07 20:45:37 -03:00
Juan Linietsky
c023a132d0 Fixed orthogonal projection in all effects and post processes 2017-09-07 20:16:33 -03:00
Hein-Pieter van Braam
5e18967d77 Fix serveral recent new clang-format errors 2017-09-08 00:20:16 +02:00
Juan Linietsky
eedb39091a Several fixes to directional shadows, closes #10926
Added option to change directional light range mode, between optimized and stable. For Orthogonal, you might need to use optimized.
2017-09-07 18:00:47 -03:00
mrawlingst
6aa5bc2347 Change Color.to_32() to to_rgba32() and format as RGBA 2017-09-07 16:19:44 -04:00
Daniel J. Ramirez
c0a971468e Added some missing icons 2017-09-07 13:22:41 -05:00
Scayze
6872cc7b12 Add get_points method to AStar 2017-09-07 19:15:46 +02:00
Juan Linietsky
1eeda0f32f Restored auto snapping of controls to pixels, fixes #10847 and probably several more issues. Made it optional in the project settings but defaults to true. 2017-09-07 11:22:07 -03:00
toger5
b1f804094d Modify inertia implementation for freelook and orbit
- freelook now uses position based inertia (holding a key for a
   specific time always rults in the same distance traveled independent
of inertia setting)
 - orbit inertia now is angle bases. (not transformation based) ->
   camera always takes the same path.
 - added setting for orbit inertia
 - added setting hints for freelook settings.
2017-09-07 15:55:58 +02:00