D8H
83a390089d
Add an expression to use Tween easing functions ( #3605 )
...
* This is useful to do easing with other formulas rather than the classic "lerp".
2022-02-09 10:05:42 +01:00
Aurélien Vivet
f4c730f5fd
Fix help buttons for some objects ( #3601 )
2022-02-07 19:49:42 +01:00
Florian Rival
2c4fa1d1c2
Switch the game engine documentation to TypeDoc ( #3593 )
...
* This adds link between types, a more readable rendering, a better search and, more generally, makes the [game engine documentation](https://docs.gdevelop-app.com/GDJS%20Runtime%20Documentation/index.html ) much easier to browse.
2022-02-03 13:58:44 +01:00
Florian Rival
5d2e0786ee
Sort actions/conditions in categories add icons to their groups ( #3583 )
...
* This should make it easier to identify and find actions/conditions. Categories give more clarity and icons help to identify what's available without reading everything.
2022-02-03 11:45:53 +01:00
D8H
1b417a4f27
[Light] Remove the dependency from LightRuntimeObjectPixiRenderer to BehaviorRBushAABB ( #3580 )
...
Only show in developer changelog
2022-02-02 09:02:00 +01:00
D8H
aabe249ffb
[PathFinding] Remove the dependency from PathfindingRuntimeBehavior to BehaviorRBushAABB ( #3579 )
...
Only show in developer changelog
2022-02-02 08:59:58 +01:00
Florian Rival
43d55112cc
Display objects in categories when creating a new object ( #3562 )
...
Don't show in changelog
2022-01-29 16:02:34 +00:00
D8H
7d8b9190af
Add an option for Platformer objects to automatically grab platform ledges ( #3555 )
...
* Platform ledges can be grabbed without having the left or right key pressed when this option is activated
2022-01-27 15:07:43 +00:00
D8H
22b117d2b3
Add an option to allow the platformer objects to go down from a jumpthru ( #3546 )
...
* When activated, you can press the Down key and the character will fall from the jumpthru.
2022-01-26 15:42:23 +00:00
D8H
22f66c3297
Add developer documentation about jump trajectory theory in the Platform extension ( #3550 )
...
Only show in developer changelog
2022-01-25 15:17:58 +00:00
D8H
bd2ff786e2
Add an action to change the current horizontal speed of a Platformer object ( #3539 )
2022-01-24 16:44:47 +00:00
D8H
55852f478b
Always stop the character vertically when the jump is aborted ( #3544 )
...
* Also add a small test on abortJump.
* Also try to make descriptions more standard.
Don't show in changelog
2022-01-23 22:56:19 +00:00
D8H
f93ce55125
Add actions to abort a jump and change the fall speed immediately of a platformer object. ( #3537 )
...
* This is useful to allow to "dash" toward the ground.
2022-01-23 14:47:34 +00:00
D8H
1c18beb68f
Add a parameter "try to preserve the current air speed" in the "max falling speed" action for Platformer object. ( #3534 )
...
* This is useful to allow "gliding" or reducing the fall speed (for wall sliding) without riskying the object to go back up in the air.
2022-01-23 13:19:50 +00:00
D8H
6da11cf0ed
Fix jumping again disallowed when a platformer object is falling, even if jumping was allowed again at the beginning of the jump ( #3495 )
2022-01-23 12:29:17 +00:00
Florian Rival
16b4c76d8e
Remove duplicate "Angle" action and condition for Tiled Sprite objects
...
Fix #3522
2022-01-22 22:22:35 +00:00
Florian Rival
e583556a4d
Group fields inside some object editors to make it easier to find them and quickly understand their usage
2022-01-22 19:49:52 +00:00
D8H
0fd9173069
Improve consistency of behavior descriptions by starting them with a verb. ( #3484 )
2022-01-17 17:05:37 +00:00
D8H
d1a68aa0be
Reorganise some platformer actions/conditions/expressions in different groups ( #3491 )
2022-01-15 11:41:14 +00:00
D8H
d2f98deb63
Fix the new key pressed condition in the Platformer behavior ( #3492 )
2022-01-14 17:10:58 +00:00
Aurélien Vivet
4bd770a61e
Fix some typo in the interface or codebase ( #3483 )
2022-01-12 21:39:37 +00:00
D8H
fa40299343
Remove an only in tests ( #3474 )
...
Don't show in changelog
2022-01-11 13:28:50 +00:00
AlexandreS
1f19be3ec2
Fixes presence of ghost collision masks for objects with platform behavior
...
Co-authored-by: D8H <Davy.Helard@gmail.com >
2022-01-08 11:55:33 +00:00
Aurélien Vivet
ad3c7e4fad
Fix typo ( #3434 )
...
Do not show in changelog
2022-01-06 10:05:13 +01:00
D8H
ae6a77da9f
Improve calculations for the Platformer to make it more precise ( #3417 )
...
* This makes the movement less prone to approximations when there is a drop in FPS, making your game more precise.
2022-01-03 16:19:17 +01:00
D8H
cff585ed55
Improve calculations for the Pathfinding to make it more precise ( #3421 )
...
* This makes the movement less prone to approximations when there is a drop in FPS, making your game more precise.
2022-01-02 19:28:03 +01:00
Arthur Pacaud
79a4162ad0
Add logs to audio actions when trying to manipulate a sound/music on a non-existing channel ( #3241 )
...
Only show in developer changelog
2022-01-02 14:59:42 +01:00
D8H
439d185ce8
Add a condition to the Platformer character behavior to check if a control is pressed (or simulated) ( #3406 )
2021-12-28 10:09:04 +01:00
D8H
fa5671a3ee
Improve calculations for the Top Down movement behavior to make it more precise when accelerating or decelerating ( #3412 )
...
* This makes the movement less prone to approximations when there is a drop in FPS, making your game more precise.
2021-12-28 09:57:10 +01:00
D8H
eb6628af49
Add 2 tests for Platformer jump at 30 fps and 120 fps. ( #3408 )
...
Only show in developer changelog
2021-12-27 09:03:04 +01:00
D8H
fc6082c35b
Add support for rotating, scaling and flipping a Shape Painter object ( #3402 )
...
* A custom center point can be set (and will be at the center of the drawing if not specified).
* The collision mask is now a rectangle surrounding what is drawn on screen.
* If this changes something in your game, or you want another collision mask, you can use the action to set a custom rectangle as the collision mask of the object.
2021-12-26 22:13:51 +00:00
Aurélien Vivet
5693b257c0
Fix the expression to get the user home path ( #3400 )
2021-12-23 15:14:42 +01:00
D8H
b3e0540fed
Group properties in some behaviors for enhanced clarity ( #3373 )
...
* Also allow custom behaviors made in the editor to define property groups.
2021-12-22 17:10:06 +00:00
D8H
c055fbcb3c
Split the Platformer tests in 5 files ( #3360 )
...
Only show in developer changelog
2021-12-15 11:57:43 +01:00
D8H
ba687aa60c
Allow grid based object to optimise collision checks ( #3245 )
...
* Allow to get the hit boxes for a given area.
* Also remove useless array and wrong sharing of vertices in Light object renderers
Only show in developer changelog
2021-12-10 15:16:12 +00:00
Clément Pasteau
4d8e835b9a
Fix light textures sometimes not behaving properly when close to an obstacle
2021-12-10 14:45:02 +01:00
Florian Rival
816dc8cc74
Fix tweens automatically deleting the object sometimes affecting newly created objects ( #3321 )
2021-12-02 09:40:14 +00:00
Arthur Pacaud
106549e5fa
Allow usage of custom ICE servers in the P2P extension ( #3301 )
2021-12-01 20:08:25 +00:00
Clément Pasteau
db60151150
Fix Tiled Sprite being incorrectly displayed (pixelated) when the X/Y offset was too large ( #3287 )
2021-11-24 14:05:04 +00:00
Arthur Pacaud
2f933f2cad
Refactor the implementation of the Tween behavior ( #3218 )
...
Only show in developer changelog
2021-11-20 12:37:32 +00:00
D8H
86cad60194
Fix platforms sometimes not properly detected when rotated and at the edge of the scene ( #3260 )
2021-11-19 09:32:24 +00:00
D8H
5d3f207216
Add major improvements to the platformer engine to better handle slopes and moving platforms ( #3009 )
...
* The characters on platform are no long stopping when going from one rotated platform to another.
* Platforms going up and down are now properly handled by characters - they won't fall or vibrate like before. You can now freely use platforms doing any movement and characters will stay on them and can move freely on them.
* Characters Y position will now stay stable when moving on a flat platform and between jumps.
* Note that if you use the collision condition to check if an object is touching a platform, you should instead use the condition "Is object on given floor": this will always work consistently.
2021-11-11 16:11:02 +00:00
Florian Rival
a3fdeec6a7
Refactor gdjs.Logger to allow disabling specific log groups in the console ( #3204 )
...
* This reduces the logs during GDJS tests, as this was cluttering the
terminal.
Only show in developer changelog
2021-10-27 11:39:36 +01:00
Arthur Pacaud
bc606ed1be
Add a console to the games debugger ( #2770 )
...
* When launching the Debugger to inspect a game, open the Console to see internal messages sent by the game, JavaScript code or the game engine.
* This is an advanced feature that is useful to find issues in your game or to see if your game is displaying any internal error.
2021-10-21 19:47:28 +01:00
D8H
107410f0a4
Improve typing and simplify implementation of Linked Objects' getObjectsLinkedWith function ( #3180 )
...
Only show in developer changelog
2021-10-21 09:42:34 +01:00
D8H
b7b95d5e09
Add new tests for the platformer engine to prepare for the upcoming changes ( #3176 )
...
Only show in developer changelog
2021-10-20 15:40:01 +02:00
AlexandreS
a470e9b86c
Fixes an issue with ghost instances of behaviors (light obstacle and pathfinder obstacle)
2021-10-20 10:45:01 +02:00
AlexandreS
a4ac323e63
Only show the operators that can be actually used in actions/conditions for strings ( #3156 )
...
* For strings/texts, only = and ≠ can be used for comparisons, and "set to"/"add to" for modifications.
2021-10-08 17:14:02 +01:00
Aurélien Vivet
d980400c2b
Add "FontSize" expression for Text objects ( #2974 )
2021-10-03 15:50:30 +01:00
MechanicalPen
e235694fac
Fix conditions comparing Dialogue Tree variables to work even if the dialogue is not running ( #3127 )
2021-10-03 12:07:33 +01:00