Regarding the situation where changing object variables has no effect

debugbyairbox variable operation not taking effect.rar (167.6 KB)

Press X to toggle action states; each state is supposed to modify a variable, but nothing happens.
Affected variables: position_x, position_y, visible_direction, scale_x, scale_y.
In the pgm, these variables work normally when operated in the same way.

Indeed. In terms of perception, setting aside speed, if we only consider position and scale, it seems it shouldn’t be read-only.

In v1.0.11:

  • Object variables “position_x / y” and “scale_x / y” are now editable (no longer read-only):
  • Modifying position will synchronously update the object’s “global_position”.
  • Modifying scale will synchronously update the object’s “scale” property.