Commit Graph

13099 Commits

Author SHA1 Message Date
Juan Linietsky 1659f82e7e -changed type of C component of vec interp, fixes #1144 2015-01-07 19:48:38 -03:00
sanikoyes b260bfab63 Add call deferred support for Tween 2015-01-07 19:46:01 +08:00
Juan Linietsky 978769cdf1 Merge branch 'master' of https://github.com/okamstudio/godot 2015-01-07 01:46:28 -03:00
Juan Linietsky 7a0e4c822c -Visual Shader Editing Finished, PLEASE TEST! 2015-01-07 01:45:46 -03:00
UsernameIsAReservedWord 996d93f972 fixes CurveXD::interpolatef()
fixes Curve2D::interpolatef() and Curve3D::interpolatef() methods
2015-01-06 15:31:41 +01:00
Juan Linietsky b51f645711 Changes to 2D physics engine
-=-=-=-=-=-=-=-=-=-=-=-=-=-=

-Removed "density" property
-Added instead more flexible "angular damp" and "linear damp"
-Added ability to override angular and linear damp in rigidbody
-Added gravity scale option rigidbody

Test well and iron out bugs, when it works the same will be moved to 3D
2015-01-05 18:37:12 -03:00
Juan Linietsky 1ff0d5c4e5 -attempt to be friendlier on non english keyboards 2015-01-04 22:39:21 -03:00
Juan Linietsky a8bcb96ad4 -Fix shortcuts for OSX code completion, fixes #1111
-Fixed how translation fallbacks works, fixes #1011
2015-01-04 11:03:31 -03:00
Juan Linietsky f39473ae7a -Obscure bug in popups solved, fixes #1008 2015-01-03 23:27:11 -03:00
Juan Linietsky dc7ac86b79 -Completely removed EmptyControl (but added fallback), closes #1017 2015-01-03 17:24:16 -03:00
Juan Linietsky 0e1d70f637 -removed empty control 2015-01-03 16:55:07 -03:00
Juan Linietsky ddf7457894 Merge branch 'master' of https://github.com/okamstudio/godot 2015-01-03 16:53:39 -03:00
Juan Linietsky fbdd925d9b -Work in progress visual shader editor *DOES NOT WORK YET* 2015-01-03 16:52:37 -03:00
Juan Linietsky 167c1027be -fixed bug on focus capture, now respets line/text edit
-when playing animations, property editor is now refreshed properly, fixes #1046
2015-01-03 15:39:01 -03:00
Juan Linietsky 6b5b95bb4e -added new code completion guess locations, closes #1032
-moved commandline fix to mingw-only, should fix #1064
2015-01-03 13:03:13 -03:00
Juan Linietsky 85c084c770 Merge branch 'master' of https://github.com/okamstudio/godot 2015-01-03 11:09:17 -03:00
Juan Linietsky cef3bd026f -fixed issue with denormals in half precission, closes #1073
-added h_offset and v_offset to 3D Camera, should allow to do the same as in #1102
2015-01-03 11:06:53 -03:00
romulox_x c83a00c603 Changed texturebutton scale from float to Size2 2015-01-02 20:23:52 -08:00
Juan Linietsky fa7a3ac0d3 removed deadcode 2015-01-03 00:25:21 -03:00
Juan Linietsky 0df45672e7 -ability to scale and modulate texturebutton, closes #818
-fixed bug in ordering of modal subwindows, closes #1001
2015-01-03 00:23:14 -03:00
Juan Linietsky d722537154 -proper minimum size computation for TabContainer 2015-01-02 22:34:22 -03:00
Juan Linietsky 8a28af024e -fix TextEdit shift-click functionality past begin and end of selection (#1004) 2015-01-02 15:08:40 -03:00
Juan Linietsky ed8e70243f -refresh play options in property when setting samplelibrary (#1016) 2015-01-02 14:32:05 -03:00
Juan Linietsky d88e192ae4 -fix readonly issues (#1018) 2015-01-02 14:27:21 -03:00
Juan Linietsky bbaddfa70f -fixed silly bug in trigger check (#1051) 2015-01-02 13:30:59 -03:00
Juan Linietsky aa36be3c9a -typo fixed in ImmediateGeometry (#1066) 2015-01-02 13:21:07 -03:00
Juan Linietsky 2e08e11120 -fixed signal in #1075 2015-01-02 13:08:28 -03:00
Juan Linietsky aeee764971 Merge branch 'master' of https://github.com/okamstudio/godot 2015-01-02 12:55:18 -03:00
Juan Linietsky 0378e1109b -fixed NODE_OUT error in animtreeplayer #1078
-fixed randon button when editing menubutton #1079
2015-01-02 12:52:51 -03:00
marynate 61fcca7111 Add Stop pause mode implementation 2014-12-28 00:29:12 +08:00
Juan Linietsky 78e7777cf5 Merge branch 'master' of https://github.com/okamstudio/godot
Conflicts:
	modules/gdscript/gd_editor.cpp

Improved code completion for InputEvent (shows members by type)
2014-12-21 11:46:28 -03:00
Juan Linietsky f7f197c409 -ability to set default textures in shader (needed for visual shader editing)
-work in progress new graph system (will replace current one)
-crash fix in s3m loader (out of bounds acess)
-fixed vbox overriding of separation (fixes empty line between section tabs)
2014-12-21 11:42:44 -03:00
romulox_x 8ff61b4d0e fixed bugs in polygon_path_finder for finding nearest points 2014-12-20 15:28:08 -08:00
Juan Linietsky a36a774897 Fixes
-=-=-=

-Added missing quaternion constructor
-code completion fixes
-winrt fixes
2014-12-20 15:30:06 -03:00
Juan Linietsky 9783f6fc96 Merge branch 'master' of https://github.com/okamstudio/godot 2014-12-20 12:32:32 -03:00
Juan Linietsky cf0a419efa WIP work on graph nodes and editing 2014-12-20 12:32:14 -03:00
sanikoyes 64f77aa8f3 1.Change interpolate_callback:p_times_in_sec argument before p_callback argument(more readable)
2.NodePath replace to instance_ID(can control object doe's not in scene tree)
3.Change interpolate types from Node to Object, can control more types(etc script class object)
4.Add pending_update counter, avoid insert/remove interpolates-list while traversal it
2014-12-19 17:13:20 +08:00
Juan Linietsky 9f5bbfc322 -improved completion options for InputEvent, shows all event types now 2014-12-18 00:56:33 -03:00
Dana Olson 1a6628f5a3 change shortcut for toggle-comment to Ctrl+K 2014-12-17 15:57:39 -05:00
Juan Linietsky c8b2a5f64a -added brace matching to go with the new code completion 2014-12-17 01:53:34 -03:00
Juan Linietsky d55f95e0d2 Merge branch 'master' of https://github.com/okamstudio/godot 2014-12-16 22:33:35 -03:00
Juan Linietsky bcf27feb98 New Code Completion
-=-=-=-=-=-=-=-=-=-

-Massive improvement to code completion
-Argument hinting for functions

If you manage to out-smart the code-completion in a situation where completion
should be possible to guess, let me know.

 Please enter the commit message for your changes. Lines starting
2014-12-16 22:31:57 -03:00
Juan Linietsky 089d7fa171 Small batch of fixes
-=-=-=-=-=-=-=-=-=-=
-Fixed looping error in AudioStreamResampled
-winrt port progress
-fixes in material in ambient light
2014-12-15 15:42:58 -03:00
Juan Linietsky 6851f9bfae Small Fixes
-=-=-=-=-=-

-Bug in navmesh demo fixed
-Bug in variant
-Better Collada Exporter supports proper names of exported shapekeys
2014-12-08 15:47:45 -03:00
Juan Linietsky 9df8d5f616 Merge pull request #916 from quabug/commit
Add move_child_notify method in Node class
2014-12-08 16:46:51 -02:00
Juan Linietsky 10b371516b More Fixes
-=-=-=-=-=

-Bug in saving multinline text in xml fixed. #925
-typo in android export fixed. #930
2014-12-07 11:33:57 -03:00
Dana Olson 380f12def2 now undo/redo supported 2014-12-07 02:21:49 -05:00
Dana Olson 05801b9265 apply patch #882 from dcubix 2014-12-07 01:07:00 -05:00
Juan Linietsky efb257c675 missing fix in file 2014-12-07 02:31:43 -03:00
Juan Linietsky c79be979d4 Batch of Bugfixes
-=-=-=-=-=-=-=-=-

-Fixed Export UV XForm (should work now). #923
-Fixed enforcement of limits in property editor. #919
-Fixed long-standing bug of export editings in script inheritance. #914, #859, #756
-Fixed horrible error reporting in shader language. #912
-Added kinematic collision with plane (please test well). #911
-Fixed double animation track insert when using 2D rigs. #904
-VKey updates offset parameter in sprite edition. #901
-Do not allow anymore a script to preload itself. (does not fix #899, but narrows it down)
-Avoid connection editor from overriding selected text. #897
-Fixed timer autostart. #876
-Fixed collision layers in 3D physics. #872
-Improved operators in shader #857
-Fixed ambient lighting bug #834
-Avoid editor from processing gamepad input #813
-Added not keyword #752

Please test!
2014-12-07 02:04:20 -03:00
quabug 25f8f5339a use tab instead of space 2014-12-03 13:29:28 +08:00
quabug 4a71142623 Add move_child_notify method in Node class 2014-12-03 13:22:06 +08:00
Juan Linietsky 8ad12525a9 -fixes to vmethod for button 2014-12-02 17:26:56 -03:00
Juan Linietsky e361e8539c -Ability to ask for documents/pictures/etc system dirs.
-Fixes to animationplayer
-fixes to collada importer
2014-12-02 14:02:41 -03:00
Juan Linietsky 5eb546e04b Merge pull request #867 from adolson/circleshape2d-radius-increment
add sane radius increment to CircleShape2D
2014-12-01 21:44:14 -02:00
Juan Linietsky d70e16f72f -fix sound room params (was not working)
-fixes to DAE exporter
-ios fixes (video)
2014-11-26 14:24:13 -03:00
Juan Linietsky d5cb758d36 NavMesh
-=-=-=-

-Fixed NavMesh API
-New NavMesh demo
-Support for animated Particles2D
-Fixes for native video playback on iOS
2014-11-17 07:46:11 -03:00
Dana Olson 7d8e34c284 allow Alt+arrow keys to pass through editor 2014-11-13 00:38:26 -05:00
Juan Linietsky 43d0eddc3c Merge branch 'master' of https://github.com/okamstudio/godot 2014-11-13 00:56:36 -03:00
Juan Linietsky abbea4d945 UDP Fixes
-=-=-=-=-

Curse the day I decided to port UDP code, as it ended up
being two nights of work.  At least It's done now (I hope).

-Fixed UDP Support, API seems stable
-Added UDP Chat demo (chat that can lose your packets, heh)
-Added helpers to areas and bodies to get list of collided bodies and contained bodies.
-Sped up screen/viewport capture code.
-Added code to save an image as PNG
-Small fix so scripts register their singletons after modules did.
2014-11-13 00:53:12 -03:00
Juan Linietsky 3daab56f17 Merge pull request #879 from DCubix/master
GDScript Editor Goodies
2014-11-13 01:52:17 -02:00
Diego Lopes e2ba6ecf57 Editor goodies update 2014-11-12 11:39:21 -03:00
Juan Linietsky 6dd8768811 3D Import Import & UDP
-=-=-=-=-=-=-=-=-=-=-

-Animation Import filter support
-Animation Clip import support
-Animation Optimizer Fixes, Improvements and Visibile Options
-Extremely Experimental UDP support.
2014-11-12 11:23:23 -03:00
Brandon DeRosier 4b76b2caf5 Fix AnimationTreePlayer.node_get_input_source typo
- Changed node_get_input_sourcre to node_get_input_source
2014-11-11 13:15:19 -05:00
Dana Olson dae2f4c96f add sane radius increment 2014-11-08 03:30:49 -05:00
Juan Linietsky fc676fa6f8 missing files with fixes for shower of bullets 2014-11-06 11:02:40 -03:00
Juan Linietsky 0dbedd18fc SceneMainLoop -> SceneTree
-=-=-=-=-=-=-=-=-=-=-=-=-=-

*YOUR SOURCE MIGHT NOT WORK*
For mor information on fix:
https://github.com/okamstudio/godot/wiki/devel_scene_tree

Other stuff:
-Shower of bullets demo
-Fixes all around
2014-11-05 21:20:42 -03:00
Juan Linietsky d85b67be53 Bug Fixes
-=-=-=-=-

-Fixed problem with scaling shapes (#827), related to not taking scale in consideration for calculating the moment of inertia
-Added support for multiline strings (or comments) using """
-Save subscene bug, properties not being saved in root node (#806)
-Fix Crash in CollisionPolygon2DEditor (#814)
-Restored Ability to compile without 3D (#795)
-Fix InterpolatedCamera (#803)
-Fix UV Import for OBJ Meshes (#771)
-Fixed issue with modifier gizmos (#794)
-Fixed CapsuleShape gizmo handle (#50)
-Fixed Import Button (not properly working in 3D) (#733)
-Many misc fixes (though no new features)
2014-11-02 11:31:01 -03:00
Juan Linietsky e82dc40205 -Much improvement to baked light baker
-Fixed many bugs in stretch mode
-Fixes to camera project and unproject as consequence of the above
-added setget to script (documented in script doc)
-more fixes to collada exporter for blender
2014-10-27 22:54:32 -03:00
Gerold31 6532aa627c Fix some more incorrect bindings 2014-10-26 15:07:54 +01:00
Guy Rabiller 41d1f9b7d6 - Fix BaseButton "Click on Press" issue. Now a button correctly show its visual "Pressed" status when "Click on Press" is enabled and the button is clicked. 2014-10-24 16:33:43 +02:00
marynate 3161ceda2f Fix light was alwasy been disabled in release mode (tools=no) 2014-10-16 16:16:24 +08:00
Juan Linietsky 371eac9bef -added custom metadata to physics shapes (2D only for now)
-gizmos are not displayed in camera preview
2014-10-16 00:06:34 -03:00
Juan Linietsky cd218b8c09 Fixes
-=-=-

-Fixed normalmap depth parameter
-Fixes to DirAccess on Windows
-Double click on resource dock will open them
-Fixes to doc generator (should make github wiki on class list more up to date)
2014-10-14 19:44:41 -03:00
Juan Linietsky a84ba9c853 Collada
-=-=-=-

-Fixed some DAE import & export bugs
-Changed Collada exporter to use the mesh loops API
-Added tangent export to Collada exporter
-Added triangulation option to Collada exporter
-Changed a little how normalmaps are handled in shader. Not sure if it's working properly, be careful.
-Fixed some strange bug with kinematic bodies #776
-Fix release compilaiton issues #782
2014-10-14 01:01:25 -03:00
romulox_x 299bccdee9 offset particle drawing order so that recently emitted particles are always drawn on top of the older ones 2014-10-12 20:20:56 -07:00
Juan Linietsky 948fd83cdd Little Bits
-=-=-=-=-=-

-fix duplicate function bug when creating script callback in editor
-fix bug where hiding lights does not work
-fix 2D audio listener bug (romulox_x reported)
-fix exported properties with inheritance bug
-fix timer autostart (make it not work on editor)
-reactivate first camara found if viewport runs out of active camera
-option to hide gizmos in viewport
-changed skeleton gizmo because it sucks
-Make convex shapes using CollisionShape visible (use quickhull class)
-fix up menu when editing a mesh, to export collision, navmesh, convex, etc. from it.
-make a menu option to show SRGB in 3D editor views by default
-make option to edit default light direction in viewport settings
-make option to edit default ambient light in viewport settings
-make software conversion of linear->RGB if hardware support not found
2014-10-12 02:13:22 -03:00
Hilton Medeiros f1d9de068c Remove camera check for 2D audio listener. 2014-10-10 11:00:17 -03:00
romulox_x 5cb403747e Modified sprite's draw notification call to use floats instead of integers so that the texture coordinates used to draw a frame from the sprite sheet don't have to snap to pixels 2014-10-09 19:34:27 -07:00
Juan Linietsky 9142d6fc40 Misc Bits
-=-=-=-=-

-Added more missing icons to nodes.
-Added more 3D split view modes
-Fixed annoying script editor bug with keyboard focus
2014-10-09 00:06:51 -03:00
Juan Linietsky 3cf6a6fa8c -One liner fix for crash, line was removed accidentally. 2014-10-07 10:25:30 -03:00
Juan Linietsky 0fa94a9690 Build System Changes
-=-=-=-=-=-=-=-=-=-=

Build System:
-Big clean up of SCons, changed how builds are done to a much cleaner method (check the Github Wiki for instructions).
-Deactivated BlackBerry10 (sorry), if no mantainer found (or BlackBerry does not send us a Passort ;), platform will be removed as we have no longer devices to test.

Engine:
-Removed deprecated object and scene format (was in there just for compatibility, not in use since a long time).
-Added ability to open scenes even if a node type was removed (will try to guess the closest type).
-Removed deprecated node types.
2014-10-07 01:31:49 -03:00
Juan Linietsky a0ae38e0c1 Icons for many new types of nodes 2014-10-03 10:33:23 -03:00
Juan Linietsky af4a97bef9 missing fils from yesterday comit.
must have made some mistake with git,
not sure why they were not sent..
2014-10-03 08:58:41 -03:00
Juan Linietsky b24fe3dd20 Huge Amount of BugFix
-=-=-=-=-=-=-=-=-=-=-

-Fixes to Collada Exporter (avoid crash situtions)
-Fixed to Collada Importer (Fixed Animation Optimizer Bugs)
-Fixes to RigidBody/RigidBody2D body_enter/body_exit, was buggy
-Fixed ability for RigidBody/RigidBody2D to get contacts reported and bodyin/out in Kinematic mode.
-Added proper trigger support for 3D Physics shapes
-Changed proper value for Z-Offset in OmniLight
-Fixed spot attenuation bug in SpotLight
-Fixed some 3D and 2D spatial soudn bugs related to distance attenuation.
-Fixed bugs in EventPlayer (channels were muted by default)
-Fix in ButtonGroup (get nodes in group are now returned in order)
-Fixed Linear->SRGB Conversion, previous algo sucked, new algo works OK
-Changed SRGB->Linear conversion to use hardware if supported, improves texture quality a lot
-Fixed options for Y-Fov and X-Fov in camera, should be more intuitive.
-Fixed bugs related to viewports and transparency

Huge Amount of New Stuff:
-=-=-=-=-=-=-=-==-=-=-=-

-Ability to manually advance an AnimationPlayer that is inactive (with advance() function)
-More work in WinRT platform
-Added XY normalmap support, imports on this format by default. Reduces normlmap size and enables much nice compression using LATC
-Added Anisotropic filter support to textures, can be specified on import
-Added support for Non-Square, Isometric and Hexagonal tilemaps in TileMap.
-Added Isometric Dungeon demo.
-Added simple hexagonal map demo.
-Added Truck-Town demo. Shows how most types of joints and vehicles are used. Please somebody make a nicer town, this one is too hardcore.
-Added an Object-Picking API to both RigidBody and Area! (and relevant demo)
2014-10-03 00:10:51 -03:00
Juan Linietsky cf04e1a827 -added collision exception to 3D Physics API too 2014-09-22 01:03:56 -03:00
Juan Linietsky 048fdc8aea -variables with export in script are now IMMEDIATELY AND ALWAYS visible in properties (#718)
-WorldEnvironment cleanup issues fixed (#563)
-Text Editor improvement to shift-mouse selection (#648)
-(Hopefully) fixed rare (but horrible) indexing bug in GDScript compiler (#652)
-Some changes to PhysicsBody API, renamed property "active" to "sleeping", which makes more sense
-Added add_collision_exception() API in PhysicsBody (more accessible)
-ability to select and copy in the output messages panel
2014-09-22 00:50:48 -03:00
Juan Linietsky 11a5ed508b Fixed too many little issues, check the issues closed today. 2014-09-21 01:43:42 -03:00
Juan Linietsky 549d344f0f Fixing Issues...
- #672 (default user:// in $HOME/.godot/app_userdata (linux/osx) and $APPDATA/Godot/app_userdata (Windows)
- #676 (draw both tiles and octants in order from top to bottom, left to right )
- #686 (unicode escape sequences work now)
- #702 (was not a bug, but a test was added to see if bodies went too far away)
2014-09-19 18:39:50 -03:00
Juan Linietsky f0f516442b Merge pull request #705 from rollenrolm/vslider-fix
Fix for inverted VSlider
2014-09-19 11:27:05 -03:00
Ralf Hölzemer 48ff50d447 Fix bug #471, Colour picker labels are incorrect in HSV and RAW mode 2014-09-19 02:57:41 +02:00
Ralf Hölzemer 5cd174586a Fix for inverted VSlider
VSlider would get set at the inverted position when receiving a mouse click
Dragging the slider worked correct
2014-09-19 00:52:05 +02:00
Juan Linietsky 990f6cf50e More Bug Fixes
-=-=-=-=-=-=-

-Fixed a few bugs in Mixer, now playback of chiptunes works great :)
-Changed how visibility AABB generation from skeletons work, it's fully automatic and real-time now, generated from current skeleton pose for the frame.
-Fixed camera in 3D kinematic character demo.
2014-09-17 20:03:10 -03:00
Juan Linietsky fa004d5c0f Small Fixes
-----------

-Added Ability for centering on top left for centercontainer
-Added ability to bind more than 5 parameters (must include an extra file)
2014-09-17 11:53:29 -03:00
Juan Linietsky 87af69b14d Merge pull request #575 from marynate/PR-node2d-set-global-pos
Add node2d::set_global_pos()
2014-09-17 10:44:37 -03:00
Juan Linietsky f304c9f93a Merge pull request #588 from marynate/PR-fix-touchscreenbutton-input
Fixed touchscreen was processing input in editor
2014-09-17 10:40:50 -03:00
Juan Linietsky 574a84b40c Merge pull request #628 from sanikoyes/PR-tween-support
thanks sanikoyes this is great!
2014-09-17 10:00:24 -03:00
Juan Linietsky 326fd93e1d Merge pull request #661 from adolson/add-tab-binding
couple tab and tab container fixes
2014-09-17 09:52:33 -03:00
Juan Linietsky f00f4b9296 CollisionPolygon (3D)
Workaround for round() on PC.
2014-09-16 21:19:54 -03:00
Juan Linietsky 642c63319e Camera Fixes
-=-=-=-=-=-=

-Object Picking and orthogonal camera related functions fixed (i hope)
-Going to preview mode in the camera shows a frame with the correct game aspect ratio
-Changed Camera API and properties a little t make it more straightforward
-Fixed bug in shader compiler.

-Fixed bug in ShaderGL
2014-09-15 20:06:37 -03:00
Juan Linietsky 8cab401d08 3D Physics Rework, Other Stuff
-=-=-=-=-=-=-=-=-=-=-=-=-=-

3D Physics:
-Fixed "Bounce" parameter in 3D
-Fixed bug affecting Area (sometims it would not detect properly)
-Vehicle Body has seen heavy work
-Added Query API for doing space queries in 3D. Needs some docs though.
-Added JOINTS! Adapted Bullet Joints: and created easy gizmos for setting them up:
   -PinJoint
   -HingeJoint (with motor)
   -SliderJoint
   -ConeTwistJoint
   -Generic6DOFJoint
-Added OBJECT PICKING! based on the new query API. Any physics object now (Area or Body) has the following signals and virtual functions:
    -input_event (mouse or multitouch input over the body)
    -mouse_enter (mouse entered the body area)
    -mouse_exit (mouse exited body area)
   For Area it needs to be activated manually, as it isn't by default (ray goes thru).

Other:

-Begun working on Windows 8 (RT) port. Compiles but does not work yet.
-Added TheoraPlayer library for improved to-texture and portable video support.
-Fixed a few bugs in the renderer, collada importer, collada exporter, etc.
2014-09-15 11:33:30 -03:00
Juan Linietsky 1a2cb755e2 3D Physics and Other Stuff
-=-=-=-=-=-=-=-=-=-=-=-=-=

-New Vehicle (Based on Bullet's RaycastVehicle) - Vehiclebody/VehicleWheel. Demo will come soon, old vehicle (CarBody) will go away soon too.
-A lot of fixes to the 3D physics engine
-Added KinematicBody with demo
-Fixed the space query API for 2D (demo will come soon). 3D is WIP.
-Fixed long-standing bug with body_enter/body_exit for Area and Area2D
-Performance variables now includes physics (active bodies, collision pairs and islands)
-Ability to see what's inside of instanced scenes!
-Fixed Blend Shapes (no bs+skeleton yet)
-Added an Android JavaClassWrapper singleton for using Android native classes directly from GDScript. This is very Alpha!
2014-09-02 23:13:40 -03:00
Dana Olson d344043db7 was fetching incorrect meta data for tab titles
closes #650
2014-08-28 02:12:15 -04:00
Dana Olson a8266cd9b2 add/fix GDScript bindings for add_tab/remove_tab
closes #651
2014-08-28 02:06:28 -04:00
sanikoyes 64413191a9 tween:
1、add follow/targeting support
2、update demo
2014-08-25 13:36:56 +08:00
sanikoyes 3a93143e52 Fix tween seek, add tell function 2014-08-22 14:25:41 +08:00
sanikoyes 344420f67c Replace object to NodePath
Add time callback support
Update demo
2014-08-22 11:24:53 +08:00
sanikoyes d7eb4550b0 Fix reset 2014-08-21 15:51:18 +08:00
sanikoyes 5668cec030 Add tween delay support
Add tween get_runtime function
Update demo for tween delay sample
2014-08-21 15:34:16 +08:00
sanikoyes 1c0ac4ee45 Add missing bind, fix bind argument description 2014-08-20 18:33:17 +08:00
sanikoyes 87faf1c046 Add tween seek/repeat support
Add tween demo
2014-08-20 16:39:28 +08:00
sanikoyes b51da466e9 Add remove/remove_all for tween 2014-08-20 12:19:22 +08:00
sanikoyes f75b8a81d2 Add tween support for godot 2014-08-20 12:01:41 +08:00
Juan Linietsky 2ee4ac183b Little Bits
-=-=-=-=-=-

-Fixed small bugs all around
-Added ability to show/hide entire sections of the spatial (3D) tree
-WIP new vehicle (not ready yet) based on Bullet
2014-08-14 10:31:38 -03:00
reduz 20159ea7e9 Merge pull request #608 from TheoXD/timeseek_node_seek
Timeseek works like this
2014-08-14 10:29:35 -03:00
Juan Linietsky 678948068b Small Issues & Maintenance
-=-=-=-=-=-=-=-=-=-=-=-=-=

-Begin work on Navigation Meshes (simple pathfinding for now, will improve soon)
-More doc on theme overriding
-Upgraded OpenSSL to version without bugs
-Misc bugfixes
2014-08-01 22:10:38 -03:00
marynate 568be61b09 Fixed potential crash when touchscreenbutton has no texture assigned 2014-07-13 10:09:47 +08:00
marynate b1e03d536f Fixed touchscreen was processing input in editor 2014-07-13 08:48:02 +08:00
Theo Hallenius 9aa278c590 Timeseek works like this 2014-07-07 22:54:34 +02:00
Juan Linietsky 9ff6d55822 Polygon2D
-=-=-=-=-

Another gift for those who make 2D games:
-Edit polygons, concave or convex, color them, texture them and uv-map them
-Corresponding editor
-Can have a custom pivot, so they are compatible with bones and IK
2014-07-07 17:44:21 -03:00
marynate a62305e0e3 Add node2d::get_global_pos() 2014-07-07 19:08:26 +08:00
Juan Linietsky 3d68949a1c 2D Animation Improvements
-=-=-=-=-=-=-=-=-=--=-=-=

-Ability to set 2D nodes as bones
-Abity to set 2D nodes as IK chains
-2D IK Solver
-Improvements in the UI for adding keyframes (separate loc,rot,scale buttons)
2014-07-06 11:49:27 -03:00
marynate e253d2010d Fixed #553: Disable 3D nodes for smaller executable 2014-07-03 16:07:11 +08:00
Juan Linietsky 01632a824e Bug Fixes
-=-=-=-=-

-Documentation now shows overridable theme values (though this needs to be documented).
-Detect when object transform is flipped and flip normals too.
-TileMap can specify bounce and friction for collision.
-Removed limit of 4 lights per object
-Added is_hovered() to buttons.
2014-06-29 22:41:02 -03:00
Juan Linietsky 2af2a84a03 Misc Fixes
==========

-NOTIFICATION_WM_QUIT fixed on android (seems tha way this is reported changed in newer sdk)
-WIP implementation of APK Expansion APIs for publishing games larger than 50mb in Play Store
-Feaures in the new tutorials are all present in the sourcecode
-This (hopefully) should get rid of the animation list order getting corrupted
-Improved 3D Scene Importer (Skeletons, Animations and other stuff were not being merged). Anything missing?
-In code editor, the automatic syntax checker will only use file_exists() to check preload() else it might freeze the editor too much while typing if the preload is a big resource
-Fixed bugs in PolygonPathFinder, stil pending to do a node and a demo
2014-06-27 23:21:45 -03:00
Juan Linietsky e086bccd63 Import 3D Scene Improvements
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

-If re-importing from the "dependency changed" dialog, edited scene will keep the local changes.
-Imported scene will keep track of changes in the source asset
-Geometry changes in source geometry or nodes with a different transform will be updated.
-Materials will be kept if changed locally.
-New nodes added will be kept
-If nodes were reparented or renamed, they will still keep track
-Deleted notes will be restored, use the -noimp option to avoid this.
-In general, you can trust that if you do local modifications to the imported scene, they will not be erased after re-import.
-Erasing your changes is done by re-importing from the "Re-Import" menu, re-opening the "Import 3D Scene" dialog. This wil re-import fresh.

Overall, This should allow you to work on a scene and see changes made to 3D assets in real-time.

So Please test!!
2014-06-19 02:23:03 -03:00
Juan Linietsky ddc0e7fd3b FineTune HDR and Other Stuff
-=-=-=-=-=-=-=-=-=-=-=-=-=-

-More parameters to ESM shadows
-LightMap Octree now can bake to "hdr" (use HDR8 for now)
-New resource PolygonPathFinder, polygon based pathfinder using A-star algorithm. (will add nodes to use it more easily soon)
2014-06-17 11:58:35 -03:00
Juan Linietsky 703004f830 More 3D Work
-=-=-=-=-=-

-ESM Shadow Mapping for softer and less glitchy shadows
-HDR Pipeline (convert to Linear on texture import, convert to SRGB at the end)
-Fix to xml parse bug
2014-06-16 10:22:26 -03:00
Juan Linietsky 64e83bfd14 Merge branch 'master' of https://github.com/okamstudio/godot 2014-06-11 10:41:43 -03:00
Juan Linietsky 9b8696d3dd Light Baker!
-=-=-=-=-=-=

-Support for lightmap baker, have fun figuring out how it works before tutorial is published.
2014-06-11 10:41:03 -03:00
Theo Hallenius 359ea6088c Made a uniform distribution of characters in Label::set_percent_visible() 2014-05-31 23:50:10 +02:00
Juan Linietsky 6f0b4678e2 More 3D Improvements
-=-=-=-=-=-=-=-=-=-=

-Sprite3D and AnimatedSprite3D support.
-Opaque pre-pass works, is compatible with shadows
-Improved shadow map rendering (can differentiate between plain opaque and opaque with shaders/discard/etc)
-Added option to use alpha discard in FixedMaterial
-Improved Glow FX, many more options (three modes, Additive, Screen and SoftLight), strength and scale
-Ability for Background (image or cubemap) to send to glow buffer
-Dumb Deploy of clients now actually works in Android
-Many Many rendering fixes, 3D is much more usable now.
2014-05-29 10:56:39 -03:00
Juan Linietsky 2760a81b0b -draw_primitive binding fix 2014-05-25 14:25:05 -03:00
Juan Linietsky 1cad087969 Making Godot Easier to Use..
-=-=-=-=-=-=-=-=-=-=-=-=-=-=

-Auto indenter in code editor, this makes it much easier to paste external code.
-Zoom in 2D viewport now uses the mouse pointer as reference.
-Obscure hack to see where code/line of GDScript in C++ backtrace.
-Fixed a bug where keys would get stuck on X11 if pressed simultaneously
-Added Api on IP singleton to request local IPs.
-Premultiplied alpha support when importing texture, editing PNGs and as a blend mode.
2014-05-24 01:35:47 -03:00
reduz 91e88f4b96 Merge pull request #413 from marynate/PR-decouple-skeleton-mesh
Add 'mesh/skeleton' property to MeshInstance
2014-05-20 20:45:57 -03:00
reduz ad61dfed5d Merge pull request #432 from marynate/PR-fix-screen-button-null-texture
Fix potential null exception in screen button without texture assigned
2014-05-20 20:45:04 -03:00
marynate 3164784ca3 Fix script editor scrollbar disappear issue 2014-05-21 01:07:47 +08:00
marynate fd13b25d6e Fix potential null exception in screen button without texture assigned 2014-05-20 21:07:32 +08:00
Juan Linietsky b324ff7ea5 A bit of everything:
-IMA-ADPCM support for samples, this means that sound effects can be compressed and use 4 timess less RAM.
-New 3D import workflow based on Wavefront OBJ. Import single objects as mesh resources instead of full scenes. Many people prefers to work this way. Just like the rest of the imported resources, these are updated in realtime if modified externally.
-Mesh resources now support naming surfaces. This helps reimporting to identify which user-created materials must be kept.
-Several fixes and improvements to SurfaceTool.
-Anti Aliasing added to WorldEnvironment effects (using FXAA)
-2D Physics bodies (RigidBody, KinematicBody, etc), Raycasts, Tilemap, etc support collision layers. This makes easy to group which objects collide against which.
-2D Trigger shapes can now also trigger collision reporting in other 2D bodies (it used to be in Area2D before)
-Viewport render target textures can now be filtered.
-Few fixes in GDscript make it easier to work with static functions and class members.
-Several and many bugfixes.
2014-05-14 01:22:15 -03:00
marynate 7eb86f2fbc Add 'mesh/skeleton' property to MeshInstance to decouple mesh->skeleton from child parent constraint 2014-05-13 13:25:24 +08:00
marynate 56d9faebab Make String::right count from pos instead of pos+1 2014-05-13 01:19:41 +08:00
marynate 8090a4ebb1 Fix LineEdit selected text drag and drop behavior: move instead of duplicate selected text; maintain selection after drag and drop. 2014-05-11 12:16:08 +08:00
jonyrock 6c9203fdaf remove degud output 2014-05-07 15:42:55 +04:00
jonyrock 0121d96288 call during autocompletion 2014-05-07 15:38:07 +04:00
marynate 0771020c83 Add auto code completion (without press Ctrl+Space manually)
Disalbe auto code completion even there's only one option

Hide auto-completion if only one completion option and it's been typed

Support use tab key to accept code completion option
2014-05-06 21:06:03 +08:00
marynate 212b8b2a03 Add get_word_under_cursor() method to TextEdit 2014-05-06 19:21:21 +08:00
Juan Linietsky c688086be9 mini-fix 2014-05-04 23:09:45 -03:00
Juan Linietsky 72ae89c5aa Lots of 3D improvements:
-Object Manipulator Gizmo keeps proper scale in all windows and projections, (configurable on settings too).
-Manipulator gizmos for other objects (camera, shapes, etc) massively improved and bug-fixed.
-Manipulator gizmos are different for edited object and other objects.
-Properly highlight manipulator gizmo handles when hovered.
-Fixed bugs in fragment program when using more than 1 light together.
-Reload png/jpg files automatically in editor if edited externally.
-Added 4-stages Parallel Split Shadow Mapping, to improve shadow quality in large scenarios
-Added PCF13 to improve smoothness of shadow borders
-General optimization of directional light shadow mapping for Orthogonal,PSM and PSSM.
-Fixed normal mapping when importing DAE files, works nicely now.
2014-05-04 22:50:23 -03:00
jonyrock 209eaf6fa0 Merge remote-tracking branch 'upstream/master' into pair_symbols_tool 2014-05-01 20:15:28 +04:00
jonyrock bb853d121e EDITOR_DEF in the right place 2014-04-30 20:21:58 +04:00
Juan Linietsky 87f37bc5a3 -Added OpenSSL and HTTPS support
-Built-in version of the library for Windows, Android and iOS (other OSs use system one)
-Small fixes all around
2014-04-28 21:56:43 -03:00
jonyrock 2c683b0f99 #331 settings menu option title fix oops 2014-04-28 13:31:58 +04:00
jonyrock a93ad6e321 #331 settings menu option title fix 2014-04-28 13:16:49 +04:00
jonyrock a5384bc07b pair symbols tool basic imp 2014-04-27 14:34:37 +04:00
jonyrock a5e331c66f #298 imp 2014-04-26 16:42:19 +04:00
Juan Linietsky a4c1fa12a5 heck 2014-04-19 16:46:52 -03:00
Juan Linietsky 0360b454a4 -Fixed viewport stretch bugs
-Fixed input in viewport stretch bugs
-Fixed tilemap pixel overlap (really?)
2014-04-18 11:43:54 -03:00
jonyrock a49527540f text cursor in text editor & const in Rect2i 2014-04-17 15:30:40 +04:00
Juan Linietsky ec4ef2d2e7 -Added google play services (needed for some stuff)
-Added new screen resizing options, stretch_2d is removed, new much more flexible ones.
-Fixed bug in viewport (can create more instances in 3d-in-2d demo now)
-Can set android permissions and screen sizes manually in the export settings
-Changed export templates extension to .tpz (too many people unzipped the manually..)
-File dialog now ensures that the proper extension is used (will not allow to save without it)
-Fixed bug that made collision exceptions not work in 2D
2014-04-14 22:43:44 -03:00
jonyrock 89568b9017 home button like & whitespace 2014-04-10 19:57:20 +04:00
Juan Linietsky c74d918d57 Merge branch 'master' of https://github.com/okamstudio/godot 2014-04-10 00:19:29 -03:00
Juan Linietsky 7ea3e8267a -Fixed a few bugs in Viewport
-Made a few demos using Viewport to show it's true power!
-Fixed some start-up error messages.
2014-04-10 00:18:27 -03:00
sanikoyes 77a840e350 Merge branch 'master' into hotfix-android-unicode-ime-input 2014-04-06 21:52:47 +08:00
Juan Linietsky b4969373b3 -HttpClient: ’Content-Length’ is added to httprequest if not provided in the headers and a body exists
-expressions in GDScript can take multiple lines if inside parenthesis (python-like)
-Added \ to force linebreaks to GDscript (python-like)
-added exclude objects from raycast
-fixed crashes
2014-04-05 18:50:09 -03:00
Juan Linietsky 9f33134c93 -Support for changing fonts
-Detect when free() might crash the project and throw error
-fixed 2D Bounce in physics (3d still broken)
-renamed “on_top” property to “behind_parent”, which makes more sense, old on_top remains there for compatibility but is invisible.
-large amount of fixes
2014-04-05 12:39:30 -03:00
reduz 35b84d2c85 Merge pull request #203 from marynate/PR-fix-collisionshape2d-del-not-update
Fixed #173 #157 Update parent when deleting CollisionShape2D
2014-04-05 09:55:21 -03:00
reduz 6a737c79fc Merge pull request #211 from sanikoyes/hotfix-render-altas-texture-sprite
fix render sprite used atlas texture position error
2014-04-05 09:42:55 -03:00
reduz 368a14b500 Merge pull request #239 from sanikoyes/hotfix-add-new-anchor-options
Add anchor options "Center"
2014-04-05 09:27:43 -03:00
marynate 4676aac335 Fix #240 TouchScreenButton release signal is not valid 2014-04-02 15:48:02 +08:00
sanikoyes 9174ac7386 Add anchor options "Center" 2014-03-31 19:02:21 +08:00
sanikoyes 61179e82c7 fix atlas texture algo 2014-03-19 21:02:17 +08:00
sanikoyes bc4e37b132 fix a mistake 2014-03-19 15:55:12 +08:00
sanikoyes 3037b3f6dc fix render sprite used atlas texture position error 2014-03-19 15:43:56 +08:00
marynate ad9bf69283 Fixed #173 #157 When CollisionShape2D deleted, parent CollisionObject should get updated as well 2014-03-15 14:03:51 +08:00
Juan Linietsky 0a717ffee2 Merge branch 'master' of https://github.com/okamstudio/godot
Conflicts:
	modules/multiscript/register_types.cpp
	platform/android/java/src/com/android/godot/GodotLib.java
2014-03-13 23:14:35 -03:00
Juan Linietsky 31ce3c5fd0 -fix bug in cache for atlas import/export
-fix some menus
-fixed bug in out transition curves
-detect and remove file:/// in collada
-remove multiscript for now
-remove dependencies on mouse in OS, moved to Input
-avoid fscache from screwing up (fix might make it slower, but it works)
-funcref was missing, it's there now
2014-03-13 22:57:24 -03:00
sanikoyes 51429bd8d6 fix android can't input unicode characters
fix hide soft keyboard by press 'back' button,
 then click current focus text edit/line edit control,
 soft keyboard won't show again

add features:
  press enter key with line edit control will hide soft keyboard
2014-03-13 16:58:03 +08:00
reduz b657d2df90 Merge pull request #151 from marynate/PR-fix-line-edit-bind-select
Fix LineEdit select method binding
2014-02-28 14:50:50 -02:00
marynate 8fb19e5843 Auto select custom property value field when pop up, user can start typing to change value right away. 2014-02-27 22:19:30 +08:00
marynate 3985660ca4 Fix LineEdit select method binding 2014-02-27 22:17:40 +08:00
Juan Linietsky ed6d9463d2 -Added ATITC texture support
-Fixed bug of some tabs showing wrong names
-Exported properties for viewport
2014-02-26 10:08:17 -03:00
Juan Linietsky b2ce682f6e -scripts are converted to bytecode on export
-fix bug in doc where touchscreen events were not documented
2014-02-25 09:31:47 -03:00
Juan Linietsky 51609ffc04 -fixed bug importing skeletons 2014-02-23 10:35:05 -03:00
Juan Linietsky c45daa5604 ho 2014-02-23 09:22:21 -03:00
Juan Linietsky 7ca29bfaa7 -added kinematic body
-added kinematic body demos
2014-02-22 20:28:19 -03:00
okamstudio b98da14f0f Merge pull request #116 from olifly/master
Added function "get_tiles_ids" to TreeSet.
2014-02-20 23:40:26 -02:00
Juan Linietsky 51c55b237b wtf 2014-02-19 18:09:52 -03:00
Olafur Haukur Flygenring c78a06536e Merge remote-tracking branch 'upstream/master' 2014-02-19 20:52:07 +00:00
Juan Linietsky d7d65fa2f2 -improved physics ccd
-html5 exporter works again
-disable repeat on image loader by default
-can change shape offset en tileset, texture offset was broken
2014-02-19 11:57:14 -03:00
Olafur Haukur Flygenring ec448845e2 Added function "get_tiles_ids" to TreeSet. 2014-02-18 09:49:34 +00:00
Juan Linietsky 8c1731b679 -project settings are saved when changed
-load() was in the GDScript docs but missing in the scripting-different music for platformer 2D and 3D
-fix how documentation is generated, built in doc browser should be always up to date
-copypaste, scrolling, etc in  builtin doc
-built-in scripts get saved now (though debugger may not always work on them)
-Theme can be set to controls as a property
2014-02-15 21:16:33 -03:00
Juan Linietsky 9afdb3e0ad -fixed bug in Button now exporting font property
-made GUI Theme editor usable
-editor does not allow to export or create .pck in the same path as a project
-changed .pck format (lacked support for versioning so couldn't change it), previous was causing crashes and is now incompatible, just re-export.
-will not look for .pck files recursively, was causing unexpected behaviors
-fixed execution of Godot in paths with non unicode characters in Windows, OSX and Linux.
2014-02-15 02:02:41 -03:00
Juan Linietsky b607687a31 Merge branch 'master' of https://github.com/okamstudio/godot 2014-02-13 18:06:53 -03:00
Juan Linietsky 58cda02a38 -fixed export templates not loading/exporting on Windows
-fixed TouchScreenButton with stretch2d
-fixed(?) OSX crash on startup (test!!)
-compilation fixes on windows
-CollisionPolygon editor works again
-find buttons en find dialog
-TileMap editor cleanup (removed "error", made nicer)
-viewport flicker fixed
-make .scn default extension for saving scenes
-export the rest of the network classes to gdscript
2014-02-13 18:03:28 -03:00
okamstudio 4e2c81bd4e Merge pull request #11 from rafalcieslak/rotating-camera2d
A rotating Camera2D
2014-02-13 12:09:40 -02:00
Trent McPheron 555d3761db Disabled the slider for numeric values on the tree view. 2014-02-10 16:42:46 -05:00
rafalcieslak 0366d6cb83 Fixed accidentally broken identation 2014-02-10 14:00:26 +01:00
rafalcieslak a29bfdf912 Implemented Camera2D.Rotating property 2014-02-10 13:55:12 +01:00
Juan Linietsky 0b806ee0fc GODOT IS OPEN SOURCE 2014-02-09 22:10:30 -03:00