Raycasting 3D render -- Blocks Edition

Hi, all
Just released v0.3.10, with follwoing improvements & small fixes:

  • add variable block: “set mySprite to (myself sprite)”, for convenience and consistent with usage of sprite blocks
    image

  • perf improvement a little, sprites render filtered by horizontal view sector

  • fix, not all sprites be takeovered at once

  • fix, takeover myselft sprite after create

  • fix setValue block, set fov may ruin wallZScale

  • fix jump effect overrided by setZOffset

  • fix a change of first row of a wall painted wrong size caused by anti-alias

  • fix, sprite.sayEndtime=undefined when takeover.

  • fix, draw sayText, if sayEndtime=undefined

BTW, I miss understood logic of “no default value” in last post, sayText was drawn unlimite time if thimeOnScreen not provided.

Just update to new version if you met these issues. No new demo yet.

Import this extension with URL:
https://github.com/AqeeAqee/pxt-raycasting/, or “AqeeAqee/pxt-raycasting” for short.

3 Likes