mariocraft987 / bark-coding

A Blockly Based coding language
https://bark.dumorando.com
BSD 2-Clause "Simplified" License
10 stars 18 forks source link

bug with field values on blocks #76

Open breakfast-for-dinner opened 3 months ago

breakfast-for-dinner commented 3 months ago

I have found a bug!

Description field values are returning null. i used the first block under the "math" category in the field value.

How to Reproduce

  1. take out "change x by ()" block
  2. put anything in there
  3. click run. nothing happens. i did some debugging and it's because it doesn't recognize it

Expected Behavior for the sprite to move on the x axis

Screenshots Screenshot from 2024-03-31 16-01-02 Screenshot from 2024-03-31 16-03-30

Rubiidev-18 commented 3 months ago

this might be a bit advanced to fix, so i created a new branch to fix this issue.

breakfast-for-dinner commented 3 months ago

this is probably pure naivety but i don't feel like it's too complicated...

nmsderp commented 3 months ago

This is not a backend issue, backend means server, removing the tag

breakfast-for-dinner commented 3 months ago

This is not a backend issue, backend means server, removing the tag

oh, sorry, i thought it meant anything non-visual

mariocraft987 commented 2 months ago

same

dumorando commented 2 months ago

this might be a bit advanced to fix, so i created a new branch to fix this issue.

What


to fix this issue use String(data) instead of .toString(). I dont know where its located at but this seems pretty easy to fix.

Bashamega commented 1 month ago

I would like to work on this