Hopscotch (programming language): Difference between revisions

Content deleted Content added
Added editor and player sections (player section needs work)
BG19bot (talk | contribs)
m v1.39b - WP:WCW project (Heading hierarchy)
Line 17:
The hopscotch app uses a UI very similar to that of scratch. Use of the editor is simple, all one has to do is open the editor, tap the object and script you wish to edit, open one of the block tabs, and drag out code blocks. Most code blocks can have numeral, text, or math inputs. e.g. the "move" block
 
===== When blocks/inputs: =====
When inputs are the trigger for the script to activate, when a "when" block's input is true (the "when project starts" when block is triggered when one opens the player or taps the refresh button)
 
<blockquote>list of "when" blocks:</blockquote><blockquote>play button is tapped</blockquote><blockquote>character is tapped</blockquote><blockquote>iPad (iPhone) is tapped</blockquote><blockquote>() is tapped</blockquote><blockquote>() is pressed</blockquote><blockquote>() bumps ()</blockquote><blockquote>() is touching ()</blockquote><blockquote>iPad (iPhone) is tilted (up, down, left, right)</blockquote><blockquote>iPad (iPhone) detects a loud noise</blockquote><blockquote>iPad is shaken</blockquote><blockquote>() is swiped (up, down, left, right)</blockquote><blockquote>() equals ()</blockquote><blockquote>() > ()</blockquote><blockquote>() < ()</blockquote><blockquote>() not equals ()</blockquote><blockquote>object is cloned</blockquote>
 
===== Code blocks: =====
Code blocks are the actions completed when the when blocks ate triggered, code blocks fall into 6 categories: abilities, movement,