-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtutorial_screens.rpy
594 lines (410 loc) · 18 KB
/
tutorial_screens.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
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
# TODO: Translation updated at 2025-01-26 12:26
# game/tutorial_screens.rpy:165
translate italian tutorial_screens_2faa22e5:
# e "Screens are the most powerful part of Ren'Py. Screens let you customize the out-of-game interface, and create new in-game interface components."
e ""
# game/tutorial_screens.rpy:173
translate italian screens_menu_7f31d730:
# e "What would you like to know about screens?" nointeract
e "" nointeract
# game/tutorial_screens.rpy:201
translate italian screens_demo_115a4b8f:
# e "Screens are how we create the user interface in Ren'Py. With the exception of images and transitions, everything you see comes from a screen."
e ""
# game/tutorial_screens.rpy:203
translate italian screens_demo_ce100e07:
# e "When I'm speaking to you, I'm using the 'say' screen. It's responsible for taking dialogue and presenting it to the player."
e ""
# game/tutorial_screens.rpy:207
translate italian screens_demo_1bdfb4bd:
# e "And when the menu statement displays an in-game choice, the 'choice' screen is used. Got it?" nointeract
e "" nointeract
# game/tutorial_screens.rpy:215
translate italian screens_demo_31a20e24:
# e "Text input uses the 'input' screen, NVL mode uses the 'nvl' screen, and so on."
e ""
# game/tutorial_screens.rpy:217
translate italian screens_demo_5a5aa2d5:
# e "More than one screen can be displayed at once. For example, the buttons at the bottom - Back, History, Skip, and so on - are all displayed by a quick_menu screen that's shown all of the time."
e ""
# game/tutorial_screens.rpy:219
translate italian screens_demo_58d48fde:
# e "There are a lot of special screens, like 'main_menu', 'load', 'save', and 'preferences'. Rather than list them all here, I'll {a=https://www.renpy.org/doc/html/screen_special.html}send you to the documentation{/a}."
e ""
# game/tutorial_screens.rpy:221
translate italian screens_demo_27476d11:
# e "In a newly created project, all these screens live in screens.rpy. You can edit that file in order to change them."
e ""
# game/tutorial_screens.rpy:223
translate italian screens_demo_a699b1cb:
# e "You aren't limited to these screens either. In Ren'Py, you can make your own screens, and use them for your game's interface."
e ""
# game/tutorial_screens.rpy:230
translate italian screens_demo_a136e191:
# e "For example, in an RPG like visual novel, a screen can display the player's statistics."
e ""
# game/tutorial_screens.rpy:234
translate italian screens_demo_1f50f3d3:
# e "Which reminds me, I should probably heal you."
e ""
# game/tutorial_screens.rpy:241
translate italian screens_demo_8a54de7a:
# e "Complex screens can be the basis of whole game mechanics. A stats screen like this can be the basis of dating and life-sims."
e ""
# game/tutorial_screens.rpy:246
translate italian screens_demo_62c184f8:
# e "While screens might be complex, they're really just the result of a lot of simple parts working together to make something larger than all of them."
e ""
# game/tutorial_screens.rpy:265
translate italian screens_showing_1b51e9a4:
# e "Here's an example of a very simple screen. The screen statement is used to tell Ren'Py this is a screen, and its name is simple_screen." id screens_showing_1b51e9a4
e "" id screens_showing_1b51e9a4
# game/tutorial_screens.rpy:267
translate italian screens_showing_5a6bbad0:
# e "Inside the screen statement, lines introduces displayables such as frame, vbox, text, and textbutton; or properties like action, xalign, and ypos."
e ""
# game/tutorial_screens.rpy:272
translate italian screens_showing_ae40755c:
# e "I'll work from the inside out to describe the statements. But first, I'll show the screen so you can see it in action."
e ""
# game/tutorial_screens.rpy:274
translate italian screens_showing_bc320819:
# e "The text statement is used to display the text provided."
e ""
# game/tutorial_screens.rpy:276
translate italian screens_showing_64f23380:
# e "The textbutton statement introduces a button that can be clicked. When the button is clicked, the provided action is run."
e ""
# game/tutorial_screens.rpy:278
translate italian screens_showing_e8f68c08:
# e "Both are inside a vbox, which means vertical box, statement - that places the text on top of the button."
e ""
# game/tutorial_screens.rpy:280
translate italian screens_showing_7e48fc22:
# e "And that is inside a frame that provides the background and borders. The frame has an at property that takes a transform giving its position."
e ""
# game/tutorial_screens.rpy:286
translate italian screens_showing_80425bf3:
# e "There are a trio of statements that are used to display screens."
e ""
# game/tutorial_screens.rpy:291
translate italian screens_showing_7d2deb37:
# e "The first is the show screen statement, which displays a screen and lets Ren'Py keep going."
e ""
# game/tutorial_screens.rpy:293
translate italian screens_showing_7626dc8b:
# e "The screen will stay shown until it is hidden."
e ""
# game/tutorial_screens.rpy:297
translate italian screens_showing_c79038a4:
# e "Hiding a screen is done with the hide screen statement."
e ""
# game/tutorial_screens.rpy:301
translate italian screens_showing_8f78a97d:
# e "The call screen statement stops Ren'Py from executing script until the screen either returns a value, or jumps the script somewhere else."
e ""
# game/tutorial_screens.rpy:303
translate italian screens_showing_b52e420c:
# e "Since we can't display dialogue at the same time, you'll have to click 'Okay' to continue."
e ""
# game/tutorial_screens.rpy:310
translate italian screens_showing_c5ca730f:
# e "When a call screen statement ends, the screen is automatically hidden."
e ""
# game/tutorial_screens.rpy:312
translate italian screens_showing_a38d1702:
# e "Generally, you use show screen to show overlays that are up all the time, and call screen to show screens the player interacts with for a little while."
e ""
# game/tutorial_screens.rpy:335
translate italian screens_parameters_0666043d:
# e "Here's an example of a screen that takes three parameters. The message parameter is a message to show, while the okay and cancel actions are run when the appropriate button is chosen."
e ""
# game/tutorial_screens.rpy:337
translate italian screens_parameters_cf95b914:
# e "While the message parameter always has to be supplied, the okay and cancel parameters have default values that are used if no argument is given."
e ""
# game/tutorial_screens.rpy:339
translate italian screens_parameters_4ce03111:
# e "Each parameter is a variable that is defined inside the screen. Inside the screen, these variables take priority over those used in the rest of Ren'Py."
e ""
# game/tutorial_screens.rpy:343
translate italian screens_parameters_106c2a04:
# e "When a screen is shown, arguments can be supplied for each of the parameters. Arguments can be given by position or by name."
e ""
# game/tutorial_screens.rpy:350
translate italian screens_parameters_12ac92d4:
# e "Parameters let us change what a screen displays, simply by re-showing it with different arguments."
e ""
# game/tutorial_screens.rpy:357
translate italian screens_parameters_d143a994:
# e "The call screen statement can also take arguments, much like show screen does."
e ""
# game/tutorial_screens.rpy:369
translate italian screens_properties_423246a2:
# e "There are a few properties that can be applied to a screen itself."
e ""
# game/tutorial_screens.rpy:380
translate italian screens_properties_4fde164e:
# e "When the modal property is true, you can't interact with things beneath the screen. You'll have to click 'Close This Screen' before you can continue."
e ""
# game/tutorial_screens.rpy:398
translate italian screens_properties_550c0bea:
# e "When a screen has the tag property, it's treated like the tag part of an image name. Here, I'm showing a_tag_screen."
e ""
# game/tutorial_screens.rpy:402
translate italian screens_properties_4fcf8af8:
# e "When I show b_tag_screen, it replaces a_tag_screen."
e ""
# game/tutorial_screens.rpy:404
translate italian screens_properties_7ed5a791:
# e "This is useful in the game and main menus, where you want the load screen to replace the preferences screen. By default, all those screens have tag menu."
e ""
# game/tutorial_screens.rpy:408
translate italian screens_properties_5d51bd1e:
# e "For some reason, tag takes a name, and not an expression. It's too late to change it."
e ""
# game/tutorial_screens.rpy:432
translate italian screens_properties_6706e266:
# e "The zorder property controls the order in which screens overlap each other. The larger the zorder number, the closer the screen is to the player."
e ""
# game/tutorial_screens.rpy:434
translate italian screens_properties_f7a2c73d:
# e "By default, a screen has a zorder of 0. When two screens have the same zorder number, the screen that is shown second is closer to the player."
e ""
# game/tutorial_screens.rpy:454
translate italian screens_properties_78433eb8:
# e "The variant property selects a screen based on the properties of the device it's running on."
e ""
# game/tutorial_screens.rpy:456
translate italian screens_properties_e6db6d02:
# e "In this example, the first screen will be used for small devices like telephones, and the other screen will be used for tablets and computers."
e ""
# game/tutorial_screens.rpy:475
translate italian screens_properties_d21b5500:
# e "Finally, the style_prefix property specifies a prefix that's applied to the styles in the screen."
e ""
# game/tutorial_screens.rpy:477
translate italian screens_properties_560ca08a:
# e "When the 'red' prefix is given, the frame gets the 'red_frame' style, and the text gets the 'red_text' style."
e ""
# game/tutorial_screens.rpy:479
translate italian screens_properties_c7ad3a8e:
# e "This can save a lot of typing when styling screens with many displayables in them."
e ""
# game/tutorial_screens.rpy:491
translate italian screens_control_4a1d8d7c:
# e "The screen language has a few statements that do things other than show displayables. If you haven't seen the section on {a=jump:warp_screen_displayables}Screen Displayables{/a} yet, you might want to check it out, then come back here."
e ""
# game/tutorial_screens.rpy:503
translate italian screens_control_0e939050:
# e "The python statement works just about the same way it does in the script. A single line of Python is introduced with a dollar sign. This line is run each time the screen updates."
e ""
# game/tutorial_screens.rpy:518
translate italian screens_control_6334650a:
# e "Similarly, the python statement introduces an indented block of python statements. But there is one big difference in Python in screens and Python in scripts."
e ""
# game/tutorial_screens.rpy:520
translate italian screens_control_ba8f5f13:
# e "The Python you use in screens isn't allowed to have side effects. That means that it can't do things like change the value of a variable."
e ""
# game/tutorial_screens.rpy:522
translate italian screens_control_f75fa254:
# e "The reason for this is that Ren'Py will run a screen, and the Python in it, during screen prediction."
e ""
# game/tutorial_screens.rpy:536
translate italian screens_control_40c12afa:
# e "The default statement lets you set the value of a screen variable the first time the screen runs. This value can be changed with the SetScreenVariable and ToggleScreenVariable actions."
e ""
# game/tutorial_screens.rpy:538
translate italian screens_control_39e0f7e6:
# e "The default statement differs from the Python statement in that it is only run once. Python runs each time the screen updates, and hence the variable would never change value."
e ""
# game/tutorial_screens.rpy:557
translate italian screens_control_87a75fe7:
# e "The if statement works like it does in script, running one block if the condition is true and another if the condition is false."
e ""
# game/tutorial_screens.rpy:572
translate italian screens_control_6a8c07f6:
# e "The for statement takes a list of values, and iterates through them, running the block inside the for loop with the variable bound to each list item."
e ""
# game/tutorial_screens.rpy:588
translate italian screens_control_f7b755fa:
# e "The on and key statements probably only make sense at the top level of the screen."
e ""
# game/tutorial_screens.rpy:590
translate italian screens_control_328b0676:
# e "The on statement makes the screen run an action when an event occurs. The 'show' event happens when the screen is first shown, and the 'hide' event happens when it is hidden."
e ""
# game/tutorial_screens.rpy:592
translate italian screens_control_6768768b:
# e "The key event runs an event when a key is pressed."
e ""
# game/tutorial_screens.rpy:600
translate italian screen_use_c6a20a16:
# e "The screen language use statement lets you include a screen inside another. This can be useful to prevent duplication inside screens."
e ""
# game/tutorial_screens.rpy:616
translate italian screen_use_95a34d3a:
# e "Take for example this screen, which shows two stat entries. There's already a lot of duplication there, and if we had more stats, there would be more."
e ""
# game/tutorial_screens.rpy:633
translate italian screen_use_e2c673d9:
# e "Here, we moved the statements that show the text and bar into a second screen, and the use statement includes that screen in the first one."
e ""
# game/tutorial_screens.rpy:635
translate italian screen_use_2efdd2ff:
# e "The name and amount of the stat are passed in as arguments to the screen, just as is done in the call screen statement."
e ""
# game/tutorial_screens.rpy:637
translate italian screen_use_f8d1bf9d:
# e "By doing it this way, we control the amount of duplication, and can change the stat in one place."
e ""
# game/tutorial_screens.rpy:653
translate italian screen_use_4e22c25e:
# e "The transclude statement goes one step further, by letting the use statement take a block of screen language statements."
e ""
# game/tutorial_screens.rpy:655
translate italian screen_use_c83b97e3:
# e "When the included screen reaches the transclude statement it is replaced with the block from the use statement."
e ""
# game/tutorial_screens.rpy:657
translate italian screen_use_1ad1f358:
# e "The boilerplate screen is included in the first one, and the text from the first screen is transcluded into the boilerplate screen."
e ""
# game/tutorial_screens.rpy:659
translate italian screen_use_f74fab6e:
# e "Use and transclude are complex, but very powerful. If you think about it, 'use boilerplate' is only one step removed from writing your own Screen Language statement."
e ""
translate italian strings:
# game/tutorial_screens.rpy:26
old " Lv. [lv]"
new ""
# game/tutorial_screens.rpy:29
old "HP"
new ""
# game/tutorial_screens.rpy:58
old "Morning"
new ""
# game/tutorial_screens.rpy:58
old "Afternoon"
new ""
# game/tutorial_screens.rpy:58
old "Evening"
new ""
# game/tutorial_screens.rpy:61
old "Study"
new ""
# game/tutorial_screens.rpy:61
old "Exercise"
new ""
# game/tutorial_screens.rpy:61
old "Eat"
new ""
# game/tutorial_screens.rpy:61
old "Drink"
new ""
# game/tutorial_screens.rpy:61
old "Be Merry"
new ""
# game/tutorial_screens.rpy:107
old "Strength"
new ""
# game/tutorial_screens.rpy:111
old "Intelligence"
new ""
# game/tutorial_screens.rpy:115
old "Moxie"
new ""
# game/tutorial_screens.rpy:119
old "Chutzpah"
new ""
# game/tutorial_screens.rpy:171
old "What screens can do."
new ""
# game/tutorial_screens.rpy:171
old "How to show screens."
new ""
# game/tutorial_screens.rpy:171
old "Passing parameters to screens."
new ""
# game/tutorial_screens.rpy:171
old "Screen properties."
new ""
# game/tutorial_screens.rpy:171
old "Special screen statements."
new ""
# game/tutorial_screens.rpy:171
old "Using other screens."
new ""
# game/tutorial_screens.rpy:171
old "That's it."
new ""
# game/tutorial_screens.rpy:205
old "I do."
new ""
# game/tutorial_screens.rpy:331
old "Hello, world."
new ""
# game/tutorial_screens.rpy:331
old "You can't cancel this."
new ""
# game/tutorial_screens.rpy:346
old "Shiro was here."
new ""
# game/tutorial_screens.rpy:362
old "Click either button to continue."
new ""
# game/tutorial_screens.rpy:377
old "Close This Screen"
new ""
# game/tutorial_screens.rpy:388
old "A Tag Screen"
new ""
# game/tutorial_screens.rpy:395
old "B Tag Screen"
new ""
# game/tutorial_screens.rpy:447
old "You're on a small device."
new ""
# game/tutorial_screens.rpy:452
old "You're not on a small device."
new ""
# game/tutorial_screens.rpy:466
old "This text is red."
new ""
# game/tutorial_screens.rpy:496
old "Hello, World."
new ""
# game/tutorial_screens.rpy:510
old "It's good to meet you."
new ""
# game/tutorial_screens.rpy:534
old "Increase"
new ""
# game/tutorial_screens.rpy:563
old "Earth"
new ""
# game/tutorial_screens.rpy:563
old "Moon"
new ""
# game/tutorial_screens.rpy:563
old "Mars"
new ""
# game/tutorial_screens.rpy:581
old "Now press 'a'."
new ""
# game/tutorial_screens.rpy:583
old "The screen was just shown."
new ""
# game/tutorial_screens.rpy:585
old "You pressed the 'a' key."
new ""
# game/tutorial_screens.rpy:608
old "Health"
new ""
# game/tutorial_screens.rpy:613
old "Magic"
new ""
# game/tutorial_screens.rpy:644
old "There's not much left to see."
new ""