Commit graph

230 commits

Author SHA1 Message Date
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
Luke Picciau 6deec0c0c2 Changed GUI text to better match action 2014-09-24 21:07:17 +09:30
Marqin 251a7a067b Fix File->Save As in Script panel 2014-09-23 01:12:44 +02: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
Ralf Hölzemer f14dd22553 Fix #395: change node name does not refresh in the inspector until you reselect it
- added missing _node_renamed function to SceneTreeDock
2014-09-21 17:56:19 +02: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
Dana Olson 5bbd9f5b4d add title to project manager window 2014-09-18 01:46:35 -04:00
Juan Linietsky 7d6b160a44 fix skeleton AABB computation, addeded shadeless view mode 2014-09-18 00:18:57 -03:00
Juan Linietsky 64b01d6ce0 Merge pull request #317 from sanikoyes/hotfix-Export-translation
Fix export translation(can't save pot file)
2014-09-17 10:52:34 -03:00
Juan Linietsky 24b545d6ea Merge pull request #544 from marynate/PR-fix-help-history
Fix bug help history overwrote by tree item selected call back
2014-09-17 10:46:20 -03:00
Juan Linietsky 02a694ff48 Merge pull request #580 from marynate/PR-fix-particles-editor-menu
Particles editor menu not display in proper position
2014-09-17 10:44:22 -03:00
Juan Linietsky 023dcd50f9 Merge pull request #593 from marynate/PR-gizmo-opacity
Add editor setting: Manipulator Gizmo Opacity
2014-09-17 10:01:33 -03:00
Juan Linietsky 2f79107b9a Merge pull request #607 from TheoXD/_reimport_anim_merge
Merge animations during reimport
2014-09-17 10:01:18 -03:00
Juan Linietsky 13f2abacd7 Merge pull request #639 from adolson/disable-auto-switch-resource-tab
Usability: don't switch to resource tab when switching to script tab
2014-09-17 09:57:34 -03:00
Juan Linietsky 7a610a5c27 Merge pull request #641 from adolson/default-project-dir
added settings for default project & export dirs
2014-09-17 09:56:49 -03:00
Juan Linietsky 11898dd475 Merge pull request #643 from adolson/custom-export-binary-path-fix
oh thanks!
2014-09-17 09:53:43 -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 f6c81bbd7b fix custom export packages for PC
also allow custom templates to reside outside of res:// for all platforms
2014-08-25 15:13:30 -04:00
Dana Olson 884b79ce0e added settings for default project & export dirs 2014-08-24 21:20:45 -04:00
Dana Olson e641752911 don't switch to resource tab when switching to script tab 2014-08-22 12:38:24 -04:00
Theo Hallenius 0dd29d0512 Forgot about keeping value tracks. 2014-08-15 03:35:31 +02: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 2693a883fa Merge pull request #595 from marynate/PR-fix-view-grid
Fixed #470 View grid toggle in 3d not working
2014-08-14 10:30:20 -03:00
tnt e0f37da057 ERR_FILE_CANT_READ -> ERR_FILE_CANT_WRITE 2014-08-13 22:31:50 +02:00
Theo Hallenius 85bccf487c Keep function callbacks, no throwing errors 2014-08-03 01:10:22 +02:00
Theo Hallenius a8c891566e Merge animations during reimport 2014-08-02 23:07:38 +02: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 f5c56f4a3d Make sure View Grid state saved with scene state 2014-07-15 15:07:29 +08:00
marynate e55ef57f62 Fixed #470 View grid toggle in 3d not working 2014-07-15 13:29:36 +08:00
marynate 95383469d3 Add editor setting: Manipulator Gizmo Opacity 2014-07-15 13:07:40 +08:00
marynate e6df7da6ab Particles editor menu not display in proper position 2014-07-10 15:42:34 +08: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
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
reduz a5af2971bb Merge pull request #504 from marynate/PR-pm-filter
Add project list filter for easy finding projects
2014-07-02 10:55:15 -03:00
marynate 0eed04904c Forgot to add SceneTreeDock::set_selected change in last PR 2014-07-02 15:34:46 +08:00
marynate 87d27bb997 Fixed when opening sub-scene by pressing sub-scene icon in scene tree, tab changed to script tab 2014-06-30 23:01:23 +08:00
marynate 002db0b125 Fix ERROR: FileAccessWindows::_get_modified_time: Method/Function Failed on windows due to accessing modifiled time of internal resource when editor gaining focus 2014-06-30 13:28:16 +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
reduz ae5b064427 Merge pull request #542 from marynate/PR-fix-resource-name-update
Fixed resource name not updated when saved in resurce dock
2014-06-29 19:07:33 -03:00
reduz 4dc7b0f3b8 Merge pull request #546 from marynate/PR-fix-pin-project-segfault
Fix #526 segfault when pinning projects
2014-06-29 19:04:46 -03:00
Juan Linietsky 8ffc113b70 Missing name on collada-imported materials 2014-06-28 09:50:20 -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
marynate de7811ab42 Fix pinning project segfault 2014-06-25 12:01:56 +08:00
marynate 4a59f683d3 Fix bug help history overwrote by tree item selected call back 2014-06-23 23:44:36 +08:00
marynate ee131f9f05 Fixed resource name not updated when saved in resurce dock 2014-06-23 01:54:21 +08: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
reduz 6cb3c94b03 Merge pull request #509 from marynate/PR-script-editor-replace-dialog
Script editor: Add selected text in replace dialog automatically
2014-06-17 11:56:09 -03:00
reduz a285708a0c Merge pull request #510 from marynate/PR-align-with-view
Align selected node with current view (3d editor)
2014-06-17 11:55:52 -03:00
reduz 59fd2c51f6 Merge pull request #512 from marynate/PR-fix-texture-preview-not-update
Fixed #185 Setting a new Texture for a Sprite node does not update preview
2014-06-17 11:55:26 -03:00
marynate b9a8c39af5 Use toolbutton for clear search term 2014-06-17 13:39:01 +08:00
marynate 8b31ae491f Move ProjectListFilter::FilterOption into private section 2014-06-17 13:38:44 +08:00
marynate 57ab93bd27 Add project list filter for easy finding projects 2014-06-17 13:38:44 +08:00
marynate 9a75d3175e Search filesystem by name or path; Remove extension filter; Use toolbutton for clear search term 2014-06-17 13:35:14 +08: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
marynate 2b6106541c Fixed #185 Setting a new Texture for a Sprite node does not update preview 2014-06-15 10:11:58 +08:00
marynate 2f79e59c00 Add align with view in 3d editor viewport (useful for aligning camera with
current view)
2014-06-13 15:59:02 +08:00
marynate eb6f7f38c0 Script editor: Put selected text in replace dialog automatically (unless selected more than 1 line); Replace textbox get focus when there's search text but no replace text; Bump up transparency of FindReplaceDialog 2014-06-13 11:32:38 +08: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
reduz 58a323e062 Merge pull request #446 from marynate/PR-fix-scons-cstringio
Use cStringIO to write editor_icons.cpp
2014-06-11 01:20:43 -03:00
reduz 09023224b6 Merge pull request #490 from macramole/master
Set project name automatically when choosing path for new projects in project manager
2014-06-11 01:12:41 -03:00
reduz b0b6f143ff Merge pull request #496 from marynate/PR-scene-dock-search
Adding search box to scene dock(file system tab)
2014-06-11 01:11:45 -03:00
reduz 3a7cbfcea6 Merge pull request #498 from marynate/PR-pm-favorite
Add pin/favorite projects in project manager
2014-06-11 01:11:17 -03:00
marynate 151df47677 Add pin/favorite projects in project manager 2014-06-10 11:05:46 +08:00
marynate e94f875788 Allow run/edit multiple projects from project manager 2014-06-10 11:03:32 +08:00
marynate 2c3d279c75 Adding search box to scene dock(file system tab) 2014-06-10 10:36:45 +08:00
leandrogarber@gmail.com 729cadad13 small feature: set project name automatically when choosing path for new projects (recommit due problem with codeblocks tabs) 2014-06-04 18:30:39 -03:00
leandrogarber@gmail.com 0be5ff50aa small feature: set project name automatically when choosing path for new projects 2014-06-04 18:15:37 -03: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 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
marynate 1e41bfa9cf Use cStringIO to write editor_icons.cpp, lower the opportunity file access conflit when buiding with spawn_jobs 2014-05-22 16:26:55 +08:00
Jonas Rudlang 6b1b3fbfa5 Added a setting to disable autocomplete popup and fixed the autocomplete timer to updated when the setting has changed 2014-05-22 00:01:11 +02:00
reduz 8bb7cc7325 Merge pull request #436 from marynate/PR-2d-uniform-scale
Add 2d unifrom scale
2014-05-20 23:10:45 -03:00
marynate 9737c02e21 Add 2d unifrom scale 2014-05-21 09:51:51 +08:00
marynate 8be3963aa0 Add pan mode in 2d editor 2014-05-21 09:47:47 +08:00
reduz a364bc4371 Merge pull request #410 from marynate/PR-hotkey-quit-to-pm
Resolve issue #406 by adding hotkey for "quit to project manager"
2014-05-20 20:46:07 -03:00
reduz fb5223a69d Merge pull request #415 from marynate/PR-auto-editor-icons-cpp
Auto generate editor_icons.cpp to make it easy to update editor icons
2014-05-20 20:45:23 -03: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 d2770ac8a6 Add sCons dependency for editor_icons.cpp, so it's only re-generated when there're icon changes 2014-05-14 10:52:08 +08:00
marynate f5421cdaf3 Auto generate editor_icons.cpp to make it more easy to update editor icons 2014-05-13 23:13:08 +08:00
marynate 30cfc0bef4 Add hotkey Shift+CMD+Q in editor for quit to project manager, resolves
issue #406
2014-05-13 10:30:10 +08:00
marynate 2614631931 User can use '.METHOD' or 'METHOD(' to seach exact method in Search Classes dialog 2014-05-13 01:57:00 +08:00
marynate 56d9faebab Make String::right count from pos instead of pos+1 2014-05-13 01:19:41 +08:00
reduz 1b45a38fb5 Merge pull request #392 from marynate/PR-delete-without-confirm
Shift+Del to delete nodes without confirmation
2014-05-11 13:19:58 -03:00
marynate 14350d2c41 Change key move behavior of canvas item editor to ignore zoom level; Add
alt + arrow key as local base move mode; Control + arrow key as local +
rotation move mode
2014-05-10 10:36:36 +08:00
marynate 763725a569 Shift+Del to delete nodes without confirmation 2014-05-10 10:35:26 +08:00
marynate 98fcb4fa7a Make visibility icon always last to display in scene tree 2014-05-09 00:20:46 +08:00
reduz 9f01f9aa95 Merge pull request #383 from sanikoyes/hotfix-Crash-In-Editor
Fix crash in editor when open new scene in editing
2014-05-08 10:32:35 -03:00
sanikoyes 6bc556dee5 Fix crash in editor when open new scene in editing
resources_dock->cleanup(); // This will delete GDScript instance (if property_editor->obj is scene's GDScript instance, editor will crash)
2014-05-08 16:24:52 +08:00
marynate 2f5c0e41b5 Add lock and group icon to scene tree editor 2014-05-08 13:46:10 +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
reduz c69c99f8be Merge pull request #375 from marynate/PR-2d-editor-F-key
Add F and CMD+F hot key for center/frame selected node(s) in 2d editor
2014-05-06 12:32:05 -03:00
marynate 61fd1ad703 Press F key in 2d editor to center view to selected node
Press Ctrl+F to frame selected nodes in 2d editor

Change Frame Selection hotkey in 2d editor from Ctrl to CMD for Mac compatability
2014-05-06 22:30:24 +08: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