Позначте дію "T" Subscript, "i" "m" "e" , Baseline to "T" Subscript, "i" "m" "e" , Baseline plus 0.0 0 1dt , "P" Subscript, "l" "a" "y" "e" "r" "X" , Baseline to "P" Subscript, "l" "a" "y" "e" "r" "X" , Baseline plus cosine left parenthesis, 180 "P" Subscript, "l" "a" "y" "e" "r" "C" "o" "n" "t" "r" "o" "l" "S" "l" "i" "d" "e" "r" , Baseline , right parenthesis 0.0 1dt , "P" Subscript, "l" "a" "y" "e" "r" "Z" , Baseline to "P" Subscript, "l" "a" "y" "e" "r" "Z" , Baseline plus "P" Subscript, "l" "a" "y" "e" "r" "S" "p" "e" "e" "d" , Baseline 0.0 1dt , "G" Subscript, "r" "o" "u" "n" "d" "I" "m" "a" "g" "e" , Baseline to left brace, "G" Subscript, "r" "o" "u" "n" "d" "I" "m" "a" "g" "e" , Baseline less than 2 : "G" Subscript, "r" "o" "u" "n" "d" "I" "m" "a" "g" "e" , Baseline plus 1 , 0 , right brace , "P" Subscript, "l" "a" "y" "e" "r" "H" "i" "t" , Baseline to "P" Subscript, "l" "a" "y" "e" "r" "H" "i" "t" , Baseline plus left brace, count left parenthesis, unique left parenthesis, left brace, "O" Subscript, "b" "s" "t" "a" "c" "l" "e" "s" , Baseline . "x" minus 0.2 5 less than 0 less than "O" Subscript, "b" "s" "t" "a" "c" "l" "e" "s" , Baseline . "x" plus 0.2 5 , right brace , right parenthesis , right parenthesis less than or equal to 1 : 0 , 1 , right brace left brace, count left parenthesis, unique left parenthesis, left brace, "O" Subscript, "b" "s" "t" "a" "c" "l" "e" "s" , Baseline . "y" minus "H" Subscript, "i" "t" "S" "e" "n" "s" "i" "t" "i" "v" "i" "t" "y" , Baseline less than 0 less than "O" Subscript, "b" "s" "t" "a" "c" "l" "e" "s" , Baseline . "y" plus "H" Subscript, "i" "t" "S" "e" "n" "s" "i" "t" "i" "v" "i" "t" "y" , Baseline , right brace , right parenthesis , right parenthesis less than or equal to 1 : 0 , 1 , right braceTime→Time+0.001dt,PlayerX→PlayerX+cos180PlayerControlSlider0.01dt,PlayerZ→PlayerZ+PlayerSpeed0.01dt,GroundImage→GroundImage<2:GroundImage+1,0,PlayerHit→PlayerHit+countuniqueObstacles.x−0.25<0<Obstacles.x+0.25≤1:0,1countuniqueObstacles.y−HitSensitivity<0<Obstacles.y+HitSensitivity≤1:0,1
every
Мінімальний час кроку StartFraction, 1000 Over "F" Subscript, "P" "S" , Baseline , EndFraction1000FPS
Вираз 84: "l" Subscript, 3 , Baseline equals segment left parenthesis, left parenthesis, negative 9 , StartFraction, 1300 Over , EndFraction left parenthesis, negative 7.7 , right parenthesis , right parenthesis , left parenthesis, 9 , StartFraction, 1300 Over , EndFraction left parenthesis, negative 7.7 , right parenthesis , right parenthesis , right parenthesisl3=segment−9,1300width−7.7,9,1300width−7.7
84
Вираз 85: StartFraction, 1300 Over , EndFraction1300width
85
Вираз 86: sine left parenthesis, 180 "P" Subscript, "l" "a" "y" "e" "r" "C" "o" "n" "t" "r" "o" "l" "S" "l" "i" "d" "e" "r" , Baseline , right parenthesissin180PlayerControlSlider
86
Вираз 87: cosine left parenthesis, 180 "P" Subscript, "l" "a" "y" "e" "r" "C" "o" "n" "t" "r" "o" "l" "S" "l" "i" "d" "e" "r" , Baseline , right parenthesiscos180PlayerControlSlider
87
Вираз 88: "P" Subscript, "l" "a" "y" "e" "r" "T" "i" "l" "t" "X" , Baseline equals 0.5PlayerTiltX=0.5
88
Вираз 89: "P" Subscript, "l" "a" "y" "e" "r" "C" "o" "n" "t" "r" "o" "l" , Baseline equals 0.5 "P" Subscript, "l" "a" "y" "e" "r" "C" "o" "n" "t" "r" "o" "l" "S" "l" "i" "d" "e" "r" , Baseline plus 0.2 5PlayerControl=0.5PlayerControlSlider+0.25
Вираз 99: "G" Subscript, "r" "o" "u" "n" "d" "A" "d" "j" "u" "s" "t" "m" "e" "n" "t" , Baseline equals 4.9 6GroundAdjustment=4.96
99
Вираз 100: "G" Subscript, "r" "o" "u" "n" "d" "I" "m" "a" "g" "e" , Baseline to left brace, "G" Subscript, "r" "o" "u" "n" "d" "I" "m" "a" "g" "e" , Baseline less than 2 : "G" Subscript, "r" "o" "u" "n" "d" "I" "m" "a" "g" "e" , Baseline plus 1 , 0 , right braceGroundImage→GroundImage<2:GroundImage+1,0
100
Вираз 101: "O" Subscript, "b" "s" "t" "a" "c" "l" "e" "s" , Baseline equals left parenthesis, 20 left parenthesis, random left parenthesis, 10 , right parenthesis minus 0.5 , right parenthesis plus "P" Subscript, "l" "a" "y" "e" "r" "X" , Baseline , left parenthesis, 100 left parenthesis, 1 minus StartFraction, mod left parenthesis, "P" Subscript, "l" "a" "y" "e" "r" "Z" , Baseline plus 5random left parenthesis, 10 , right parenthesis , 5 , right parenthesis Over 5 , EndFraction , right parenthesis minus 1 , right parenthesis , right parenthesisObstacles=20random10−0.5+PlayerX,1001−modPlayerZ+5random10,55−1
101
Вираз 102: negative cosine left parenthesis, 180 "P" Subscript, "l" "a" "y" "e" "r" "C" "o" "n" "t" "r" "o" "l" "S" "l" "i" "d" "e" "r" , Baseline , right parenthesis−cos180PlayerControlSlider
102
Вираз 103: left brace, "O" Subscript, "b" "s" "t" "a" "c" "l" "e" "s" , Baseline . "x" minus 0.2 5 less than 0 less than "O" Subscript, "b" "s" "t" "a" "c" "l" "e" "s" , Baseline . "x" plus 0.2 5 , right braceObstacles.x−0.25<0<Obstacles.x+0.25
103
Вираз 104: mod left parenthesis, "P" Subscript, "l" "a" "y" "e" "r" "Z" , Baseline , 0.1 , right parenthesis 30modPlayerZ,0.130
104
Вираз 105: "G" Subscript, "r" "o" "u" "n" "d" "I" "m" "a" "g" "e" , Baseline equals 0GroundImage=0
105
Вираз 106: "P" Subscript, "l" "a" "y" "e" "r" "H" "i" "t" , Baseline to "P" Subscript, "l" "a" "y" "e" "r" "H" "i" "t" , Baseline plus left brace, count left parenthesis, unique left parenthesis, left brace, "O" Subscript, "b" "s" "t" "a" "c" "l" "e" "s" , Baseline . "x" minus 0.2 5 less than 0 less than "O" Subscript, "b" "s" "t" "a" "c" "l" "e" "s" , Baseline . "x" plus 0.2 5 , right brace , right parenthesis , right parenthesis less than or equal to 1 : 0 , 1 , right brace left brace, count left parenthesis, unique left parenthesis, left brace, "O" Subscript, "b" "s" "t" "a" "c" "l" "e" "s" , Baseline . "y" minus "H" Subscript, "i" "t" "S" "e" "n" "s" "i" "t" "i" "v" "i" "t" "y" , Baseline less than 0 less than "O" Subscript, "b" "s" "t" "a" "c" "l" "e" "s" , Baseline . "y" plus "H" Subscript, "i" "t" "S" "e" "n" "s" "i" "t" "i" "v" "i" "t" "y" , Baseline , right brace , right parenthesis , right parenthesis less than or equal to 1 : 0 , 1 , right bracePlayerHit→PlayerHit+countuniqueObstacles.x−0.25<0<Obstacles.x+0.25≤1:0,1countuniqueObstacles.y−HitSensitivity<0<Obstacles.y+HitSensitivity≤1:0,1
Вираз 108: "t" equals left brace, count left parenthesis, unique left parenthesis, left brace, "O" Subscript, "b" "s" "t" "a" "c" "l" "e" "s" , Baseline . "x" minus 0.2 5 less than 0 less than "O" Subscript, "b" "s" "t" "a" "c" "l" "e" "s" , Baseline . "x" plus 0.2 5 , right brace , right parenthesis , right parenthesis less than or equal to 1 : 0 , 1 , right brace left brace, count left parenthesis, unique left parenthesis, left brace, "O" Subscript, "b" "s" "t" "a" "c" "l" "e" "s" , Baseline . "y" minus "H" Subscript, "i" "t" "S" "e" "n" "s" "i" "t" "i" "v" "i" "t" "y" , Baseline less than 0 less than "O" Subscript, "b" "s" "t" "a" "c" "l" "e" "s" , Baseline . "y" plus "H" Subscript, "i" "t" "S" "e" "n" "s" "i" "t" "i" "v" "i" "t" "y" , Baseline , right brace , right parenthesis , right parenthesis less than or equal to 1 : 0 , 1 , right bracet=countuniqueObstacles.x−0.25<0<Obstacles.x+0.25≤1:0,1countuniqueObstacles.y−HitSensitivity<0<Obstacles.y+HitSensitivity≤1:0,1