ScratchData LogoScratchData
Back to DarthPickley's profile

Points & Lines - one sprite editor

DADarthPickley•Created April 9, 2012
Points & Lines - one sprite editor
10
9
535 views
View on Scratch

Description

[Fastest in Flash Turbo Mode] This is a one-sprite editor that allows a user to interact with a group of points connected by lines (which are actually data stored in lists) PLEASE READ INSTRUCTIONS FIRST: First, move your mouse around the screen to highlight different points or lines. There is a variable called "editor mode" that control the way different actions work. Here is the key for mode #: 0 - Default, selects nearest point. [Blue] 2 - Select nearest line. [Orange] 1 - Delete a point when clicked [Red] 3 - Delete a line when clicked [Light Red] -1 - First point of new line [Yellow] -2 - Second point of new line [Darker Yellow] Here are the USER CONTROLS: SPACE - Switch mode between Points (0) and Lines (2) Also, deselects other modes (delete, new line) X - Deletion, click to delete a point or line C - Move, click while holding C to pick up a point, then drag & drop it. A - New Point, click to place it. S - Make Line, click two different points to create a line between them. This information is all you need to know to start using this! ---------------------- Further Information: Development This project is the result of two experiments: A similar, 1s1s point-only system: http://scratch.mit.edu/projects/DarthPickley/1950784 A "touching line?" test: http://scratch.mit.edu/projects/DarthPickley/2288841 I had another test about a draggable line, http://scratch.mit.edu/projects/DarthPickley/2292604 But I have concerns about continuous-time line erasing and redrawing that it would be to slow and/or too flickery. However I might try something similar first: Selection of multiple points and/or lines. I also have to work on a script for searching for whether a line exists between two points. At the moment I suspect it would be possible for a line to be made between two points more than once, which I consider undesirable. Anyways, have fun, and even cooler (If you're good at programming) Please remix this project if you have any creative ideas on how to use it! I've already done most of the hard work, the only hard part with remixing is understanding my own scripts and doing a little bit of your own scripting.

Project Details

Project ID2458053
CreatedApril 9, 2012
Last ModifiedApril 9, 2012
SharedApril 9, 2012
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root