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
d4023efe0f
Fix forgotten changes in the last commit
...
Don't show in changelog
2020-07-19 15:57:27 +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
f84a97a4f2
Move Cursor/touch on object condition to an "object" condition
...
See #1611
2020-04-05 17:25:09 +02:00
Florian Rival
eae2a06a4e
Improve export speed (~20%) by memoizing mangled names
2020-01-28 23:57:37 +00:00
Florian Rival
bff43ee771
Remove dead code related to old ExpressionParser
2020-01-27 22:08:48 +00:00
Florian Rival
61ffb40dee
Remove date from generated documentation HTML
2020-01-13 08:56:08 +00:00
Florian Rival
010b52ced6
Update documentation urls to docs.gdevelop-app.com/...
2020-01-12 18:45:39 +00:00
Florian Rival
9d3cd9f110
Add option to automatically resize game resolution to window size
...
* Also refactor:
* method names related to window/game resolution
* runtime game renderer size handling
* Update ProjectPropertiesDialog
2020-01-02 21:33:36 +00:00
Florian Rival
73f6636163
Use getter and normalize declaration of "ChangeScale"
2019-12-25 15:36:39 +01:00
Florian Rival
6108088979
Fix compilation of EffectMetadata for GDCpp
2019-12-17 09:04:00 +00:00
Bouh
8d75a8373d
Add "clamp" function ( #1283 )
2019-11-10 13:08:10 +00:00
Bouh
a714592917
Add mouse wheel support ( #1130 )
2019-07-02 08:15:39 +01:00
Florian Rival
c2b123d20b
Add NamedPropertyDescriptor
2019-06-16 17:08:55 +01:00
Florian Rival
c1e78ee1e3
Add Layer string expression to get object layer
2019-06-02 23:33:50 +01:00
Florian Rival
bf8c3312f7
Add StrEqual condition
2019-05-28 23:00:06 +01:00
Florian Rival
049483dbbd
Fix support for calling behavior methods from other behavior methods
2019-05-20 23:36:13 +01:00
Florian Rival
433dc763d1
Separate Behavior into BehaviorContent and Behavior, and add RuntimeBehavior for GDCpp
2019-05-03 22:47:21 +01:00
Florian Rival
7b69d41857
Remove useless GetCustomCodeInMain and related methods
2019-04-29 11:56:02 +01:00
Florian Rival
c3794950ab
Rename methods to declare list of objects without picking from scene, for consistency
2019-04-24 21:23:16 +01:00
Florian Rival
b9680e26e7
[WIP] Remove almost all remaining references to wxWidgets/GD4 IDE related code from codebase
2019-04-23 13:08:22 +01:00
Florian Rival
eaf9494f91
[WIP] Remove deprecated network action
2019-04-22 14:57:28 +01:00
Florian Rival
87adc2cab9
[WIP] Clean old methods used only in GD4 in objects and behaviors (3)
2019-04-21 20:52:48 +01:00
Florian Rival
d59f40ff5d
[WIP] Clean old methods used only in GD4 in objects and behaviors (2)
2019-04-21 19:40:05 +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
7f0033989a
[WIP] Partially clean GDJS/GDCpp/GDCore of wxWidgets related code
2019-04-20 01:21:28 +01:00
Florian Rival
53360bc189
Reload all extensions (including builtin) after a language change
2019-02-17 00:55:58 +00:00
Florian Rival
fc4107107b
Make parameters like objectvar use the last object (not necessarily the parameter just before)
2019-02-06 23:17:13 +00:00
Florian Rival
9c6c8564fa
Fix handling of object parameters in expressions
2019-01-28 23:16:20 +00:00
Florian Rival
df68978adc
Add edge cases fixes and fuzzy tests for ExpressionParser2
2019-01-28 23:16:19 +00:00
Florian Rival
34b5038bd5
Refactor to use the new ExpressionCodeGenerator (or old one with a flag)
2019-01-28 23:16:19 +00:00
Florian Rival
0ec6ebad07
Add ExpressionParser2 and tests
2019-01-28 23:16:18 +00:00
Florian Rival
0f24410a2e
Fix platform engine 1-pixel offset bug
...
* "Bug" is fixed by ignoring edges when doing collision tests for
the platform engine.
* Also add an option to round coordinates and ensure pixel-perfect
alignement of characters on platforms (on by default)
* Also add an optional parameter to ignore edges when
doing a collision test (or when separating objects)
2018-12-26 23:22:10 +01:00
Florian Rival
9f5b63bad9
Fix object creation in functions and add space-shooter-with-functions example
2018-10-20 18:29:36 +01:00
Florian Rival
066f2b0fea
Unload Events Functions Extensions when closing a project
2018-10-08 22:21:37 +01:00
Florian Rival
dc27d5f962
Rename gd::ClassWithObjects to gd::ObjectsContainer
2018-09-09 21:28:26 +01:00
Florian Rival
2f0d01e577
Fix compilation errors
2018-09-09 21:26:07 +01:00
Florian Rival
326ec9cac0
Abstract gd::Project/gd::Layout out of code generation
2018-09-09 16:21:35 +01:00
Florian Rival
1c24e4f14d
Fix RuntimeObject::PutAroundAPosition and gdjs.RuntimeObject.prototype.putAround
...
Positioning was not made using center of object which was making it inconsistent
with other related actions/expressions (like the expression to get distance).
2018-07-25 22:06:34 +01:00
Lizard-13
b2b3307ff7
Add RandomInRange, RandomFloat and other random functions ( #558 )
2018-07-21 19:06:26 +01:00
Florian Rival
df1fff36e4
Update GDJS documentation to add a index page and generate it from GenerateAllDocs script
2018-07-04 23:24:37 +01:00
Lizard-13
02ddea17ea
Add raycast-to-position condition ( #526 )
2018-06-18 23:50:03 +01:00
Florian Rival
dd14a2a86c
Run clang-format on some missing files
2018-05-09 16:52:27 -07: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
Florian Rival
a77f8e139f
Add Opacity expression for Sprite objects
2018-05-05 15:29:30 +01:00
Florian Rival
86e928724a
Add ObjectName string expression
2018-04-09 17:53:48 +02:00
Florian Rival
e70021d0dd
Refactor Variable/VariablesContainer and add copy/paste/delete to VariablesList in newIDE
2018-04-01 23:42:52 +02:00
Florian Rival
eb63bda7d2
[WIP] Change VariablesContainer to keep references to variables valid after a removal/move/swap
2018-04-01 20:19:54 +02:00
Lizard-13
458444ee7b
Implement collinear case
2018-02-17 16:02:13 -03:00