ScratchData LogoScratchData
Back to BoyKetchup's profile

Raycasting

BOBoyKetchup•Created July 29, 2017
Raycasting
9
7
591 views
View on Scratch

Instructions

Arrow keys - walk and rotate 1, 2, 3 - High, medium, and low quality 4, 5, 6 - Low, medium, and high darkness

Description

Just a demonstration of list ray-casting. Could be developed into something more, but I don't have the time right now. Supports: - Multiple materials with powerful custom shaders - Two-dimensional, mobile objects - Day-night cycle (custom sky color, floor color, and darkness level) Update 9/22/2018: - Reduced distortion Note to self: On a high darkness setting, this has the potential for being a horror game! Try on phosphorus: https://phosphorus.github.io/app.html?id=170050815&turbo=false&full-screen=true Features: - Customization materials - Easy map creation - High-speed ray-casting Credits: - @Mister_Guacamole for heap sort algorithm. In this project, it is what allows objects to hide behind walls

Project Details

Project ID170050815
CreatedJuly 29, 2017
Last ModifiedSeptember 22, 2018
SharedJuly 29, 2017
Visibilityvisible
CommentsAllowed