-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtutorial_quickstart.rpy
864 lines (577 loc) · 29.2 KB
/
tutorial_quickstart.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
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
# TODO: Translation updated at 2025-01-26 12:26
# game/tutorial_quickstart.rpy:28
translate italian tutorial_create_27048c11:
# e "When you're ready to use Ren'Py to create your visual novel, the first step is to create a new project."
e ""
# game/tutorial_quickstart.rpy:30
translate italian tutorial_create_bae6289c:
# e "You can create a new project by clicking 'Create New Project' on the front screen of the launcher."
e ""
# game/tutorial_quickstart.rpy:32
translate italian tutorial_create_45915fcb:
# e "If this is your first time using Ren'Py, it'll ask you for the place you want to keep your projects. The best place is always somewhere that's frequently backed up."
e ""
# game/tutorial_quickstart.rpy:36
translate italian tutorial_create_55e30cb5:
# e "After that, Ren'Py will ask for a name for your project. You'll have to stick to English letters and numbers, as zip files can't handle anything more than that."
e ""
# game/tutorial_quickstart.rpy:40
translate italian tutorial_create_dea3e5c2:
# e "The next thing Ren'Py will ask for is the resolution the visual novel will run at. This controls how large or small you'll have to make your game's artwork."
e ""
# game/tutorial_quickstart.rpy:44
translate italian tutorial_create_3289ea75:
# e "Finally, Ren'Py will ask you to select a color scheme. You can change this after the game has been created, so just pick a color that's pleasing."
e ""
# game/tutorial_quickstart.rpy:48
translate italian tutorial_create_6b9e3b96:
# e "Once that's done, Ren'Py will work for a bit and return you to the main menu with the new project selected. Now, when you click Launch, Ren'Py will start your new game."
e ""
# game/tutorial_quickstart.rpy:50
translate italian tutorial_create_bdf94f9b:
# e "To get back here, you can choose 'Tutorial' to switch to this tutorial game."
e ""
# game/tutorial_quickstart.rpy:52
translate italian tutorial_create_22f516df:
# e "You'll also need to edit the games script to make changes. To do that, click 'script.rpy' on the front page of the launcher."
e ""
# game/tutorial_quickstart.rpy:54
translate italian tutorial_create_9151025b:
# e "If it's your first time doing so, Ren'Py will ask you to select a text editor. Atom might be a safe choice, but read the descriptions to be sure."
e ""
# game/tutorial_quickstart.rpy:56
translate italian tutorial_create_bfbd6220:
# e "After the text editor is downloaded, the script will open up and you can start to change what characters are saying."
e ""
# game/tutorial_quickstart.rpy:69
translate italian tutorial_dialogue_112ff505:
# e "Probably the most common thing a creator does with Ren'Py is to write dialogue for the player to read."
e ""
# game/tutorial_quickstart.rpy:71
translate italian tutorial_dialogue_be2be31a:
# e "But before I can show you how to write dialogue, let me show you how we present script examples."
e ""
# game/tutorial_quickstart.rpy:74
translate italian tutorial_dialogue_7b6be28e:
# "Eileen" "Examples will show up in a window like the one above. You'll need to click outside of the example window in order to advance the tutorial."
"Eileen" ""
# game/tutorial_quickstart.rpy:76
translate italian tutorial_dialogue_5269d005:
# "Eileen" "When an example is bigger than the screen, you can scroll around in it using the mouse wheel or by simply dragging the mouse."
"Eileen" ""
# game/tutorial_quickstart.rpy:78
translate italian tutorial_dialogue_241c0c74:
# "Eileen" "Script might seem scary at first, but if you look you'll see it's easy to match it up to what I'm saying."
"Eileen" ""
# game/tutorial_quickstart.rpy:82
translate italian tutorial_dialogue_f0d66410:
# e "Let's see the simplest possible Ren'Py game."
e ""
# game/tutorial_quickstart.rpy:89
translate italian tutorial_dialogue_3e6b0068:
# "Wow, It's really really dark in here."
""
# game/tutorial_quickstart.rpy:91
translate italian tutorial_dialogue_5072a404:
# "Lucy" "Better watch out. You don't want to be eaten by a Grue."
"Lucy" ""
# game/tutorial_quickstart.rpy:99
translate italian tutorial_dialogue_d39d1b2b:
# e "I'll show you the script of that example."
e ""
# game/tutorial_quickstart.rpy:101
translate italian tutorial_dialogue_f51ecf1f:
# e "This script demonstrates two kinds of Ren'Py statements, labels and say statements."
e ""
# game/tutorial_quickstart.rpy:103
translate italian tutorial_dialogue_bc7ec147:
# e "The first line is a label statement. The label statement is used to give a name to a place in the program."
e ""
# game/tutorial_quickstart.rpy:105
translate italian tutorial_dialogue_b20db833:
# e "In this case, we're naming a place \"start\". The start label is special, as it marks the place a game begins running."
e ""
# game/tutorial_quickstart.rpy:107
translate italian tutorial_dialogue_b0afbe96:
# e "The next line is a simple say statement. It consists of a string beginning with a double-quote, and ending at the next double-quote."
e ""
# game/tutorial_quickstart.rpy:109
translate italian tutorial_dialogue_628c9e4c:
# e "Special characters in strings can be escaped with a backslash. To include \" in a string, we have to write \\\"."
e ""
# game/tutorial_quickstart.rpy:116
translate italian tutorial_dialogue_3e6b0068_1:
# "Wow, It's really really dark in here."
""
# game/tutorial_quickstart.rpy:125
translate italian tutorial_dialogue_d7f0b5b7:
# e "When Ren'Py sees a single string on a line by itself, it uses the narrator to say that string. So a single string can be used to express a character's thoughts."
e ""
# game/tutorial_quickstart.rpy:131
translate italian tutorial_dialogue_5072a404_1:
# "Lucy" "Better watch out. You don't want to be eaten by a Grue."
"Lucy" ""
# game/tutorial_quickstart.rpy:139
translate italian tutorial_dialogue_9dd2d543:
# e "When we have two strings separated by a space, the first is used as the character's name, and the second is what the character is saying."
e ""
# game/tutorial_quickstart.rpy:141
translate italian tutorial_dialogue_64ffe685:
# e "This two-argument form of the say statement is used for dialogue, where a character is speaking out loud."
e ""
# game/tutorial_quickstart.rpy:143
translate italian tutorial_dialogue_97a33275:
# e "If you'd like, you can run this game yourself by erasing everything in your project's script.rpy file, and replacing it with the code in the box above."
e ""
# game/tutorial_quickstart.rpy:145
translate italian tutorial_dialogue_c5e70d7e:
# e "Be sure to preserve the spacing before lines. That's known as indentation, and it's used to help Ren'Py group lines of script into blocks."
e ""
# game/tutorial_quickstart.rpy:149
translate italian tutorial_dialogue_90719f73:
# e "Using a string for a character's name is inconvenient, for two reasons."
e ""
# game/tutorial_quickstart.rpy:151
translate italian tutorial_dialogue_910f286a:
# e "The first is that's it's a bit verbose. While typing \"Lucy\" isn't so bad, imagine if you had to type \"Eileen Richardson\" thousands of times."
e ""
# game/tutorial_quickstart.rpy:153
translate italian tutorial_dialogue_9c9d59c2:
# e "The second is that it doesn't leave any place to put styling, which can change the look of a character."
e ""
# game/tutorial_quickstart.rpy:155
translate italian tutorial_dialogue_2a2d1e51:
# e "To solve these problems, Ren'Py lets you define Characters."
e ""
# game/tutorial_quickstart.rpy:159
translate italian tutorial_dialogue_16e8c5fd:
# e "Here's an example Character definition. It begins with the word \"define\". That tells Ren'Py that we are defining something."
e ""
# game/tutorial_quickstart.rpy:161
translate italian tutorial_dialogue_34fe5aa0:
# e "Define is followed by a short name for the character, like \"l\". We'll be able to use that short name when writing dialogue."
e ""
# game/tutorial_quickstart.rpy:163
translate italian tutorial_dialogue_67f90201:
# e "This is followed by an equals sign, and the thing that we're defining. In this case, it's a Character."
e ""
# game/tutorial_quickstart.rpy:165
translate italian tutorial_dialogue_4e454a89:
# e "On the first line, the character's name is given to be \"Lucy\", and her name will be drawn a reddish color."
e ""
# game/tutorial_quickstart.rpy:167
translate italian tutorial_dialogue_db11f026:
# e "These short names are case-sensitive. Capital L is a different name from lower-case l, so you'll need to be careful about that."
e ""
# game/tutorial_quickstart.rpy:171
translate italian tutorial_dialogue_1d161320:
# e "Now that we have a character defined, we can use it to say dialogue."
e ""
# game/tutorial_quickstart.rpy:178
translate italian tutorial_dialogue_3710169c:
# l "Why are you trying to put words into my mouth? And who are you calling \"it\"?"
l ""
# game/tutorial_quickstart.rpy:180
translate italian tutorial_dialogue_6d463776:
# l "What's more, what are you going to do about the Grue problem? Are you just going to leave me here?"
l ""
# game/tutorial_quickstart.rpy:188
translate italian tutorial_dialogue_023bcd31:
# e "Here's the full game, including the two new lines of dialogue, both of which use the Character we defined to say dialogue."
e ""
# game/tutorial_quickstart.rpy:190
translate italian tutorial_dialogue_48bb9547:
# e "The one-argument form of the say statement is unchanged, but in the two-argument form, instead of the first string we can use a short name."
e ""
# game/tutorial_quickstart.rpy:192
translate italian tutorial_dialogue_56a9936f:
# e "When this say statement is run, Ren'Py will look up the short name, which is really a Python variable. It will then use the associated Character to show the dialogue."
e ""
# game/tutorial_quickstart.rpy:194
translate italian tutorial_dialogue_d5984a21:
# e "The Character object controls who is speaking, the color of their name, and many other properties of the dialogue."
e ""
# game/tutorial_quickstart.rpy:198
translate italian tutorial_dialogue_a5bcac8b:
# e "Since the bulk of a visual novel is dialogue, we've tried to make it as easy to write as possible."
e ""
# game/tutorial_quickstart.rpy:200
translate italian tutorial_dialogue_6b9a42d0:
# e "Hopefully, by allowing the use of short names for characters, we've succeeded."
e ""
# game/tutorial_quickstart.rpy:206
translate italian tutorial_images_e09ac970:
# e "A visual novel isn't much without images. So let's add some images to our little game."
e ""
# game/tutorial_quickstart.rpy:208
translate italian tutorial_images_40140793:
# e "Before we can show images, we must first choose image names, then place the image files into the images directory."
e ""
# game/tutorial_quickstart.rpy:210
translate italian tutorial_images_d73388f8:
# e "An image name is something like 'bg cave' or 'lucy happy', with one or more parts separated by spaces."
e ""
# game/tutorial_quickstart.rpy:212
translate italian tutorial_images_2d5596d4:
# e "Each part should start with a lower-case letter, and then contain lower-case letters, numbers, and underscores."
e ""
# game/tutorial_quickstart.rpy:214
translate italian tutorial_images_e02c0c82:
# e "The first part of an image is called the tag. For 'bg cave' the tag is 'bg', while for 'lucy happy' the tag is 'lucy'."
e ""
# game/tutorial_quickstart.rpy:216
translate italian tutorial_images_d5eafcf2:
# e "You can open the images directory by clicking the appropriate button in the Ren'Py launcher."
e ""
# game/tutorial_quickstart.rpy:218
translate italian tutorial_images_e4b12fb6:
# e "The files in the images directory should have the same name as the image, followed by an extension like .jpg, .png, or .webp."
e ""
# game/tutorial_quickstart.rpy:220
translate italian tutorial_images_a3bd89b2:
# e "Our example uses 'bg cave.jpg', 'lucy happy.png', and 'lucy mad.png'."
e ""
# game/tutorial_quickstart.rpy:224
translate italian tutorial_images_76b954de:
# e "Let's see what those look like in the game."
e ""
# game/tutorial_quickstart.rpy:230
translate italian tutorial_images_f04e72ea:
# l "Now that the lights are on, we don't have to worry about Grues anymore."
l ""
# game/tutorial_quickstart.rpy:234
translate italian tutorial_images_d77ffa1c:
# l "But what's the deal with me being in a cave? Eileen gets to be out in the sun, and I'm stuck here!"
l ""
# game/tutorial_quickstart.rpy:242
translate italian tutorial_images_6c0c938b:
# e "Here's the script for that scene. Notice how it includes two new statements, the scene and show statement."
e ""
# game/tutorial_quickstart.rpy:244
translate italian tutorial_images_1a4660b9:
# e "The scene statement clears the screen, and then adds a background image."
e ""
# game/tutorial_quickstart.rpy:246
translate italian tutorial_images_a5e7eb24:
# e "The show statement adds a new image on top of all the other images on the screen."
e ""
# game/tutorial_quickstart.rpy:248
translate italian tutorial_images_86e11de2:
# e "If there is already an image with the same tag, the new image is used to replace the old one."
e ""
# game/tutorial_quickstart.rpy:250
translate italian tutorial_images_802825f2:
# e "Changes to the list of shown images take place instantly, so in the example, the user won't see the background by itself."
e ""
# game/tutorial_quickstart.rpy:252
translate italian tutorial_images_b246dfdd:
# e "The second show statement has an at clause, which gives a location on the screen. Common locations are left, right, and center, but you can define many more."
e ""
# game/tutorial_quickstart.rpy:257
translate italian tutorial_images_82fceeb8:
# e "In this example, we show an image named logo base, and we show it at a creator-defined position, rightish."
e ""
# game/tutorial_quickstart.rpy:259
translate italian tutorial_images_9defda43:
# e "We also specify that it should be shown behind another image, in this case eileen. That's me."
e ""
# game/tutorial_quickstart.rpy:264
translate italian tutorial_images_73d331f7:
# e "Finally, there's the hide statement, which hides the image with the given tag."
e ""
# game/tutorial_quickstart.rpy:266
translate italian tutorial_images_f34f62d5:
# e "Since the show statement replaces an image, and the scene statement clears the scene, it's pretty rare to hide an image."
e ""
# game/tutorial_quickstart.rpy:268
translate italian tutorial_images_e06fa53a:
# e "The main use is for when a character or prop leaves before the scene is over."
e ""
# game/tutorial_quickstart.rpy:282
translate italian tutorial_simple_positions_b492e793:
# e "When the standard positions that come with Ren'Py aren't enough for you, you can create your own. Here, I'll show you the easy way to do it."
e ""
# game/tutorial_quickstart.rpy:291
translate italian tutorial_simple_positions_04e3bc44:
# e "The first way to do it is to show an image followed by a colon. Then indented on the next couple of lines are the xalign and yalign transform properties."
e ""
# game/tutorial_quickstart.rpy:293
translate italian tutorial_simple_positions_3ecad5f8:
# e "Each of the transform properties is a name followed by a value. For xalign and yalign, the values are numbers."
e ""
# game/tutorial_quickstart.rpy:295
translate italian tutorial_simple_positions_61c1b124:
# e "The xalign transform property is the important one, as it controls where the image is placed horizontally on the screen."
e ""
# game/tutorial_quickstart.rpy:305
translate italian tutorial_simple_positions_67ebea97:
# e "An xalign of 0.0 is the left side."
e ""
# game/tutorial_quickstart.rpy:315
translate italian tutorial_simple_positions_bd4f56d8:
# e "0.5 is the center."
e ""
# game/tutorial_quickstart.rpy:324
translate italian tutorial_simple_positions_fb2c48f2:
# e "And 1.0 is the right. The decimal place is important and has to be there. Just 1 by itself won't work the same."
e ""
# game/tutorial_quickstart.rpy:333
translate italian tutorial_simple_positions_8eebc9a7:
# e "Of course, you can pick any position in between."
e ""
# game/tutorial_quickstart.rpy:335
translate italian tutorial_simple_positions_4cd917f6:
# e "The yalign property is the same way, with 0.0 being the top of the screen and 1.0 being the bottom. Since most sprites stick to the bottom, it's almost always 1.0."
e ""
# game/tutorial_quickstart.rpy:341
translate italian tutorial_simple_positions_fbd1a3eb:
# e "While being able to write positions like this is useful, having to repeatedly do so isn't. So Ren'Py lets you define a transform once, and reuse it."
e ""
# game/tutorial_quickstart.rpy:345
translate italian tutorial_simple_positions_2377e3b3:
# e "Usually transforms are defined at the top of a file, right after the characters. But it doesn't matter to Ren'Py where you define them."
e ""
# game/tutorial_quickstart.rpy:347
translate italian tutorial_simple_positions_3ce7e367:
# e "The transform is given a name, slightleft, and then the xalign and yalign properties."
e ""
# game/tutorial_quickstart.rpy:355
translate italian tutorial_simple_positions_82d640d9:
# e "Once a transform has been defined, you can use it in the at clause of the show statement."
e ""
# game/tutorial_quickstart.rpy:360
translate italian tutorial_simple_positions_16b66785:
# e "Transforms are sticky. If you replace an image without using a transform, Ren'Py will keep the same transforms it had been using."
e ""
# game/tutorial_quickstart.rpy:364
translate italian tutorial_simple_positions_5d5e0cfd:
# e "Of course, there's a lot more to transforms than this. If you want to learn more, you can read the sections on Position Properties, Transforms and Animation, and Transform Properties."
e ""
# game/tutorial_quickstart.rpy:366
translate italian tutorial_simple_positions_e65da9bf:
# e "But for many visual novels, xalign and yalign are the only properties that matter."
e ""
# game/tutorial_quickstart.rpy:381
translate italian tutorial_transitions_9b8c714c:
# e "It can be somewhat jarring for the game to jump from place to place."
e ""
# game/tutorial_quickstart.rpy:388
translate italian tutorial_transitions_3e290ea8:
# e "To help take some of edge off a change in scene, Ren'Py supports the use of transitions. Let's try that scene change again, but this time we'll use transitions."
e ""
# game/tutorial_quickstart.rpy:402
translate italian tutorial_transitions_9c0a86c4:
# e "That's much smoother. Here's some example code showing how we include transitions in our game."
e ""
# game/tutorial_quickstart.rpy:404
translate italian tutorial_transitions_3e490d40:
# e "It uses the with statement. The with statement causes the scene to transition from the last things shown to the things currently being shown."
e ""
# game/tutorial_quickstart.rpy:406
translate italian tutorial_transitions_a43847df:
# e "It takes a transition as an argument. In this case, we're using the Dissolve transition. This transition takes as an argument the amount of time the dissolve should take."
e ""
# game/tutorial_quickstart.rpy:408
translate italian tutorial_transitions_6fcee414:
# e "In this case, each transition takes half a second."
e ""
# game/tutorial_quickstart.rpy:412
translate italian tutorial_transitions_033042cc:
# e "We can define a short name for a transition, using the define statement. Here, we're defining slowdissolve to be a dissolve that takes a whole second."
e ""
# game/tutorial_quickstart.rpy:427
translate italian tutorial_transitions_0ba82f00:
# e "Once a transition has been given a short name, we can use it in our game."
e ""
# game/tutorial_quickstart.rpy:431
translate italian tutorial_transitions_51ff9600:
# e "Ren'Py defines some transitions for you, like dissolve, fade, and move. For more complex or customized transitions, you'll have to define your own."
e ""
# game/tutorial_quickstart.rpy:433
translate italian tutorial_transitions_1528f73f:
# e "If you're interested, check out the Transitions Gallery section of this tutorial."
e ""
# game/tutorial_quickstart.rpy:439
translate italian tutorial_music_8b92efb7:
# e "Another important part of a visual novel or simulation game is the soundtrack."
e ""
# game/tutorial_quickstart.rpy:441
translate italian tutorial_music_53910317:
# e "Ren'Py breaks sound up into channels. The channel a sound is played on determines if the sound loops, and if it is saved and restored with the game."
e ""
# game/tutorial_quickstart.rpy:443
translate italian tutorial_music_a1e37712:
# e "When a sound is played on the music channel, it is looped, and it is saved when the game is saved."
e ""
# game/tutorial_quickstart.rpy:445
translate italian tutorial_music_d9086d22:
# e "When the channel named sound is used, the sound is played once and then stopped. It isn't saved."
e ""
# game/tutorial_quickstart.rpy:447
translate italian tutorial_music_3555b640:
# e "The sounds themselves are stored in audio files. Ren'Py supports the Opus, Ogg Vorbis, and mp3 formats."
e ""
# game/tutorial_quickstart.rpy:449
translate italian tutorial_music_a2ffbe9b:
# e "Let's check out some of the commands that can affect the music channel."
e ""
# game/tutorial_quickstart.rpy:454
translate italian tutorial_music_8b606a55:
# e "The play music command replaces the currently playing music, and replaces it with the named filename."
e ""
# game/tutorial_quickstart.rpy:456
translate italian tutorial_music_18650fe7:
# e "If you specify the currently-playing song, it will restart it."
e ""
# game/tutorial_quickstart.rpy:458
translate italian tutorial_music_413d91fc:
# e "If the optional fadeout clause is given, it will fade out the currently playing music before starting the new music."
e ""
# game/tutorial_quickstart.rpy:463
translate italian tutorial_music_a282a0e3:
# e "The queue statement also adds music to the named channel, but it waits until the currently-playing song is finished before playing the new music."
e ""
# game/tutorial_quickstart.rpy:468
translate italian tutorial_music_01ca6bad:
# e "The third statement is the stop statement. It stops the music playing on a channel. It too takes the fadeout clause."
e ""
# game/tutorial_quickstart.rpy:473
translate italian tutorial_music_384937da:
# e "Unlike the music channel, playing a sound on the sound channel causes it to play only once."
e ""
# game/tutorial_quickstart.rpy:480
translate italian tutorial_music_1d3e9fd2:
# e "You can queue up multiple sounds on the sound channel, but the sounds will only play one at a time."
e ""
# game/tutorial_quickstart.rpy:486
translate italian tutorial_music_aa01c19d:
# e "Ren'Py has separate mixers for sound, music, and voices, so the player can adjust them as they like."
e ""
# game/tutorial_quickstart.rpy:492
translate italian tutorial_menus_0426904b:
# e "Many visual novels require the player to make choices from in-game menus. These choices can add some challenge to the game, or adjust it to the player's preferences."
e ""
# game/tutorial_quickstart.rpy:494
translate italian tutorial_menus_431eeff0:
# e "Do you like to play visual novels with choices in them?"
e ""
# game/tutorial_quickstart.rpy:509
translate italian choice1_yes_f6d95df8:
# e "While creating a multi-path visual novel can be a bit more work, it can yield a unique experience."
e ""
# game/tutorial_quickstart.rpy:517
translate italian choice1_no_72958b50:
# e "Games without menus are called kinetic novels, and there are dozens of them available to play."
e ""
# game/tutorial_quickstart.rpy:528
translate italian choice1_done_acba9504:
# e "Here, you can see the code for that menu. If you scroll down, you can see the code we run after the menu."
e ""
# game/tutorial_quickstart.rpy:530
translate italian choice1_done_f9fa6889:
# e "Menus are introduced by the menu statement. The menu statement takes an indented block, in which there can be one line of dialogue and multiple choices."
e ""
# game/tutorial_quickstart.rpy:532
translate italian choice1_done_ebb2db38:
# e "Each choice must end with a colon, as each choice has its own block of Ren'Py code, that is run when that choice is selected."
e ""
# game/tutorial_quickstart.rpy:534
translate italian choice1_done_59cac95d:
# e "Here, each block jumps to a label. While you could put small amounts of Ren'Py code inside a menu label, it's probably good practice to usually jump to a bigger block of code."
e ""
# game/tutorial_quickstart.rpy:536
translate italian choice1_done_2851a313:
# e "Scrolling down past the menu, you can see the labels that the menu jumps to. There are three labels here, named choice1_yes, choice1_no, and choice1_done."
e ""
# game/tutorial_quickstart.rpy:538
translate italian choice1_done_ff761b03:
# e "When the first menu choice is picked, we jump to the choice1_yes, which runs two lines of script before jumping to choice1_done."
e ""
# game/tutorial_quickstart.rpy:540
translate italian choice1_done_664fe702:
# e "Similarly, picking the second choice jumps us to choice1_no, which also runs two lines of script."
e ""
# game/tutorial_quickstart.rpy:542
translate italian choice1_done_31d12b1e:
# e "The lines beginning with the dollar sign are lines of python code, which are used to set a flag based on the user's choice."
e ""
# game/tutorial_quickstart.rpy:544
translate italian choice1_done_88398d3e:
# e "The flag is named menu_flag, and it's set to True or False based on the user's choice. The if statement can be used to test a flag, so the game can remember the user's choices."
e ""
# game/tutorial_quickstart.rpy:549
translate italian choice1_done_2828dbfc:
# e "For example, I remember that you plan to use menus in your game."
e ""
# game/tutorial_quickstart.rpy:553
translate italian choice1_done_503786e4:
# e "For example, I remember that you're planning to make a kinetic novel, without menus."
e ""
# game/tutorial_quickstart.rpy:555
translate italian choice1_done_819e234a:
# e "Here's an example that shows how we can test a flag, and do different things if it is true or not."
e ""
# game/tutorial_quickstart.rpy:560
translate italian choice1_done_461e6a59:
# e "Finally, this shows how you can show dialogue and menus at the same time. Understand?" nointeract
e "" nointeract
# game/tutorial_quickstart.rpy:564
translate italian choice1_done_a32e30fd:
# e "Great."
e ""
# game/tutorial_quickstart.rpy:568
translate italian choice1_done_fbd1dbc1:
# e "If you look at the example, before the first choice, there's an indented say statement."
e ""
# game/tutorial_quickstart.rpy:574
translate italian menu3_done_47fa2268:
# e "Although we won't demonstrate it here, Ren'Py supports making decisions based on a combinations of points, flags, and other factors."
e ""
# game/tutorial_quickstart.rpy:576
translate italian menu3_done_826a600b:
# e "One of Ren'Py's big advantages is the flexibility using a scripting language like Python provides us. It lets us easily scale from kinetic novels to complex simulation games."
e ""
# game/tutorial_quickstart.rpy:585
translate italian tutorial_input_066611c5:
# e "Some games might prompt the player for input."
e ""
# game/tutorial_quickstart.rpy:599
translate italian tutorial_input_dc3b4560:
# e "That's done with Python, and especially the renpy.input function. The first line of this example prompts the player for some texts, and sticks it in the name variable."
e ""
# game/tutorial_quickstart.rpy:601
translate italian tutorial_input_c88b3f4e:
# e "Often times, you'll want to clean the name up before you use it. The last line does that, by calling the strip method to remove whitespace, and replacing the name with a default if it's missing."
e ""
# game/tutorial_quickstart.rpy:605
translate italian tutorial_input_1236e9da:
# e "To interpolate a variable, write it in square brackets. Isn't that right, [name]?"
e ""
# game/tutorial_quickstart.rpy:609
translate italian tutorial_input_c1f7a808:
# e "Variable names can also be shown in character names. To do that, just include the variable in square brackets in the character's name. Got it?"
e ""
# game/tutorial_quickstart.rpy:612
translate italian tutorial_input_f7757a8e:
# g "I think I do."
g ""
# game/tutorial_quickstart.rpy:619
translate italian tutorial_input_0548d3e2:
# e "Variable interpolation also works with other variables. Here, the answer is [answer] and the flag is [flag]."
e ""
translate italian strings:
# game/tutorial_quickstart.rpy:2
old "Lucy"
new ""
# game/tutorial_quickstart.rpy:497
old "Yes, I do."
new ""
# game/tutorial_quickstart.rpy:497
old "No, I don't."
new ""
# game/tutorial_quickstart.rpy:589
old "What's your name?"
new ""
# game/tutorial_quickstart.rpy:591
old "Guy Shy"
new ""