MakeCode Games!

A fan-made community library of MakeCode Arcade games. Visit MakeCode Arcade to make a game!

← Back to extensions

Raycasting 3D Render

Transforms your 2D tilemaps and sprites into a first-person 3D/2.5D raycasted world with jumping, heights, camera controls, and multi-directional animations.

takeover sprites in scene

Problem it solves

You created new sprites during gameplay and noticed they are drawing as 2D icons instead of projecting into the 3D world.

What this block does

Forces the 3D raycasting renderer to register and track all existing sprites in the scene immediately.

The block

Block ID: rcRender_takeoverSceneSprites

takeover sprites in scene block

Returns

void — Nothing.

Example

let coin = sprites.create(img`.`, SpriteKind.Food)
Render.takeoverSceneSprites()

Add the extension

Add github:The-Code-Zone/Raycasting-pxt-extension to your project, or open: Import Raycasting-pxt-extension.