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 aqz! DLC 2
by Olek32167xv
Leon Eating A Meat
by thiagobri
Beat Up Scratch cat (v0.26)
by niusanrio
Super Smash Bros Scratch - Sheik Sleeping
by Falco-Lombardi-2009
Numbericons 1-12345
by jayden2015paul
pvz remade
by sparkbit050
Beat up Edward 7X (Alpha)
by 777HurricaneAnthony
Incredibox - Scrunkly (updated)
by vincentswagbuck
Beat Up Buttons (13)
by CanadaPS
Sunken | #games #all #trending
by Stealish
домофон гуськториал/Intercom Goosektorial
by cat_minecraft_6
Angry birds level 2 remix
by Brabraul
talking roby
by gerofernandez
All Numbericons 1-190
by vanhouchin
3D Galaxy
by RokCoder
Beat Up Tera V5.0
by nj225
FNF Week 7 test - Tankman remix
by spedois
Geometry dash ship
by maelspi
THX Parody 2
by santigamer2013
UNDERTALE SK!ink!sans fight(インクサンズ戦) Phase1
by skyinksans
Make your own BFB / TPOT remix-2 remix
by myplaaaaaaaaaates
Destroy The Cupcake
by E-Bad
pibby Omega Flowey
by omegaspiffy
baseball how it shouldn't be played
by Dano