microsoft / pxt-arcade

Arcade game editor based on Microsoft MakeCode
https://arcade.makecode.com
MIT License
480 stars 207 forks source link

Sprites made by TextSprite extension are not moving with velocity #2439

Closed darzu closed 4 years ago

darzu commented 4 years ago

From: https://youtu.be/6nFs_JoNXE0?t=2103

Simpler repro: https://makecode.com/_JkH6oiJ4fUuq

With these blocks the sprite does not move: image

this extension: https://github.com/microsoft/arcade-text

This is most likely a PXT problem not an extension problem, or at a minimum we need to update documentation on how sprites can be used/made in extensions, because this scenario should work.

jwunderl commented 4 years ago

I wouldn't necessarily say it's a bug in pxt (https://github.com/microsoft/arcade-text/pull/3), could use docs but there are a lot of things in the game engine that could use more docs as well / this only really comes up when subclassing sprite and that's definitely on the advanced side

darzu commented 4 years ago

Fixed by: https://github.com/microsoft/arcade-text/pull/3