
Raycasting 101 (sprite-based)
by PutneyCat
Description
This is aimed at anyone wanting to try the "easy" sprite-based method of raycasting. It does things a little differently from the Scratch Wiki's version: the base raycaster is simpler in some ways (no lists or broadcasts) but it does use a couple of trig functions. For a tutorial on the more complex list-based version, try https://scratch.mit.edu/projects/337452463/ SVG scratchblocks created using the terrific https://scratchblocks.github.io/ Eiffel tower pic from https://parisworkingforart.wordpress.com/2009/12/31/the-eiffel-tower/#jp-carousel-50
Instructions
Spacebar or click screen to progress through tutorial. Full screen recommended. You can move around the map with the arrow keys in the early part of the tutorial, and at the end. To use these scripts for your own raycaster, delete all the sprites beginning with a "T" (for tutorial), and connect up the green flags in the remaining four (the first four).
Project Details
- Visibility
- Visible
- Comments
- Enabled
More Cool Projects

Beat up a Skibidi Toilet (Beta) remix
by bubbalouskeee

(Gobo参戦) 大乱闘スマッシュブラザーズscratch
by HALUTASU

Collab Intro
by -superwooper-

Angry Birds (Test) 1-1
by Guest216

sky ボールころころ13
by skyblueball2

Beat up TVOKids Q UTTP THDTC and his flip buddies (2) remix
by jace1809

Jotaro vs DIO 2 Players
by VitorBRMito

BEAT UP BARNEY (Ver 1.8.1)
by KlaskyCuspo_123

Angry Birds Classic: Vector Pack
by IAmYourGummyBear

John For The Beat Up Games
by tatatino150

Cuphead Scratch Boss (Finished)
by LoganTheCartoonist

Rise Above || Complete Palette MAP
by Alpha_Wolf_Coder

Beat Up Scratch Cat! 1.o
by basketball_256

新・リプレイころころ5
by s00384206

かくれんぼう~三日間の攻防戦~ -其の八- 空戦
by TNT_TOMATO

Timeblocks Band 129-132
by SharkyBlues3rd

Beat up monkey! 2024 remix remix-2
by SamiSamantaG

GU!ink!sans fight (demo) phase2 [UNDERTALE fun game]
by gau37

Rede Globo Yoshi's Island Entrando no Ar (1989)
by Mariofans1981

The Great Scratch Beat Em Up
by LionOte

Nubert Virtual Pet - Mixon's Remaster!
by Ultra_Mixon

Warrior Cats Clan Life 2- Lead a Clan! (WIP)
by -Frostwillow-

☁オンライン広場
by mahotel

Vyond Effects Part 9 (FINAL PART)
by katalinaja