Raycasting 101 (sprite-based)

Raycasting 101 (sprite-based)

by PutneyCat

šŸ‘ 20,698 ā¤ļø 837 ⭐ 744 šŸ”„ 52
Created: May 17, 2020 Last modified: Apr 13, 2021 Shared: May 17, 2020

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

Project thumbnail
View Project

Audio Player v1.4

by ThinkingPlanely

Project thumbnail
View Project

MWBS dvd menu (MMC)

by nanajeu

Project thumbnail
View Project

Lol PAIRINGS

by fillygal

Project thumbnail
View Project

✿ *COMPLETE* Roar || Pokemon MAP ✿

by Alpha_Wolf_Coder

Project thumbnail
View Project

BFDI online

by sansbro27

Project thumbnail
View Project

Space Minions | Multiplayer Scrolling Platformer | Server : 1

by sparklinatechs

Project thumbnail
View Project

The Dimensions Game Trailer - #Games #Trailer #All

by CodingBaguette

Project thumbnail
View Project

文字PV // č„³ę¼æē‚øč£‚ć‚¬ćƒ¼ćƒ« - 悌悋悊悊

by harukun19

Project thumbnail
View Project

Plants Vs Zombies DS for Scratch 4.0

by Red_Games_135

Project thumbnail
View Project

Creatur.io - Multiplayer v1.5

by The-Green-Dragon

Project thumbnail
View Project

Beat Up Bonzi Buddy! remix remix remix-14 remix remix remix remix

by matheusmaccamargo

Project thumbnail
View Project

Rai Ident Maker

by JoshsAccount

Project thumbnail
View Project

Raycast Lighting Concept

by PurplePyramid

Project thumbnail
View Project

Smoothing animation. || #Short #Animation

by Im_A_Person_BOI

Project thumbnail
View Project

Emoji Maker

by geogeofrey

Project thumbnail
View Project

Super-Sonic vs Metal-Sonic

by SONICCD5

Project thumbnail
View Project

Battleworn Insomniac (Rhythm Doctor)

by vbabu22

Project thumbnail
View Project

ć€äæ®ę­£ć€‘ć‚¢ćƒ‹ćƒ”ć€Œé–‹ć€ē¬¬ļ¼“č©±ć€€ę±ŗęˆ¦

by TEXT-01

Project thumbnail
View Project

RPG Pixel World (ä½“éØ“ē‰ˆ) #games

by S-U-K-2

Project thumbnail
View Project

Mario and Luigi: The Movie REBOOT

by 1Oaktree2

Project thumbnail
View Project

Beat Up Tennis Ball ULTRA (A Whole Lot Of Peeps)

by kittycatgaming657

Project thumbnail
View Project

Beat Up Robin (Ver. 1.53)

by kuba2023ko

Project thumbnail
View Project

Dateblocks Band 26 (Aidans Version)

by AidanScratchMaker

Project thumbnail
View Project

FireMayro's Virtual Scratcher Debut

by FireMayro