Gdevelop: Multitouch default expression incorrect to the syntax checker

Created on 14 Mar 2020  路  8Comments  路  Source: 4ian/GDevelop

Describe the bug

In a position field, I picked the _Touch X position_ from the expression button, I left the layer and camera fields empty, and it triggers an error.

image

Win10 64-bit
GD5b89

馃悰 bug 馃憣good first issue

Most helpful comment

If anyone is interested to look at this => FormatExpressionCall.js is surely a good starting point.

All 8 comments

Yes, we should probably not add these empty parameters when they are:

  • optional
  • at the end of the expression
  • and empty :)

If anyone is interested to look at this => FormatExpressionCall.js is surely a good starting point.

Could you describe a way to replicate this error?

Click on Add action
Choose the Create an object action
Click on the blue button on the right of the X position field.
Choose Multitouch.
Choose Touch X position.
Don't fill the layer and camera fields.
Confirm.

Could you describe a way to replicate this error?

I wanted to take up this issue.
I cloned, installed the node modules inside the newIDE and did npm start, this launches the browser but I get dyld: lazy symbol binding failed: Symbol not found: _FSEventStreamCreate.
Using MacOS 10.13.6
Please help.

did you do it inside the newIDE\app directory?

I picked this up and addressed it with PR #2024

Thanks @ssangervasi!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shadow00dev picture shadow00dev  路  4Comments

BWPanda picture BWPanda  路  4Comments

Wend1go picture Wend1go  路  5Comments

Phenomena3 picture Phenomena3  路  5Comments

Jeje2201 picture Jeje2201  路  5Comments