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
Add A Button To Beat Up Evil BBC One! (25)
by TechinRamee
My take of Romanian Alphabet Lore
by alphabetlore2014
talking tom and ben news edicion extendida numberblock basic
by matheusmaccamargo
ABPR: Beat Up Hat Pig 1 Remastered remix
by smeshnoichelovechik
toca lab plants as cat remix remix remix copy
by S29O7A
Blue Mist Plus 4,000 All Jumpscares P1 (4,000.000004-4500)
by Jharring20
Alternate Future Of Gridclose (196): AH!
by ZachyQuackScratcher
Beat Up Sonic! (2)
by newmyles
GD Lobotomies Plus #4
by issy-shark
turbo dismount
by neocar11
β talking indigo and ben news (TT&BN DLC)
by doddwell
Leaked BFB 14 Intro
by maximovaleriy
edit a button to beat up ME D: remix remix
by mikey_mike
Beat up WeDo (Pico's evil twin) (added more buttons)
by sudden-error
γ«γγγε€§ζ¦δΊVr.8
by nyankodaisensouAHAHA
Add yourself/your oc singing Milk (0)
by SquigglyTuff
Beat up TF-TYRE (Add buttons) remix remix
by KwekFanatic
outro for zororiku
by yusei0108
Super Mario Bros. 3
by _HeitorMvR_
College retro bowl
by GeneralKenobi321
Tug of War Asset
by codewithshark
Angry Birds Maker remix
by brandonyukodit
Beat Down Shisia RYTP (ReShared)
by Profily2013
[FULL GAME] Ultimate Custom Night! [UCN]
by POTatorK1ng5