Commit Graph
1397 Commits
Author SHA1 Message Date
Davy Hélard e60545c146 Remove the objectType attribute from ParameterMetadata and keep the one in ValueTypeMetadata. 2023-07-20 14:40:03 +02:00
Davy Hélard 968c6be9d7 Fix Core tests. 2023-07-20 14:40:02 +02:00
Davy Hélard 3b28cc6c63 Fix code generation. 2023-07-20 14:40:01 +02:00
Davy Hélard 8c83677671 WIP: add an ObjectType class. 2023-07-20 14:40:01 +02:00
Davy Hélard b47d38d75b Fix dimension expressions. 2023-07-20 14:40:00 +02:00
Davy Hélard 592c5555c3 Fix animations. 2023-07-20 14:40:00 +02:00
Davy Hélard 05671dd8b8 Add a todo. 2023-07-20 14:39:59 +02:00
Davy Hélard 47835c7a99 Add group icons. 2023-07-20 14:39:59 +02:00
Davy Hélard f840a337ce Remove some expression declarations as they could hide the one from the BaseObject. 2023-07-20 14:33:33 +02:00
Davy Hélard 03186b66fb Fix some newIDE tests. 2023-07-20 14:33:33 +02:00
Davy Hélard 483d768962 Make core tests pass. 2023-07-20 14:33:32 +02:00
Davy Hélard 568b2cd129 Fix side effects of suffixing object types with capabilities. 2023-07-20 14:33:32 +02:00
Davy Hélard d1b2a4d9d2 Filter object selector list. 2023-07-20 14:33:32 +02:00
Davy Hélard a8fafef48e Add the animable capability. 2023-07-20 14:33:31 +02:00
Davy Hélard 3cfd831d45 Declare capabilities. 2023-07-20 14:33:31 +02:00
Davy Hélard b305acddba Declare common instructions for size and scale. 2023-07-20 14:33:31 +02:00
AlexandreS 3286722b6a Enable search and replace in For each object events and Javascript events (#5477) 2023-07-13 17:09:00 +02:00
Clément Pasteau 90d8afb5a0 Calculate Sprite collision masks automatically (#5447)
* Sprites now have an option to calculate their collision mask automatically, based on the first image of their first animation
* The generated collision mask consists of the biggest rectangle possible, encapsulating the image and avoiding transparent pixels
* This option is enabled by default for all new sprites, and can be disabled to create a custom collision mask like before
* When enabled, the mask will adapt automatically when the first image is updated
2023-06-30 15:33:50 +02:00
D8H 90413b842d Move event-based extension metadata generation from newIDE to GDJS (#5255) 2023-06-29 20:18:51 +02:00
supertree-wook ee22b2e4b1 Upgrade CMake minimum version and improve CMake code (#5446)
Only show in developer changelog
2023-06-28 12:01:05 +02:00
D8H 318099504c Handle 3D models in the asset store (#5427) 2023-06-21 14:46:34 +02:00
supertree-wook 8851be03a3 Fix typos here and there (#5253)
Only show in developer changelog
2023-06-21 12:41:17 +02:00
D8H 20c3d62c90 Add the support for animations on 3D models (#5302)
- Breaking change: fix 3D models that were mirrored on Y axis.
  - In case some models look upside-down, they can be fixed by adding 180° to the "Rotation around Y axis" property.
- Handle custom origin and center.
2023-06-13 12:42:46 +02:00
D8H 255ef1d8ef Add an antialising setting for 3D (#5381) 2023-06-08 09:57:34 +02:00
Florian Rival a578fa32e9 Add support for 3D objects in editor (#5357) 2023-06-01 12:17:20 +02:00
supertree-wook 5ff51351af Fix typo in description of StrFindLastFrom (#5363) 2023-05-31 09:57:13 +02:00
Aurélien Vivet 24ff670886 Make more visible the actions and condition to Save and Load the of a game.
- Replace the actions and conditions "Write a value" by "Save a value", and "Read a value" by "Load a value".
2023-05-25 13:39:06 +01:00
Clément Pasteau a744b88c5c Rework objectGroupsContainer to contain references, avoiding possible wrong memory accesses (#5329)
Do not show in changelog
2023-05-23 14:22:39 +02:00
D8H 2847601fc5 Add an alert when event-functions only call themselves (#5324) 2023-05-23 12:09:56 +02:00
AlexandreS 91adaac722 Fix random color used in transparent sprites in 2D+3D rendering (#5314) 2023-05-19 17:39:17 +02:00
Aurélien Vivet 714a9f1198 Add a condition to check if a scene exists (#5297) 2023-05-19 09:24:15 +02:00
AlexandreS d0f39027af Slightly lighten project file when lots of comments are present in the events sheets (#5299) 2023-05-17 16:45:19 +02:00
AlexandreS cf374737fc Add support for built-in 3D games (#5285)
* This provides new 3D objects: 3D Box (perfect to create walls, floors, or billboards) and 3D Model (to import objects created in a 3D modeling app).
* 2D and 3D can be mixed in a same game. Each layer of a game can contain 2D objects, 3D objects or a mix of both.
* This allows to build 2D games, 2.5D games and full 3D games: platformers, racing games, FPS, hyper casual games. It's easy to start adding 3D objects to an existing 2D game.
* You can set up a light by adding an ambient light and/or directional light in the effects of a 3D layer. 3D objects can be configured to react to light or ignore it.
* In the future, support for 3D objects will be improved: light objects, animations, etc...
2023-05-16 17:37:49 +02:00
supertree-wook c00d75f047 Fix typo in comments and message strings (#5287) 2023-05-12 22:20:27 +02:00
supertree-wook 8fb139ff63 Rename the readme and license files to match standard (#5272)
Do not show in changelog
2023-05-04 09:22:12 +02:00
D8Handsupertree-wook 94045aec91 Fix typo in comments and message strings (thanks @st-Wook!) (#5262)
Co-authored-by: supertree-wook <[email protected]>
2023-04-28 11:58:51 +02:00
supertree-wook 21a87daf64 Clean markdown files and fix typos (#5248)
Only show in develop changelog
2023-04-20 16:22:46 +02:00
DaddyPluM 4e0e4b9184 Rename license.txt to license.md (#4783)
Don't show in the changelog
2023-04-15 16:00:16 +02:00
D8H e77e1fb840 Allow event extensions to declare variable parameters (#5220) 2023-04-13 13:48:47 +02:00
D8H f89a48fb2c Allow to lock layers in the editor (#5226) 2023-04-13 10:18:54 +02:00
D8H bb0fe0ea37 Allow to copy and paste behaviors from one object to another (#5205) 2023-04-12 10:38:27 +02:00
D8H 23ce46439a Show invalid resources errors in the event sheet (#5218) 2023-04-09 18:50:43 +02:00
D8H 73e1ea5ff1 Fix missing errors when a variable name is used alone in an expression (#5203) 2023-04-05 12:01:43 +02:00
D8H e8687119c9 Fix errors not being displayed in expressions when an object or a behavior doesn't exist (#5146)
* GDevelop will now warn when an object (or group of objects) written in an expression is misspelled or does not exist in the scene.
2023-03-27 13:55:23 +02:00
D8H 9c09e26aaa Fix the Not condition to handle its last sub condition correctly (#5074) 2023-03-27 13:29:27 +02:00
D8H b94ce2b20d When renaming or removing an object, only refactor associated external events (#5155)
* The editor used to refactor every events that were used in the object layout even if they were associated to another layout which could result to errors.
2023-03-27 12:55:00 +02:00
Clément Pasteau c7e42d1e88 Improve the selection of a layer in an instruction (#5119)
* The layer selection is now done via a dropdown by default, with the possibility to switch to an expression
2023-03-21 12:11:45 +01:00
D8H e7d213534e Revert: Report errors in expressions when an object or a behavior doesn't exist (#5118) (#5134)
Do not show in changelog
2023-03-20 15:08:40 +01:00
D8H 859b1d0a1c Refactor events when project elements are renamed (#5031)
* Project elements are: scenes, external layouts, external events, layers, layer effects, object effects, sprite animations and sprite points.
2023-03-20 12:02:36 +01:00
D8H 8f45642a25 Fix the "pick all" and "pick a random" conditions when they are used in functions (#5128) 2023-03-19 13:24:24 +01:00