NoControl Platformer
@Stage\n\n@Sprite1\n\nwhen flag clicked\nset [xv v] to [0]\nset [yv v] to [0]\ngo to x: (0) y: (0)\npoint in direction (90)\nshow\nLoop\n\nset [xv v] to [5]\n\ndefine Loop\nchange [xv v] by <<key (right arrow v) pressed?> or <key (d v) pressed?>>\nchange [xv v] by (() - <<key (left arrow v) pressed?> or <key (a v) pressed?>>)\nset [xv v] to ((Xv) * (0.9))\nchange x by (Xv)\nchange y by <touching color (#000000)?>\nchange y by <touching color (#000000)?>\nchange y by <touching color (#000000)?>\nchange y by <touching color (#000000)?>\nchange y by <touching color (#000000)?>\nchange y by <touching color (#000000)?>\nWall Jump <touching color (#000000)?>\nchange [yv v] by (((20) - (Yv)) * <touching color (#faff00)?>)\nchange [yv v] by (-1)\nchange y by (Yv)\nset [i v] to <not <touching color (#000000)?>>\nchange y by (((Yv) * (-1)) * <touching color (#000000)?>)\nset [yv v] to ((Yv) * (i))\nchange y by (-5)\nchange [yv v] by (((15) - (Yv)) * <<touching color (#000000)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>>)\nchange y by (5)\nLoop\n\ndefine Wall Jump <touching black>\nchange x by (<touching black> * ((Xv) * (-1)))\nchange y by (<touching black> * (-6))\nchange [xv v] by (((-8) - (Xv)) * <<touching black> and <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <(Xv) > [0]>>>)\nchange [xv v] by (((8) - (Xv)) * <<touching black> and <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <not <(Xv) > [0]>>>>)\nchange [yv v] by (<touching black> * (<<key (up arrow v) pressed?> or <key (w v) pressed?>> * ((12) - (Yv))))\nset [xv v] to ((Xv) * <not <<not <<key (up arrow v) pressed?> or <key (w v) pressed?>>> and <touching black>>>)\n\nwhen flag clicked\nLoop 2\n\ndefine Loop 2\ngo to x: ((x position) + (((0) - (x position)) * <touching color (#d20000)?>)) y: ((y position) + (((0) - (y position)) * <touching color (#d20000)?>))\nLoop 2\n\n
Here is a platformer script made with no control blocks.\n\nThis means I didn't use "Forever", "If", "Wait" or anyother block like that. If you don't believe me, click see inside.\n\nMy entry for NON-CONTROL CHALLENGE!\n\nI might add levels later.