75 Commits

Author SHA1 Message Date
Florian Rival dea081a71d Fix AI not always aware of properties not changed properly (#8183) 2026-01-28 16:53:07 +01:00
Florian Rival e058b7f295 Add line height property for Text objects (#7769) 2025-08-07 18:47:02 +02:00
Florian Rival 37fd99e542 Add user friendly labels to select fields in object and effect properties 2025-07-03 13:09:43 +02:00
D8H cf39de49d6 Allow custom objects to declare multi-line text properties (#7436) 2025-02-28 17:23:51 +01:00
Florian Rival b27abfbe5d Add text vertical alignment in quick customzation
Don't show in changelog
2025-01-10 10:07:37 +01:00
D8H 2a2c930b74 Add vertical alignment property for text object (#6975)
- Fix proportional anchors on custom object children
2024-10-02 11:17:48 +02:00
Florian Rival 43f5bd1c0e Allow to edit object properties, behaviors, variables and effects directly from the properties panel (#6898)
* When an object is selected (or when "Edit object" button is clicked in the properties panel after choosing an instance), the properties panel will show the properties of the object.
* This allows for fast edition of most elements of an object: appearance, properties, but also behaviors, variables and effects. Most workflow and iterations on your game should be faster, from adapting the appearance of a text to tweaking behaviors and updating the preview to check the result in realtime.
2024-09-27 10:56:39 +02:00
Clément Pasteau cc371273ce Improve Quick Customization flow (#6978)
* Simplify the number of objects suggested for replacing
* Simplify the number of behavior properties suggested for tweaking
* New section to update the in-game title
* Simplify publication at the end of the flow
2024-09-23 15:07:31 +02:00
Florian Rival cea34337c6 Backport improvements made for objects panel (#6955)
Do not show in changelog
2024-09-13 15:26:49 +02:00
D8H cc24eab2aa Allow to set the text outline and shadow from the object editor (#6246)
* Avoid the shadow to be cut out.
* Fix the shadow angle action.
2024-02-08 13:11:18 +01:00
Baptiste Augrain 77320ce12e Add support for LDtk Tilemaps (#4575)
* Tilemaps made with [LDtk](https://ldtk.io/), a modern 2D level editor, can be now used directly. Make sure to save your map made in LDtk as a JSON file, create a new Tilemap object in GDevelop and in the Tilemap field, choose the LDtk file.
* Tilesets used by the LDtk Tilemap are automatically imported in your game - you don't need to import them separately.
* For more information, read about the [Tilemap object on the wiki](https://wiki.gdevelop.io/gdevelop5/objects/tilemap).

Co-authored-by: Davy Hélard <davy.helard@gmail.com>
Co-authored-by: Florian Rival <Florian.Rival@gmail.com>
2022-12-22 18:44:27 +01:00
D8H 52278180ab Allow to set the text alignment for text objects by property (#4648) 2022-12-12 14:17:16 +01:00
D8H b8e9bc801a Add a properties editor for custom objects (#4227)
* Don't show in changelogs
2022-09-02 14:13:41 +02:00
Florian Rival 1a27f689e0 Remove deprecated/unused/unmaintained GDCpp code (#2930)
* This also includes extensions code.

Only show in developer changelog
2021-08-17 14:34:58 +02:00
Florian Rival e5aac3d75d Fix crash when Text object font is set to 0 2019-08-19 00:28:10 -07:00
Florian Rival f76a661bbc Set default text color to black 2019-07-28 12:42:31 +01:00
Florian Rival edd98d8bd5 [WIP] Clean old methods used only in GD4 in objects and behaviors 2019-04-21 10:20:32 +01:00
Florian Rival 871b01124f Refactor ResourcesInUseHelper and TextObject for exposing fonts 2018-11-13 22:13:40 +00:00
Florian Rival 45d2844d8b Add FontResource and rework loading to ensure all fonts are properly loaded
* Add FontManager to the game engine, used to load and get access to loaded fonts.
* Use fontfaceobserver library to detect when a font is loaded.
* Add FontResource as a resource, like AudioResource.
* Update the TextEditor to use a selector for fonts.
* Refactor ResourceSelector floating label text
2018-11-12 23:45:01 +00:00
Florian Rival a8559bfbbc Add clang-format to format (C++) source files automatically (#491)
* Update all CMakeLists of extensions to use clang-format
* Run clang-format on all Extensions
* Update GDCore CMakeLists.txt to add clang-format
* Run clang-format on GDCore files
* Update GDJS and GDCpp CMakeLists.txt to add clang-format
* Run clang-format on GDCpp and GDJS files
2018-05-09 15:57:38 -07:00
Victor Levasseur fd67843d0d Use sf::Text::getFillColor instead of the deprecated getColor 2016-12-29 12:53:22 +01:00
Florian Rival 117722621a Change file organization in GDCpp to have a Runtime directory inside GDCpp 2016-02-09 19:42:52 +01:00
Victor Levasseur 12323965e0 RuntimeObjects ctor now takes their Object derivative as argument 2016-01-28 17:37:27 +01:00
Victor Levasseur 804e8c8718 Remove old CreateXXXObject(...) functions 2016-01-28 17:15:48 +01:00
Florian Rival e444e80493 Update copyrights year 2016-01-14 19:46:56 +01:00
Florian Rival db69c83a58 Change file organization 5 (GDCpp/Project) 2015-11-01 17:06:23 +01:00
Florian Rival e4fab74a32 Change file organization 2 (Events, Extensions + more folders) 2015-11-01 11:26:40 +01:00
Victor Levasseur cc6810e3f6 Replace unsigned int with std::size_t where it's possible 2015-08-18 18:43:39 +02:00
Victor Levasseur 0168ae15ad New Text Object editor 2015-07-29 19:00:59 +02:00
Victor Levasseur f0a9b14e73 Remove gd::String::FromXXX/ToXXX methods 2015-07-22 01:30:17 +02:00
Victor Levasseur 2a0052b207 Add gd::String::From/To template to replace all FromXXX/ToXXX() methods 2015-07-21 14:35:29 +02:00
Victor Levasseur 445e0061a7 Remove Utf8Tools.h 2015-07-17 12:05:12 +02:00
victorlevasseur 2fe320ee3b Remove GD_T() macro 2015-07-07 13:30:13 +02:00
Victor Levasseur 92ff667e7f Fix Serializer crashing if a project contains non ASCII characters 2015-07-06 22:29:00 +02:00
Victor Levasseur ad0055910b Add wxString implicit constructor and conversion operator to String 2015-06-22 10:45:04 +02:00
Victor Levasseur 24aed30d3e Add an UTF8 String class
The Text Object use it
2015-06-21 22:04:27 +02:00
victorlevasseur c4e899465a Extensions and GDJS now use GD_T where it is possible 2015-03-29 22:28:25 +02:00
victorlevasseur ca0a8774a4 Remove useless Utf8Tools duplicate from GDCpp 2015-03-02 10:59:31 +01:00
victorlevasseur 35ecff341f Can use locale strings for parameters using a function when declaring the
intruction
2015-02-15 13:19:46 +01:00
victorlevasseur b869115e84 Add UTF8 support in expressions parameters edition dialog 2015-02-15 11:55:36 +01:00
victorlevasseur 6e3772fdcc Add a function to remove invalid utf8 code points from strings 2015-02-14 14:37:45 +01:00
Victor Levasseur a39b67b042 Move UTF8 tools to another file. Add conversion between UTF8 and wstring 2015-02-14 13:06:50 +01:00
Victor Levasseur 41ac0fe2a0 Add basic support for UTF8 in the TextObject.
String expression editor now returns a std::string encoded in UTF8
Add UTF8 tools (and UTF8-CPP header library)
2015-02-14 11:34:46 +01:00
Florian Rival 64e6860718 Version bump.
Updated copyrights.
2015-01-22 21:22:01 +01:00
Florian Rival 418bae8632 Removed useless Destroy* functions for objects 2015-01-08 21:58:36 +01:00
Florian Rival 40a82c61ea Switched from LGPL and zlib/png licenses to MIT License. 2014-11-30 16:59:51 +01:00
Florian Rival 1c921efa4e Fixed typos in some method names 2014-11-16 16:19:19 +01:00
Florian Rival 7d3ada265c Replaced "Game Develop" by "GDevelop" 2014-09-24 16:25:13 +02:00
Florian Rival bbd7cd4f0b Renamed Polygon files to Polygon2d 2014-09-17 18:31:04 +02:00
Florian Rival cc019b4545 Normalize resources filenames (convert \ to /) to avoid portability issues from Windows to Linux for projects 2014-08-19 20:46:37 +02:00