ScratchData LogoScratchData
Back to scratch5492's profile

Shape shader V.2.9 (Don't use right now)

SCscratch5492•Created September 15, 2015
Shape shader V.2.9 (Don't use right now)
1
0
10 views
View on Scratch

Instructions

I have now made a better(?) Version of my box renderer, which does every shape! It's pretty complicated, but this is basically for it goes: - Takes X and Y measurements - Checks to see if there are any separate bits - Goes to the corner of its measurements - Goes from left to right, checking if It's touching the shape - If it does, Records that in Data as a 1 - If it doesn't, Records it as a 0 - Goes to the corner again, and then Distance to ground+5*-1 pixels down to simulate depth - Moves over one - If the number on the list is a 1, Draw a little dot - If the number on the list is a zero, do nothing - If the x position exceeds x measurement, reset x and bring the dot down by 1 - Complete!

Description

Code | Me Scratch Cat | Scratch Team Artists Changelog V.1.0 - Shared V.2.0 - Now renders whole shape! V.2.9 - Attempted compression to make it faster, failed miserably. Bugs - What are shadow? - Shadow is cast above cat when It should be right below - Too laggy

Project Details

Project ID76799288
CreatedSeptember 15, 2015
Last ModifiedSeptember 20, 2015
SharedSeptember 15, 2015
Visibilityvisible
CommentsAllowed