UPDATED to avoid 'stop this script' blocks, which can cause trouble. Also added note about how these blocks are now largely redundant... ----------------------------------------------------------- Here is the first step in creating the 3D engine used for the InterXeptor 3D space game. Follow this studio to see more steps: http://scratch.mit.edu/studios/202972 This first step is very simple and nothing to do with 3D - but it's important for what follows... Scratch has this annoying habit of not allowing sprites to go beyond the edge of the screen. Unfortunately, this affects the pen too, so it means you can't easily draw lines that go off the edge of the screen. The two replacement pen blocks here allow you to do it very easily. The blocks are: [ set pen to x y ] and [ draw to x y ]
Use arrow keys to move the star, "W" & "S" to change its size, and "A" & "D" to rotate. See how the star's lines get drawn correctly even as they go off the edge of the screen. Space resets the star's size and position back to default.