ScratchData LogoScratchData
Back to McTheAnimator's profile

terraria world gen

MCMcTheAnimator•Created January 19, 2022
terraria world gen
0
0
8 views
View on Scratch

Instructions

In order to keep the game running smoothly, I had to limit it to a 25x40 screen. You can enable the entire screen by pressing F. If you do it, you'll probably be able to tell why I made the screen small. Press G to make the screen even smaller.

Description

**CREDITS** **NOTES** green flag -> move camera left or down a quite interesting bug happens it's unfixable without restricting the camera because there's a bug in the math equation that chooses the tile: (((((_x + X OFFSET) * WORLD SIZE) + 1) + (_y - (Y OFFSET - 1))). So, if X offset is a negative value, the ones rendered at X 0 would start becoming X -1 and under, meaning it is unable to calculate which costume to switch to, thus defaulting to the "BIG" costume.

Project Details

Project ID630673948
CreatedJanuary 19, 2022
Last ModifiedFebruary 15, 2022
SharedJanuary 23, 2022
Visibilityvisible
CommentsAllowed