/
tutorial_atl.rpy
561 lines (375 loc) · 34.7 KB
/
tutorial_atl.rpy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
# game/tutorial_atl.rpy:187
translate russian tutorial_positions_a09a3fd1:
# e "In this tutorial, I'll teach you how Ren'Py positions things on the screen. But before that, let's learn a little bit about how Python handles numbers."
e "В этой части обучения, я расскажу вам, как Ren'Py позиционирует вещи на экране. Но до этого, давайте немного узнаем об обработке чисел в Python."
# game/tutorial_atl.rpy:189
translate russian tutorial_positions_ba39aabc:
# e "There are two main kinds of numbers in Python: integers and floating point numbers. An integer consists entirely of digits, while a floating point number has a decimal point."
e "Python поддерживает два вида чисел — целые и дробные. Целое число состоит полностью из цифр, а дробные числа содержат точку."
# game/tutorial_atl.rpy:191
translate russian tutorial_positions_a60b775d:
# e "For example, 100 is an integer, while 0.5 is a floating point number, or float for short. In this system, there are two zeros: 0 is an integer, and 0.0 is a float."
e "Например, 100 — целое число, а 0.5 — дробное. В такой системе также есть два нуля — целый 0, и дробный 0.0."
# game/tutorial_atl.rpy:193
translate russian tutorial_positions_7f1a560c:
# e "Ren'Py uses integers to represent absolute coordinates, and floats to represent fractions of an area with known size."
e "Ren'Py использует целые числа для абсолютных координат, а дробные — для долей площади с известными размерами."
# game/tutorial_atl.rpy:195
translate russian tutorial_positions_8e7d3e52:
# e "When we're positioning something, the area is usually the entire screen."
e "Когда мы размещаем нечто, обычно областью является весь экран ."
# game/tutorial_atl.rpy:197
translate russian tutorial_positions_fdcf9d8b:
# e "Let me get out of the way, and I'll show you where some positions are."
e "Позвольте мне уйти, и я покажу вам, где расположены некоторые из позиций."
# game/tutorial_atl.rpy:211
translate russian tutorial_positions_76d7a5bf:
# e "The origin is the upper-left corner of the screen. That's where the x position (xpos) and the y position (ypos) are both zero."
e "Верхний левый угол основой является. Это место, где xpos (горизонтальное положение) и ypos (вертикальное положение) оба равны нулю."
# game/tutorial_atl.rpy:217
translate russian tutorial_positions_be14c7c3:
# e "When we increase xpos, we move to the right. So here's an xpos of .5, meaning half the width across the screen."
e "Когда мы увеличиваем xpos, мы движемся вправо. Значит, если xpos равен 0.5, мы находимся в середине экрана по горизонтали."
# game/tutorial_atl.rpy:222
translate russian tutorial_positions_9b91be6c:
# e "Increasing xpos to 1.0 moves us to the right-hand border of the screen."
e "Увеличивая xpos до 1.0 переместит нас к правому краю экрана."
# game/tutorial_atl.rpy:228
translate russian tutorial_positions_80be064f:
# e "We can also use an absolute xpos, which is given in an absolute number of pixels from the left side of the screen. For example, since this window is 800 pixels across, using an xpos of 400 will return the target to the center of the top row."
e "Мы также можем использовать абсолютный xpos, который задаётся числом пикселей с левого края экрана. Например, так как это окно имеет размер 800х600, использование xpos в 400 вернёт цель к центру верхнего ряда."
# game/tutorial_atl.rpy:230
translate russian tutorial_positions_c4d18c0a:
# e "The y-axis position, or ypos works the same way. Right now, we have a ypos of 0.0."
e "Вертикальная позиция (ypos) работает также. Сейчас у нас ypos 0.0."
# game/tutorial_atl.rpy:236
translate russian tutorial_positions_16933a61:
# e "Here's a ypos of 0.5."
e "Вот ypos в 0.5."
# game/tutorial_atl.rpy:241
translate russian tutorial_positions_6eb36777:
# e "A ypos of 1.0 specifies a position at the bottom of the screen. If you look carefully, you can see the position indicator spinning below the text window."
e "ypos равный 1.0 показывает самый низ экрана. Если вы посмотрите внимательно, вы увидите индикатор позиции под текстовым окном."
# game/tutorial_atl.rpy:243
translate russian tutorial_positions_a423050f:
# e "Like xpos, ypos can also be an integer. In this case, ypos would give the total number of pixels from the top of the screen."
e "Как и xpos, ypos тоже может быть целым. В таком случае он бы представлял число пикселей сверху экрана."
# game/tutorial_atl.rpy:249
translate russian tutorial_positions_bc7a809a:
# e "Can you guess where this position is, relative to the screen?" nointeract
e "Вы можете угадать где эта позиция относительно экрана?" nointeract
# game/tutorial_atl.rpy:255
translate russian tutorial_positions_6f926e18:
# e "Sorry, that's wrong. The xpos is .75, and the ypos is .25."
e "Простите, но это неверно. Здесь xpos = 0.75, ypos = 0.25."
# game/tutorial_atl.rpy:257
translate russian tutorial_positions_5d5feb98:
# e "In other words, it's 75%% of the way from the left side, and 25%% of the way from the top."
e "Другими словами, 75%% пути слева и 25%% пути сверху."
# game/tutorial_atl.rpy:261
translate russian tutorial_positions_77b45218:
# e "Good job! You got that position right."
e "Хорошая работа! Вы угадали позицию."
# game/tutorial_atl.rpy:265
translate russian tutorial_positions_6f926e18_1:
# e "Sorry, that's wrong. The xpos is .75, and the ypos is .25."
e "Простите, но это неверно. Здесь xpos = 0.75, ypos = 0.25."
# game/tutorial_atl.rpy:267
translate russian tutorial_positions_5d5feb98_1:
# e "In other words, it's 75%% of the way from the left side, and 25%% of the way from the top."
e "Другими словами, 75%% пути слева и 25%% пути сверху."
# game/tutorial_atl.rpy:281
translate russian tutorial_positions_e4380a83:
# e "The second position we care about is the anchor. The anchor is a spot on the thing being positioned."
e "Вторая позиция — якорь. Якорь — место на той вещи, которую мы позиционируем."
# game/tutorial_atl.rpy:283
translate russian tutorial_positions_d1db1246:
# e "For example, here we have an xanchor of 0.0 and a yanchor of 0.0. It's in the upper-left corner of the logo image."
e "Например, с xanchor = 0.0 и yanchor = 0.0, якорем будет служить верхний левый угол изображения."
# game/tutorial_atl.rpy:288
translate russian tutorial_positions_6056873f:
# e "When we increase the xanchor to 1.0, the anchor moves to the right corner of the image."
e "Если мы увеличим xanchor до 1.0, якорем станет правый угол изображения."
# game/tutorial_atl.rpy:293
translate russian tutorial_positions_7cdb8dcc:
# e "Similarly, when both xanchor and yanchor are 1.0, the anchor is the bottom-right corner."
e "Аналогичным образом, когда xanchor и yanchor равны 1.0, якорем становится нижний правый угол."
# game/tutorial_atl.rpy:301
translate russian tutorial_positions_03a07da8:
# e "To place an image on the screen, we need both the position and the anchor."
e "Для размещения изображения на экране, нам нужна как позиция, так и якорь."
# game/tutorial_atl.rpy:309
translate russian tutorial_positions_8945054f:
# e "We then line them up, so that both the position and anchor are at the same point on the screen."
e "Потом мы их совмещаем так, чтобы как позиция, так и якорь были одной точкой на экране."
# game/tutorial_atl.rpy:319
translate russian tutorial_positions_2b184a93:
# e "When we place both in the upper-left corner, the image moves to the upper-left corner of the screen."
e "Если мы разместим оба из них в левом верхнем углу, изображение переместится к левому верхнему углу экрана."
# game/tutorial_atl.rpy:328
translate russian tutorial_positions_5aac4f3f:
# e "With the right combination of position and anchor, any place on the screen can be specified, without even knowing the size of the image."
e "С правильной комбинацией позиции и якоря можно указать любое место на экране даже не зная размеров изображений."
# game/tutorial_atl.rpy:340
translate russian tutorial_positions_3b59b797:
# e "It's often useful to set xpos and xanchor to the same value. We call that xalign, and it gives a fractional position on the screen."
e "Полезно бывает установить xpos и xanchor в одно значение. Мы называем это xalign и это даёт нам долевую позицию на экране."
# game/tutorial_atl.rpy:345
translate russian tutorial_positions_b8ebf9fe:
# e "For example, when we set xalign to 0.0, things are aligned to the left side of the screen."
e "Например, установив xalign в 0.0, мы можем выровнять вещи по левой стороне экрана."
# game/tutorial_atl.rpy:350
translate russian tutorial_positions_8ce35d52:
# e "When we set it to 1.0, then we're aligned to the right side of the screen."
e "В 1.0 — по правой."
# game/tutorial_atl.rpy:355
translate russian tutorial_positions_6745825f:
# e "And when we set it to 0.5, we're back to the center of the screen."
e "А установив его в 0.5, мы вернёмся к центру экрана."
# game/tutorial_atl.rpy:357
translate russian tutorial_positions_64428a07:
# e "Setting yalign is similar, except along the y-axis."
e "yalign работает похожим образом для вертикальной оси."
# game/tutorial_atl.rpy:359
translate russian tutorial_positions_cfb77d42:
# e "Remember that xalign is just setting xpos and xanchor to the same value, and yalign is just setting ypos and yanchor to the same value."
e "Помните, что используя xalign вы просто устанавливаете одинаковые значения xpos и xanchor, а с yalign — ypos и yanchor."
# game/tutorial_atl.rpy:366
translate russian tutorial_positions_0f4ca2b6:
# e "Once you understand positions, you can use transformations to move things around the Ren'Py screen."
e "Когда вы разберётесь с позициями, вы сможете использовать преобразования для перемещения вещей по экрану."
# game/tutorial_atl.rpy:373
translate russian tutorial_atl_a1cc1bff:
# e "While showing static images is often enough for most games, occasionally we'll want to change images, or move them around the screen."
e "Показывание статических изображений является достаточным для большинства игр, но иногда мы захотим изменять изображения или перемещать их по экрану."
# game/tutorial_atl.rpy:375
translate russian tutorial_atl_81dbb8f2:
# e "We call this a Transform, and it's what ATL, Ren'Py's Animation and Transformation Language, is for."
e "Это называется преобразованием, и для этого у нас есть ATL, язык анимаций и трансформаций (Animation and Transformation Language)."
# game/tutorial_atl.rpy:383
translate russian tutorial_atl_65badef3:
# e "But first, let's have... a Gratuitous Rock Concert!"
e "Но сначала, устроим... бесплатный рок-концерт!"
# game/tutorial_atl.rpy:391
translate russian tutorial_atl_3ccfe2ac:
# e "That was a lot of work, and before you can do that, we'll need to start with the basics of using ATL."
e "Что-то такое сделать очень тяжело, поэтому начнём с основ ATL."
# game/tutorial_atl.rpy:393
translate russian tutorial_atl_1f22f875:
# e "There are currently three places where ATL can be used in Ren'Py."
e "ATL может быть использован в трёх местах в Ren'Py."
# game/tutorial_atl.rpy:397
translate russian tutorial_atl_fd036bdf:
# e "The first place ATL can be used is as part of an image statement. Instead of a displayable, an image may be defined as a block of ATL code."
e "Первое место, где можно использовать ATL — часть оператора image. Вместо отображаемого объекта, изображение можно определить как блок кода ATL."
# game/tutorial_atl.rpy:399
translate russian tutorial_atl_7cad2ab9:
# e "When used in this way, we have to be sure that ATL includes one or more displayables to actually show."
e "Если мы используем ATL таким образом, нам нужно включить в него отображаемые объекты."
# game/tutorial_atl.rpy:403
translate russian tutorial_atl_c78b2a1e:
# e "The second way is through the use of the transform statement. This assigns the ATL block to a python variable, allowing it to be used in at clauses and inside other transforms."
e "Второй способ — использование оператора трансформации. Это присвоит блок ATL переменной Python, что позволит использовать его в условиях at и внутри других трансформации."
# game/tutorial_atl.rpy:407
translate russian tutorial_atl_da7a7759:
# e "Finally, an ATL block can be used as part of a show statement, instead of the at clause."
e "Наконец, блок ATL можно использовать как часть оператора show, вместо условия at."
# game/tutorial_atl.rpy:411
translate russian tutorial_atl_c21bc1d1:
# e "The key to ATL is what we call composeability. ATL is made up of relatively simple commands, which can be combined together to create complicated transforms."
e "Ключом к ATL является то, что он создаётся из относительно простых команд, но их можно сочетать для создания сложных трансформаций."
# game/tutorial_atl.rpy:413
translate russian tutorial_atl_ed82983f:
# e "Before I explain how ATL works, let me explain what animation and transformation are."
e "До того, как я начну объяснять как работает ATL, позвольте объяснить вам, что такое анимации и трансформации."
# game/tutorial_atl.rpy:418
translate russian tutorial_atl_2807adff:
# e "Animation is when the displayable being shown changes. For example, right now I am changing my expression."
e "Анимация — изменение показываемого объекта. Например, прямо сейчас, я изменяю своё выражение лица."
# game/tutorial_atl.rpy:445
translate russian tutorial_atl_3eec202b:
# e "Transformation involves moving or distorting an image. This includes placing it on the screen, zooming it in and out, rotating it, and changing its opacity."
e "Трансформация — передвижение или изменение вида изображения. Например, размещение его на экране, масштабирование, вращение, изменение прозрачности."
# game/tutorial_atl.rpy:453
translate russian tutorial_atl_fbc9bf83:
# e "To introduce ATL, let's start by looking at at a simple animation. Here's one that consists of five lines of ATL code, contained within an image statement."
e "Для введения ATL, начнём с простой анимации. Вот анимация, состоящая из пяти строк кода ATL, содержащаяся внутри оператора image."
# game/tutorial_atl.rpy:455
translate russian tutorial_atl_12c839ee:
# e "In ATL, to change a displayable, simply mention it on a line of ATL code. Here, we're switching back and forth between two images."
e "В ATL, изменение отображаемого объекта осуществляется упоминанием его на строке кода. Здесь мы меняем два изображения туда-обратно."
# game/tutorial_atl.rpy:457
translate russian tutorial_atl_c671ed7d:
# e "Since we're defining an image, the first line of ATL has to name a displayable. Otherwise, there would be nothing to show."
e "Так как мы определяем изображение, первая строка ATL должна содержать имя отображаемого объекта, иначе нам бы было нечего показывать."
# game/tutorial_atl.rpy:459
translate russian tutorial_atl_99386181:
# e "The second and fourth lines are pause statements, which cause ATL to wait half of a second each before continuing. That's how we give the delay between images."
e "Вторая и четвёртая строки — операторы паузы, которые заставят ATL ждать полсекунды перед продолжением. Это позволяет нам добавить задержку между изображениями."
# game/tutorial_atl.rpy:461
translate russian tutorial_atl_60f2a5e8:
# e "The final line is a repeat statement. This causes the current block of ATL to be restarted. You can only have one repeat statement per block."
e "Последняя строка — оператор repeat. Он перезапускает текущий блок ATL. В одном блоке ATL может быть лишь один оператор repeat."
# game/tutorial_atl.rpy:466
translate russian tutorial_atl_146cf4c4:
# e "If we were to write repeat 2 instead, the animation would loop twice, then stop."
e "Мы также могли бы написать, например, repeat 2. Тогда анимация бы повторилась дважды и остановилась."
# game/tutorial_atl.rpy:471
translate russian tutorial_atl_d90b1838:
# e "Omitting the repeat statement means that the animation stops once we reach the end of the block of ATL code."
e "Если оператор repeat не добавлять, анимация прекратится по достижении конца блока ATL."
# game/tutorial_atl.rpy:476
translate russian tutorial_atl_e5872360:
# e "By default, displayables are replaced instantaneously. We can also use a with clause to give a transition between displayables."
e "По умолчанию, отображаемые объекты заменяются сразу же. Мы также можем использовать условие with для создания перехода между объектами."
# game/tutorial_atl.rpy:483
translate russian tutorial_atl_a7f8ed01:
# e "Now, let's move on to see how we can use ATL to transform an image. We'll start off by seeing what we can do to position images on the screen."
e "Попробуем преобразовать изображение с помощью ATL. Начнём с размещения изображений на экране."
# game/tutorial_atl.rpy:492
translate russian tutorial_atl_24501213:
# e "Perhaps the simplest thing we can do is to position the images on the screen. This can be done by simply giving the names of the transform properties, each followed by the value."
e "Размещение — одна из простейших вещей. Его можно выполнить просто задав имена свойств трансформации, а затем их значения."
# game/tutorial_atl.rpy:497
translate russian tutorial_atl_43516492:
# e "With a few more statements, we can move things around on the screen."
e "С некоторыми другими операторами, мы можем перемещать вещи по экрану."
# game/tutorial_atl.rpy:499
translate russian tutorial_atl_8b053b5a:
# e "This code starts the image off at the top-right of the screen, and waits a second."
e "Этот код начинает с изображением в правом верхнем углу и ждёт секунду."
# game/tutorial_atl.rpy:501
translate russian tutorial_atl_d7fc5372:
# e "It then moves it to the left side, waits another second, and repeats."
e "После этого он перемещает изображение влево, ждёт ещё секунду и повторяет."
# game/tutorial_atl.rpy:503
translate russian tutorial_atl_7650ec09:
# e "The pause and repeat statements are the same statements we used in our animations. They work throughout ATL code."
e "Операции pause и repeat — те же, что мы использовали в анимации. Они работают в любом коде ATL."
# game/tutorial_atl.rpy:508
translate russian tutorial_atl_d3416d4f:
# e "Having the image jump around on the screen isn't all that useful. That's why ATL has the interpolation statement."
e "Однако изображение прыгающее по экрану не очень полезно. Поэтому ATL поддерживает интерполяцию."
# game/tutorial_atl.rpy:510
translate russian tutorial_atl_4e7512ec:
# e "The interpolation statement allows you to smoothly vary the value of a transform property, from an old to a new value."
e "Интерполяция позволяет плавно изменять значение трансформации, от старого к новому."
# game/tutorial_atl.rpy:512
translate russian tutorial_atl_685eeeaa:
# e "Here, we have an interpolation statement on the second ATL line. It starts off with the name of a time function, in this case linear."
e "Здесь, у нас оператор интерполяции на второй строке кода ATL. Он начинается с имени функции времени (linear)."
# game/tutorial_atl.rpy:514
translate russian tutorial_atl_c5cb49de:
# e "That's followed by an amount of time, in this case three seconds. It ends with a list of properties, each followed by its new value."
e "После этого следует количество времени, в нашем случае — три секунды. Он заканчивается списком свойств, и их новых значений."
# game/tutorial_atl.rpy:516
translate russian tutorial_atl_72d47fb6:
# e "The old value is the value of the transform property at the start of the statement. By interpolating the property over time, we can change things on the screen."
e "Старое значение получается из свойства в начале исполнения оператора. Интерполяция свойств помогает изменять вещи на экране."
# game/tutorial_atl.rpy:526
translate russian tutorial_atl_2958f397:
# e "ATL supports more complicated move types, like circle and spline motion. But I won't be showing those here."
e "ATL поддерживает более сложные виды движений, такие как круговое. Но я их вам не покажу."
# game/tutorial_atl.rpy:528
translate russian tutorial_atl_4a02c8d8:
# e "Next, let's take a look at some of the transform properties that we can change using ATL."
e "Посмотрим на свойства трансформаций которые можно изменять через ATL."
# game/tutorial_atl.rpy:543
translate russian tutorial_atl_821fcb91:
# e "We've already seen the position properties. Along with xalign and yalign, we support the xpos, ypos, xanchor, and yanchor properties."
e "Мы уже видели свойства положения. Помимо xalign и yalign, мы поддерживаем xpos, ypos, xanchor и yanchor."
# game/tutorial_atl.rpy:558
translate russian tutorial_atl_cca5082b:
# e "We can perform a pan by using xpos and ypos to position images off of the screen."
e "Мы можем совершить съезд используя xpos и ypos вне экрана."
# game/tutorial_atl.rpy:560
translate russian tutorial_atl_0394dd50:
# e "This usually means giving them negative positions."
e "Обычно, это означает использование для них отрицательных значений."
# game/tutorial_atl.rpy:577
translate russian tutorial_atl_2624662e:
# e "The zoom property lets us scale the displayable by a factor, making it bigger and smaller. For best results, zoom should always be greater than 0.5."
e "Свойство zoom позволяет нам масштабировать изображение, делая его больше и меньше. Для достижения наилучших результатов, не используйте zoom меньше 0.5."
# game/tutorial_atl.rpy:591
translate russian tutorial_atl_b6527546:
# e "The xzoom and yzoom properties allow the displayable to be scaled in the X and Y directions independently."
e "Свойства xzoom и yzoom позволяют независимо масштабировать изображение по горизонтали и по вертикали."
# game/tutorial_atl.rpy:602
translate russian tutorial_atl_9fe238de:
# e "The size property can be used to set a size, in pixels, that the displayable is scaled to."
e "Свойство size позволяет установить размер (в пикселах) до которого следует масштабировать изображение."
# game/tutorial_atl.rpy:617
translate russian tutorial_atl_6b982a23:
# e "The alpha property allows us to vary the opacity of a displayable. This can make it appear and disappear."
e "Свойство alpha позволяет изменять прозрачность объекта."
# game/tutorial_atl.rpy:631
translate russian tutorial_atl_60d6d9f3:
# e "The rotate property lets us rotate a displayable."
e "Свойство rotate позволяет нам вращать объект."
# game/tutorial_atl.rpy:633
translate russian tutorial_atl_898a138a:
# e "Since rotation can change the size, usually you'll want to set xanchor and yanchor to 0.5 when positioning a rotated displayable."
e "Так как вращение может изменить размер, обычно при вращении устанавливают xanchor и yanchor в 0.5."
# game/tutorial_atl.rpy:644
translate russian tutorial_atl_207b7fc8:
# e "The crop property crops a rectangle out of a displayable, showing only part of it."
e "Свойство crop вырезает из объекта прямоугольник, что позволяет показать лишь часть изображения."
# game/tutorial_atl.rpy:658
translate russian tutorial_atl_ebb84988:
# e "When used together, they can be used to focus in on specific parts of an image."
e "Используя их вместе, мы можем сфокусироваться на особых частях изображения."
# game/tutorial_atl.rpy:664
translate russian tutorial_atl_d08fe8d9:
# e "Apart from displayables, pause, interpolation, and repeat, there are a few other statements we can use as part of ATL."
e "Помимо отображаемых объектов, пауз, интерполяций и повторов, существует несколько других ATL-команд."
# game/tutorial_atl.rpy:678
translate russian tutorial_atl_db6302bd:
# e "When we create an ATL transform using the transform statement, we can use that transform as an ATL statement."
e "Мы можем создать ATL-трансформацию используя оператор transform, а затем использовать её как часть оператора ATL."
# game/tutorial_atl.rpy:680
translate russian tutorial_atl_785911cf:
# e "Since the default positions are also transforms, this means that we can use left, right, and center inside of an ATL block."
e "Так как стандартные позиции являются трансформациями, мы можем использовать left, right и center внутри блоков ATL."
# game/tutorial_atl.rpy:698
translate russian tutorial_atl_331126c1:
# e "Here, we have two new statements. The block statement allows you to include a block of ATL code. Since the repeat statement applies to blocks, this lets you repeat only part of an ATL transform."
e "Здесь у нас два новых оператора. Оператор block позволяет вам вставить блок кода ATL. Так как оператор repeat применим к блокам, это позволяет повторить лишь часть трансформации."
# game/tutorial_atl.rpy:700
translate russian tutorial_atl_24f67b67:
# e "We also have the time statement, which runs after the given number of seconds have elapsed from the start of the block. It will run even if another statement is running, stopping the other statement."
e "У нас также есть оператор time, который выполняется после истечения определённого периода времени от начала блока. Он выполнится даже если другой код уже выполняется, и прервёт его."
# game/tutorial_atl.rpy:702
translate russian tutorial_atl_30dc0008:
# e "So this code will bounce the image back and forth for eleven and a half seconds, and then move back to the right side of the screen."
e "Этот код будет прыгать изображением взад-вперёд одиннадцать с половиной секунд, а потом вернёт его в правую сторону экрана."
# game/tutorial_atl.rpy:718
translate russian tutorial_atl_f903bc3b:
# e "The parallel statement lets us run two blocks of ATL code at the same time."
e "Оператор parallel позволяет нам запускать два блока ATL одновременно."
# game/tutorial_atl.rpy:720
translate russian tutorial_atl_5d0f8f9d:
# e "Here, the top block move the image in the horizontal direction, and the bottom block moves it in the vertical direction. Since they're moving at different speeds, it looks like the image is bouncing on the screen."
e "Здесь верхний блок двигает изображение горизонтально, а нижний — вертикально. Так как они двигаются на разных скоростях, это создаёт ощущения скачка изображения по экрану."
# game/tutorial_atl.rpy:737
translate russian tutorial_atl_28a7d27e:
# e "Finally, the choice statement makes Ren'Py randomly pick a block of ATL code. This allows you to add some variation as to what Ren'Py shows."
e "Наконец, оператор choice заставляет Ren'Py случайным образом выбрать блок кода ATL. Это позволит вам добавить вариацию в отображение объектов."
# game/tutorial_atl.rpy:743
translate russian tutorial_atl_5fc8c0df:
# e "This tutorial game has only scratched the surface of what you can do with ATL. For example, we haven't even covered the on and event statements. For more information, you might want to check out the ATL chapter in the reference manual."
e "Это обучение показало вам лишь самые основы ATL. Например, мы даже не сказали об операторах on и event. Для более подробной информации, прочтите главу о ATL в документации Ren'Py."
# game/tutorial_atl.rpy:747
translate russian tutorial_atl_1358c6b4:
# e "But for now, just remember that when it comes to animating and transforming, ATL is the hot new thing."
e "А сейчас, запомните, что когда вы анимацией и трансформацией занимаетесь, ATL — то, что нужно вам."
translate russian strings:
# game/tutorial_atl.rpy:249
old "xpos 1.0 ypos .5"
new "xpos 1.0 ypos .5"
# game/tutorial_atl.rpy:249
old "xpos .75 ypos .25"
new "xpos .75 ypos .25"
# game/tutorial_atl.rpy:249
old "xpos .25 ypos .33"
new "xpos .25 ypos .33"