Commit graph

28 commits

Author SHA1 Message Date
Rémi Verschelde 29e2182c41 2to3 exporter: Enable script conversion and option to mark changes 2018-03-16 11:48:39 +01:00
Rémi Verschelde ddeb4ff2b0 2to3 exporter: Improvements to script conversion
- Convert `move(` to `move_and_collide(`
- Convert `<identifier> extends <Node>` to `<identifier> is <Node>`
- Simplify existing regexps
2018-03-16 11:42:14 +01:00
Rémi Verschelde 7d4f5fc5c7 2to3 exporter: Fix bug converting NodePath animation tracks
All values were multiplied by -1 when only "transform/rot" values need to be.
2018-03-16 11:39:04 +01:00
Rémi Verschelde 2caaaf3abf Fix serialization of identifiers with non printable ASCII characters
Fixes #6888.

Also apply the same logic in the 2 to 3 exporter, fixes #16850.
2018-03-02 13:32:33 +01:00
Rémi Verschelde b008b17df6 2to3 exporter: Fix NodePath prop remaps in .scn
The previous fix from 13d1df2e4b was applied when writing the NodePath
as text for .tscn/.tres, and thus not used for .scn. So we move the
conversion earlier, while processing all tracks.
2018-03-01 21:55:20 +01:00
Rémi Verschelde 33e036b8c2 2to3 exporter: Add a hack to convert rotation values in Animation tracks
Fixes #16836.

Also fix the missing renames for "playback/active" and "playback/speed".
2018-03-01 21:04:59 +01:00
Ranoller 0e69815503
Fix bindings project-settings godot exporter
Bad binded names and missings ones
2018-02-24 02:40:25 +01:00
William Tumeo 1105eea1c8 Add Color and Reference Frame/Rect to type renames 2018-02-20 23:35:07 -03:00
Rémi Verschelde ddcbdbd67c 2 to 3 exporter: Fix conversion to rotation_degrees 2018-02-19 16:56:59 +01:00
Anish fd1703922c Godot 2 to 3 exporter changes file extensions.
Exporter now converts the 3 letter resource file extensions to the new
longer extensions.

Resolves: #16684
See also: #9199
2018-02-14 22:08:51 +05:30
Rémi Verschelde 3102dc17ee
Merge pull request #13437 from xsellier/bugfix/mouse-cursor-lag
Implement hardware cursor acceleration for Godot Engine 2.1
2018-01-03 08:36:44 +01:00
Rémi Verschelde 2712014744 Update copyright statements to 2018
Happy new year to the wonderful Godot community!
2018-01-02 11:27:24 +01:00
Xavier Sellier 377fdc1e33 Hardware cursor implementation for Godot Engine 2.1
- Remove all references to the variable 'custom_mouse_cursor_hotspot' and 'custom_mouse_cursor' from the project settings.
- Indeed, to implement a custom cursor we need to define a sprite for each 'state' of the cursor. Using those variables in the projects settings would define only the _main_ cursor.
- Cleanup the VirtualServer (Remove references to cursor_set_visible, cursor_set_texture and cursor_set_pos)
- Cleanup the Input (set_mouse_in_window should not be used anymore)
- Update the documentation
- Implement it for windows, X11, Javascript, BB 10, OSx, iOS, server, android
- NOT IMPLEMENTED FOR WINRT (As of today, I'm not able to implement this one, this post might help)
- NOT IMPLEMENTED FOR HAIKU (Support of this platform seems perfunctory)
- Build it for Windows, Android and OSX
2017-12-15 11:37:36 -05:00
Marcelo Fernandez cecc893702 Added an experimental convert scripts option for godot3 export 2017-10-09 14:36:11 -03:00
Andreas Haas 1a934a58e4 Merge pull request #11870 from marcelofg55/main_scene_export
Fix godot3 exporter main_scene conversion
2017-10-06 19:59:57 +02:00
Marcelo Fernandez 1f411d7e22 Convert filter/gen_mipmaps on godot3 exporter 2017-10-06 12:04:52 -03:00
Marcelo Fernandez 6747c2b3e8 Fix godot3 exporter main_scene conversion 2017-10-06 10:03:06 -03:00
Marcelo Fernandez 2f49e553f0 Godot3 Exporter now converts .fnt to .font 2017-10-05 22:50:43 -03:00
Rémi Verschelde 9d598833d2 Use HTTPS URL for Godot's website in the headers 2017-08-27 14:11:45 +02:00
Rémi Verschelde 479c5ba754 Some fixes to 2 to 3 exporter 2017-08-16 17:52:03 +02:00
ISylvox de55a0076c Several enhancement for 'Godot 2 to 3' project exporter. 2017-08-01 08:10:21 +07:00
Rémi Verschelde 63a9b02131 Fixes to the 2to3 project exporter 2017-07-15 16:50:49 +02:00
Juan Linietsky 920f216a14 Small exporter fixes 2017-06-29 07:29:48 -03:00
Rémi Verschelde 13d1df2e4b Fixes to 3.0 exporter: fix rotations, remap animation tracks
Also fixed some spacing issues to better match to .tscn format as written
by Godot 3.0.
2017-05-01 23:09:38 +02:00
Rémi Verschelde f9bde9ddf7 Adapt Godot 3 exporter to new project file extension 2017-04-20 01:55:54 +02:00
Rémi Verschelde a7a5ac596e Godot3 exporter: Convert engine.cfg properly
Use a map to keep track of renamings as done for other properties.
The saving is a bit hackish, there might be simpler solutions.
2017-04-09 02:11:36 +02:00
Rémi Verschelde f8db8a3faa Bring that Whole New World to the Old Continent too
Applies the clang-format style to the 2.1 branch as done for master in
5dbf1809c6.
2017-03-19 00:36:26 +01:00
Rémi Verschelde 1b0e2b0c39 Refactoring: rename tools/editor/ to editor/
The other subfolders of tools/ had already been moved to either
editor/, misc/ or thirdparty/, so the hiding the editor code that
deep was no longer meaningful.

(Manual redo of 49c065d29c)
2017-03-18 23:45:45 +01:00
Renamed from tools/editor/editor_export_godot3.cpp (Browse further)