Skip to content

Commit 9f679f8

Browse files
authored
Merge pull request #177 from abnormalhare/main
fix #174 and #175 + 1 other bug
2 parents 6b8f904 + 88ec7a3 commit 9f679f8

File tree

11 files changed

+128
-18
lines changed

11 files changed

+128
-18
lines changed
237 KB
Loading
241 KB
Loading

BytesOfLove/game/script.rpy

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ transform not_speaking:
1616
# Music
1717

1818
# Characters
19+
define mc = Character("Developer")
1920
define r = Character("Rust", color="#B27300")
2021
define p = Character("???", color="#7DC23B")
2122
define c = Character("???", color="00599C")
@@ -94,6 +95,12 @@ default js_rep = 50
9495
#Perl
9596
default pe_rep = 50
9697

98+
#Breakout Leader
99+
image bsl_normal = "SideCharacters/BreakoutLeader/BreakoutLeader_Normal.png"
100+
image bsl_talk = "SideCharacters/BreakoutLeader/BreakoutLeader_Talking.png"
101+
102+
default bsl_rep = 50
103+
97104

98105
#background characters with no impact
99106
#this needs to be changed to the final character image for the advisor

BytesOfLove/game/scripts/orientation/w0_d2.rpy

Lines changed: 81 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,17 @@ label w0_d2:
9393
hide cpp_normal
9494
show cpp_talk
9595
c "\"Shut up, did it ever occur to you that maybe everyone is quiet for a reason?\""
96+
9697
hide cpp_talk
9798
show cpp_normal
9899
"{i}You obediently sit down, flustered{/i}"
100+
101+
hide cpp_normal
102+
show bsl_talk
99103
bsl "\"Alright, it looks like everyone is here.\""
100104
bsl "\"Go ahead and take some time to introduce yourself to those around you.\""
101105

102-
hide cpp_normal
106+
hide bsl_talk
103107
show python_normal with dissolve
104108
hide python_normal
105109
show python_happy
@@ -239,13 +243,18 @@ label w0_d2:
239243
hide cpp_talk
240244
show cpp_normal
241245

246+
show bsl_talk
242247
bsl "\"Alright now, we’re gonna start our guided tour of campus!\""
243248

244249
#tour just started put scene change
245250
scene statue_garden with fade
251+
show bsl_normal with dissolve
246252

247253
"{i}The group tours campus as the breakout session leader talks about random trivia{/i}"
254+
hide bsl_normal
255+
show bsl_talk
248256
bsl "\"And if you look to your left you will see Half-A-Century Tower...\""
257+
hide bsl_talk
249258
show cpp_talk with dissolve
250259
c "\"Gosh, this is so boring.\""
251260
c "\"Who doesn’t know all of this stuff already?\""
@@ -294,15 +303,17 @@ label w0_d2:
294303
jump w0_d2_StatueDB
295304

296305
label w0_d2_AfterStatue:
306+
show bsl_talk with dissolve
297307
bsl "\"Now we will be taking a break for lunch.\""
298308

299309
#change scene to cafeteria
300310
scene dining_hall with longer_fade
301311

302-
312+
show bsl_talk with dissolve
303313
bsl "\"The different food stations are located around the room.\""
304314
bsl "\"We will be meeting back in Room 283 in one hour.\""
305315
bsl "\"Feel free to sit wherever you want.\""
316+
hide bsl_talk with dissolve
306317
mc "\"Oh jeez, I was going to the bathroom and now everyone is already sitting with each other.\""
307318
mc "\"Where are the girls I was talking to earlier?\""
308319
mc "\"I hope I didn’t hurt anyone’s feelings.\""
@@ -319,17 +330,20 @@ label w0_d2_AfterStatue:
319330
jump w0_d2_LunchJava
320331

321332
label w0_d2_AfterLunch:
333+
show bsl_talk with dissolve
322334
bsl "\"Okay guys, lunch is over.\""
323335
bsl "\"Everyone, make sure you get back to Room 283 in 10 minutes.\""
324336

325-
326337
scene breakout_room with fade
327338

339+
show bsl_talk
328340
bsl "\"Okay guys, we are now going to be playing a fun game to test your knowledge.\""
329341
bsl "\"Since The University of ByteBorough is renowned for the College of Computing...\""
330342
bsl "\"We’ll be playing a trivia game about computer science!\""
331343
bsl "\"We are going to be splitting the room up into groups based on the table you’re currently at.\""
332344
bsl "\"Everybody ready?\""
345+
346+
hide bsl_talk
333347
mc "\"Okay guys, I am really good at trivia.\""
334348
mc "\"And we are team 1, and one happens to also be my lucky number.\""
335349
mc "\"I don’t know much about computer science stuff yet, but I am really good at guessing.\""
@@ -341,8 +355,10 @@ label w0_d2_AfterLunch:
341355
show js_talk
342356
js "\"I’m sure we won’t need luck, we all seem pretty smart!\""
343357
hide js_talk
344-
show js_smirk
358+
show js_smirk at right
359+
show bsl_talk
345360
bsl "\"Okay here is the first question\""
361+
hide bsl_talk
346362
hide js_smirk
347363
#display on screen
348364
#what will the following python code print? ...
@@ -517,15 +533,21 @@ label w0_d2_AfterLunch:
517533
c "\"Whatever, I am sorry you got hurt by me stating facts.\""
518534
c "\"Let’s just see what everyone else said.\""
519535

520-
show js_normal
521-
show cpp_normal at left
522-
show python_pocket at right
536+
# show js_normal
537+
# show cpp_normal at left
538+
# show python_pocket at right
539+
show bsl_talk
523540
bsl "\"Time’s up everyone!\""
524541
bsl "\"Write your answers down and hold them up.\""
542+
hide bsl_talk
543+
show bsl_normal
525544
"....."
545+
hide bsl_normal
546+
show bsl_talk
526547
bsl "\"Wow! It looks like every team got that first question right!\""
527548
bsl "\"This next one will be a little bit harder, get ready.\""
528549
bsl "\"What does the following Python code print?\""
550+
hide bsl_talk
529551

530552
#DISPLAY:
531553
#x = 4
@@ -575,6 +597,7 @@ label w0_d2_AfterLunch:
575597
c "\"Whatever.\""
576598
c "\"You guys didn't know the answer either.\""
577599
hide cpp_talk
600+
578601
show cpp_normal at left
579602
hide python_pocket
580603
show python_pocket_happy at right
@@ -595,7 +618,6 @@ label w0_d2_AfterLunch:
595618
menu w0_d2_mcdecision:
596619
"ERROR":
597620
#techScore -= 1
598-
show js_normal
599621
mc "\"Okay I think that this will result in an error.\""
600622
mc "\"I don’t think it will know to only reference X once, at the start of the loop.\""
601623
mc "\"Are we all good with this choice?\""
@@ -605,16 +627,26 @@ label w0_d2_AfterLunch:
605627
js "\"I say let’s trust your intuition, [mc].\""
606628
js "\"Whatever happens, happens, it’s just a game.\""
607629
hide js_talk
608-
show js_normal
630+
hide cpp_normal
631+
hide python_pocket
632+
show bsl_talk
609633
bsl "\"Alright, time’s up!\""
610634
bsl "\"Everyone, write your answers down and hold them up.\""
635+
hide bsl_talk
636+
show bsl_normal
611637
"....."
638+
hide bsl_normal
639+
show bsl_talk
612640
bsl "\"Ooh, it looks like only one group got that right!\""
613641
bsl "\"The correct answer was 5678, only team 3 got that correct!\""
614642
bsl "\"The reason it was 5678 was because when the loop begins it references the value held in x.\""
615643
bsl "\"This is the only time x is referenced in relation to the number of iterations, so changing x afterwards has no effect on the amount of iterations.\""
616644
bsl "\"And before we print x we increment it, which is why the first number is 5, not 4.\""
617645

646+
hide bsl_talk
647+
show js_normal # if it seems right, feel free to make these angry. i wouldn't know the vibes
648+
show python_pocket at right
649+
show cpp_normal at left
618650
mc "\"Oh man, that’s my bad guys.\""
619651
mc "\"I see how that is the answer.\""
620652
hide python_pocket
@@ -625,29 +657,40 @@ label w0_d2_AfterLunch:
625657
show python_pocket at right
626658
"4567":
627659
#techScore -= 1
628-
show js_smirk
660+
hide js_normal
661+
show js_smirk # might be a good idea to move this forward one?
629662
mc "\"I agree with JavaScript, this won’t be an error.\""
630663
mc "\"So first it will print out 4, then 5, then 6, then 7.\""
631664
mc "\"And then after 7 the loop will have iterated four times which was the original value of x.\""
632665
mc "\"Are we all good with this choice?\""
633666
hide js_smirk
667+
show js_normal
634668
hide cpp_normal
635669
show cpp_talk at left
636670
c "\"I disagree, but I’m not confident enough to say that I am right.\""
637671
c "\"I say let’s trust your intuition, [mc].\""
638672
c "\"Whatever happens, happens, it’s just a game.\""
639673
hide cpp_talk
640-
show cpp_normal at left
641-
674+
hide python_pocket
675+
hide js_normal
676+
show bsl_talk
642677
bsl "\"Alright, time’s up!\""
643678
bsl "\"Everyone, write your answers down and hold them up.\""
679+
hide bsl_talk
680+
show bsl_normal
644681
"....."
682+
hide bsl_normal
683+
show bsl_talk
645684
bsl "\"Ooh, it looks like only one group got that right!\""
646685
bsl "\"The correct answer was 5678, only team 3 got that correct!\""
647686
bsl "\"The reason it was 5678 was because when the loop begins it references the value held in x.\""
648687
bsl "\"This is the only time x is referenced in relation to the number of iterations, so changing x afterwards has no effect on the amount of iterations.\""
649688
bsl "\"And before we print x we increment it, which is why the first number is 5, not 4.\""
650689

690+
hide bsl_talk
691+
show cpp_normal at left
692+
show js_normal
693+
show python_pocket at right
651694
mc "\"Oh man, that’s my bad guys.\""
652695
mc "\"I see how that is the answer.\""
653696

@@ -660,29 +703,41 @@ label w0_d2_AfterLunch:
660703

661704
"5678":
662705
#techScore += 1
663-
show js_smirk
706+
hide js_normal
707+
show js_smirk # read line 660
664708
mc "\"I agree with JavaScript, this won’t be an error.\""
665709
mc "\"So first it will increment x.\""
666710
mc "\"Then it will print out 5, then 6, then 7, then 8.\""
667711
mc "\"And then after 7 the loop will have iterated four times which was the original value of x.\""
668712
mc "\"Are we all good with this choice?\""
669713
hide js_smirk
714+
show js_normal
670715
hide cpp_normal
671716
show cpp_talk at left
672717
c "\"I disagree, but I’m not confident enough to say that I am right.\""
673718
c "\"I say let’s trust your intuition, [mc].\""
674719
c "\"Whatever happens, happens, it’s just a game.\""
675720
hide cpp_talk
676-
show cpp_normal at left
721+
hide js_normal
722+
hide python_pocket
723+
show bsl_talk
677724
bsl "\"Alright, time’s up!\""
678725
bsl "\"Everyone, write your answers down and hold them up.\""
726+
hide bsl_talk
727+
show bsl_normal
679728
"....."
680729

730+
hide bsl_normal
731+
show bsl_talk
681732
bsl "\"Ooh, it looks like only one group got that right!\""
682733
bsl "\"The correct answer was 5678, only team 1 got that correct!\""
683734
bsl "\"The reason it was 5678 was because when the loop begins it references the value held in x.\""
684735
bsl "\"This is the only time x is referenced in relation to the number of iterations, so changing x afterwards has no effect on the amount of iterations.\""
685736
bsl "\"And before we print x we increment it, which is why the first number is 5, not 4.\""
737+
hide bsl_talk
738+
show cpp_normal at left
739+
show js_normal
740+
show python_pocket at right
686741
mc "\"Oh nice, we got it right!\""
687742
mc "\"Good job guys, I am glad we were able to work through that!\""
688743
hide python_pocket
@@ -691,12 +746,23 @@ label w0_d2_AfterLunch:
691746
hide python_pocket_happy
692747
show python_pocket at right
693748

749+
hide cpp_normal # if modified above, make sure to change these
750+
hide js_normal
751+
hide python_pocket
752+
with dissolve
694753
"Some time later..."
754+
show bsl_talk
695755
bsl "\"And the team with the most points is...\""
756+
hide bsl_talk
757+
show bsl_normal
696758
"....."
759+
hide bsl_normal
760+
show bsl_talk
697761
bsl "\"Team 1!\""
698-
hide js_normal
762+
hide bsl_talk
763+
show cpp_normal at left
699764
show js_talk
765+
show python_pocket at right
700766
js "\"OMG Yes!!!\""
701767
hide js_talk
702768
show js_smirk

BytesOfLove/game/scripts/orientation/w0_d2_choices/w0_d2_StatueDB.rpy

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,11 @@ label w0_d2_StatueDBContinue:
8989
hide js_talk
9090
show js_normal at right
9191
mc "\"No, that’s not what I was saying-\""
92+
show bsl_talk
9293
bsl "\"Hey you guys are being really loud.\""
9394
bsl "\"Could you try to keep it down?\""
95+
hide bsl_talk
96+
show bsl_normal
9497
mc "\"Sorry...\""
9598

9699
jump w0_d2_AfterStatue

BytesOfLove/game/scripts/orientation/w0_d2_choices/w0_d2_StatueSexist.rpy

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,13 @@ label w0_d2_StatueSexist:
3838
mc "\"Thank you, Python.\""
3939
mc "\"I wasn’t trying to step on any toes.\""
4040

41-
41+
show bsl_normal with dissolve
42+
show bsl_talk
4243
bsl "\"Uh... I am not a tour guide, I am just the leader of our breakout session.\""
4344
bsl "\"Which you guys have really been interrupting.\""
4445
bsl "\"Could you try to keep it down?\""
46+
hide bsl_talk
47+
show bsl_normal
4548
mc "\"Sorry...\""
4649

4750
jump w0_d2_AfterStatue

BytesOfLove/game/scripts/orientation/w0_d3.rpy

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,11 @@ label w0_d3_AfterMeetingRust:
4343

4444
scene breakout_room with fade
4545

46+
show bsl_talk
4647
bsl"\"Okay, as we found out yesterday, most of us here are computer science majors.\""
4748
bsl"\"So, before we go to the administration building, I will give you some tips on picking classes.\""
48-
49+
50+
hide bsl_talk
4951
show cpp_talk with dissolve
5052
c"\"Ugh, I wish we could just pick classes already.\""
5153
c"\"I don’t want to sit through this lady talking about stuff I already know.\""
@@ -67,9 +69,11 @@ label w0_d3_AfterMeetingRust:
6769
c"\"Jeez, you guys are hopeless.\""
6870

6971
hide cpp_talk
70-
show cpp_normal at left
72+
show bsl_talk
7173
bsl"\"Okay, since most of you are freshmen in computer science, here are the classes you want to take.\""
7274

75+
hide bsl_talk
76+
show bsl_normal
7377
mc"I wonder if I really need to pay attention…"
7478
mc"Surely, I can just copy whatever C++ does?"
7579
mc"It seems like she always has it figured out…"

BytesOfLove/game/scripts/orientation/w0_d3_choices/C++_Choices/w0_d3_CPPPayAttention.rpy

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,31 @@
11
label w0_d3_CPPPayAttention:
2+
show bsl_normal with dissolve
23
mc "But on the other hand, I should take classes I’m interested in, not what she’s interested in."
34
mc "I guess I’ll pay attention to the recommendations."
5+
show bsl_talk
46
bsl "\"So, since it will be all of your first semester, the classes you take are very important.\""
57
bsl "\"All of you should definitely try to take Introduction to Programming 1.\""
8+
hide bsl_talk
9+
show bsl_normal
610
mc "Okay, l already knew that one."
711
mc "I will have the perfect schedule, nobody can stop me!"
12+
hide bsl_normal
13+
show bsl_talk
814
bsl "\"Then, along with Introduction to Programming 1, you guys will want to take Calculus 1.\""
915
bsl "\"That class isn’t super challenging, but you definitely want to do it now.\""
16+
hide bsl_talk
17+
show bsl_normal
1018
mc "{i}*Writing vigorously*{/i} Great, so I need to take Introduction to Programming 1 and Calculus 1."
1119
mc "I hope this semester isn’t too hard..."
20+
hide bsl_normal
21+
show bsl_talk
1222
bsl "\"Aside from those two classes,\""
1323
bsl "\"There aren’t any classes that computer science students NEED to take.\""
24+
hide bsl_talk
25+
show bsl_normal
1426
mc "Nice, so I basically don’t have to pay attention anymore..."
1527
mc "I mean maybe I should, but-"
28+
hide bsl_normal
1629

1730
hide cpp_normal
1831
hide python_pocket

BytesOfLove/game/scripts/orientation/w0_d3_choices/C++_Choices/w0_d3_JSGeology.rpy

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,15 @@ label w0_d3_JSGeology:
144144
hide js_smirk
145145
show js_normal
146146

147+
hide js_normal
148+
show js_normal at left
149+
show bsl_normal with dissolve
150+
show bsl_talk
147151
bsl "\"Hey, can you guys be quiet back there?\""
148152
bsl "\"You have been talking the whole time.\""
149153
bsl "\"We will be going to the advising building to pick classes soon,\""
150154
bsl "\"So wait to talk until we leave the classroom please.\""
155+
hide bsl_talk
156+
show bsl_normal
151157
mc "\"Sure, sorry.\""
152158
jump w0_d3_Registration

0 commit comments

Comments
 (0)