Aurélien Vivet
8bdc710ac4
Fix wording ( #2174 )
2021-01-05 09:12:59 +01:00
Florian Rival
e2943173be
Fix extra spaces after colon and formatting
...
Don't show in changelog
2020-12-29 22:42:53 +01:00
Aurélien Vivet
0944ba18df
Typo fix
...
Don't show in changelog
2020-12-29 22:39:17 +01:00
Aurélien Vivet
c2ab1bafed
Add an action to change the ambient color of a lighting layer ( #2149 )
2020-12-23 22:02:42 +01:00
Dhruv Kapur
ea0ba1438d
Add an expression to get the zoom of a camera on a layer: CameraZoom
( #2145 )
2020-12-20 17:43:20 +01:00
Florian Rival
0c6511ac69
Modify tags in extensions made in the editor so that they are stored as an array of strings
...
Only show in developer changelog
2020-12-17 22:08:53 +01:00
Florian Rival
71f61513de
Add support for setting a help page for extensions made in the editor
2020-12-05 16:50:09 +01:00
Arthur Pacaud
c5fe498a1f
Add a for each structure event ( #2113 )
...
* Add a for each structure event
* Apply review instructions to newIDE
* Fix naming in code generator
* Rename ForEachStructure
--> ForEachChildVariable
* Rename Structure and Variable
--> IterableVariableName and IteratorVariableName
* Delete old file
* Fix flow typing
* Remove unecessary includes
* Add key iterator, make iterators optional
* Clean up ForEachChildVariableEvent.js
* Add method on gdjs.Variable to replace children
* Add word warp to the event label
2020-11-29 18:50:07 +00:00
Florian Rival
2b156ef147
Add action to disable metrics
2020-11-26 15:27:47 +00:00
Florian Rival
a0e0fdf6e1
Add support for yes/no (or true/false) parameters for extensions made in the editor
2020-11-22 14:27:59 +00:00
Florian Rival
b42abf0cd8
Fix compilation
2020-11-20 09:22:58 +00:00
Florian Rival
ee6043477b
Add projectUuid to help identifying projects uniquely
...
Can be useful for online services that need a way to identify a game uniquely
2020-11-18 21:59:18 +00:00
Florian Rival
deddfdc4cf
Fix ObjectVarToJSON expression not working
...
Fix #2097
2020-11-16 23:03:49 +00:00
Florian Rival
057c0a1d13
Add support for the Asset Store on the desktop app
...
Also:
* Automatically download resources when a project made on the web-app is opened on the desktop-app
* Rework loader for when opening a project or launching a preview
* Shorten names for resources added from the resource store, in the web-app
2020-11-12 21:14:18 +00:00
Florian Rival
04c2abd508
Remove "projectFile" field from the project json files
2020-11-08 20:46:13 +00:00
Florian Rival
fe312e0bf6
Add action/condition/expression to change the default Z order of objects created on a layer
2020-11-07 15:33:17 +00:00
Florian Rival
ad22a83680
Set objects created from events Z order so that they appear in front of objects that were on the scene at its startup
2020-11-07 15:33:17 +00:00
Florian Rival
ac32b677b0
Remove deprecated fields from project serialized json
...
Don't show in changelog
2020-11-07 15:33:17 +00:00
Florian Rival
64996b5f7d
Add an editor showing properties and effects for a layer (lighting layer or not)
2020-11-07 00:30:21 +00:00
Florian Rival
aaec53faaa
Allow extensions to have icons set from an icon library
2020-11-03 22:16:22 +00:00
Florian Rival
f6145f4c4e
Add various expressions to get angles and distances between positions or objects ( #2062 )
...
* Add `DistanceBetweenPositions`, `AngleBetweenPositions`, `Object.AngleToObject`, `Object.AngleToPosition`, `Object.DistanceToPosition`, `Object.SqDistanceToPosition`.
2020-10-26 21:43:43 +00:00
Aurélien Vivet
0a501f5a3c
Rename the action Global color to Tint ( #2057 )
...
Don't show the rest in the changelog:
Because global color is false and misleading.
2020-10-26 14:53:18 +01:00
Aurélien Vivet
df94a4d0fb
Minor fixes ( #2049 )
...
Don't show in changelog
* Fix names functions from Tween-test example
* Typo movement
* The word was sticked on crowdin.
2020-10-25 15:04:33 +01:00
Florian Rival
bb2ae1a914
Replace "return true if" by "check if" in description of conditions
...
Don't show in changelog
2020-10-17 11:25:16 +01:00
Florian Rival
8c6b9ef044
Add a basic Asset Store for the web-app
2020-10-14 23:36:21 +01:00
Arthur Pacaud
cb36057014
Add condition to check if the game is in fullscreen mode ( #1992 )
2020-09-20 14:00:35 +02:00
Florian Rival
5d091c0a87
Add multiple light objects fixes ( #1929 )
...
Don't show in changelog
2020-08-29 18:52:36 +01:00
Florian Rival
59c9812208
Only add the AdMob plugin when the AdMob App Id is set ( #1940 )
...
Don't show in changelog
2020-08-24 22:54:51 +01:00
Florian Rival
62117e42d9
Make the action to send a web request "asynchronous" (not blocking the game execution) ( #1937 )
...
* The result from the request is stored in the specified variable (and any error in a second variable)
* This avoids blocking the game execution while the request is being made, and allow multiple requests to be made at the same time.
2020-08-24 20:51:37 +01:00
Arthur Pacaud
cafa0d512f
Allow extensions to declare dependencies (npm, cordova...) and custom properties in the project ( #1717 )
...
Only show in developer changelog
2020-08-24 20:51:10 +01:00
Harsimran Virk
6beea7bfaf
Changed default ambient light color to (200, 200, 200)
2020-08-20 19:39:11 +05:30
Harsimran Singh Virk
b7902bb141
Add support for dynamic 2D lights ( #1881 )
...
* This adds a **Light** object that can be added on the scene, with a customizable color and radius.
* Add the **Light Obstacle** behavior to the object that must acts as obstacle (walls, etc...) to the lights.
* You can customize the ambient color of the rest of the scene from almost white (useful to show light shadows) to entirely black (useful for horror/exploration games) or any color.
* Use effects on the "Lighting" layer like "Kawase Blur" to achieve soft shadows.
2020-08-17 17:48:26 +02:00
Florian Rival
09bedc6ce5
Ensure events generated code is stable across code generation.
...
This is done by given unique identifiers to "Trigger Once" conditions (stable given the same object in memory) and events list function names (stable given events with same content).
This avoids useless hot-reloading and re-triggering Trigger Once conditions after a hot-reloading.
Don't show in changelog
2020-07-25 14:23:01 +01:00
Florian Rival
c385aae845
Add support for "hot reloading" of previews (apply changes to preview without restarting)
2020-07-25 14:23:01 +01:00
Florian Rival
3a9f896f04
Add hot reloader (electron app only)
2020-07-25 14:23:00 +01:00
Florian Rival
2851a20787
Add persistentUuid to gd::InitialInstance
2020-07-25 14:22:59 +01:00
Arthur Pacaud
693b64cddf
Fix documentation typo ( #1882 )
...
Don't show in changelog
2020-07-20 16:53:55 +01:00
Florian Rival
815bd92469
Remove implementation of StrRFind/StrRFindFrom
...
Don't show in changelog
2020-07-19 15:42:06 +01:00
Aurélien Vivet
8685defaa8
Rename StrRFind and StrFindFrom to StrFindLast and StrFindLastFrom ( #1859 )
2020-07-19 15:27:47 +01:00
Florian Rival
9b178bc985
Fix "Remove Unused Images" removing images used by BBText object
...
Don't show the rest in changelog:
* More generally, fix resources exposed by any object declared in JavaScript
* Refactored GetProperties (and UpdateProperty) across behavior/object/behavior shared data to remove the dependency on gd::Project.
2020-06-23 22:40:38 +01:00
Florian Rival
eb2da55504
Prevent a behavior to be selected in a function parameter if it's incompatible with the object
2020-06-13 23:51:33 +01:00
Florian Rival
5f1a7bd72d
Fix behaviors not working in an extension function when named differently than in the object
...
Fix #1796
2020-06-11 22:04:24 +01:00
Florian Rival
c57e172299
Fix crash when removing all the child variables of a structure variable
...
Fix #1789
2020-06-04 19:56:11 +02:00
Florian Rival
788d557f0e
Fix dead code and project stripping
...
Don't show in changelog
2020-05-14 20:56:02 +02:00
Quarkstar
bfef000cc6
Change a structure back to a number/string when its last child is removed ( #1677 )
2020-04-20 18:09:59 +02:00
Quarkstar
4eb8ddfba6
Fix renamed object not updated in ForEach or Repeat event ( #1654 )
2020-04-18 18:24:47 +02:00
gautamv95
988a7fdb9d
Fix typo ( #1667 )
2020-04-18 14:56:16 +02:00
Florian Rival
f84a97a4f2
Move Cursor/touch on object condition to an "object" condition
...
See #1611
2020-04-05 17:25:09 +02:00
Florian Rival
66b3ec1686
Rename IsInformative to IsExact in ExpressionCompletionFinder
2020-03-23 23:32:33 +01:00
Florian Rival
94fb2fede6
Remove dead code
2020-03-22 15:41:13 +01:00