diff --git a/BytesOfLove/game/codingImages/coding_question_1.png b/BytesOfLove/game/codingImages/coding_question_1.png new file mode 100644 index 0000000..8f228d7 Binary files /dev/null and b/BytesOfLove/game/codingImages/coding_question_1.png differ diff --git a/BytesOfLove/game/codingImages/coding_question_2.png b/BytesOfLove/game/codingImages/coding_question_2.png new file mode 100644 index 0000000..8afe0ef Binary files /dev/null and b/BytesOfLove/game/codingImages/coding_question_2.png differ diff --git a/BytesOfLove/game/images/SideCharacters/advisor_tempImage.png b/BytesOfLove/game/images/SideCharacters/advisor_tempImage.png deleted file mode 100644 index e7de2e9..0000000 Binary files a/BytesOfLove/game/images/SideCharacters/advisor_tempImage.png and /dev/null differ diff --git a/BytesOfLove/game/script.rpy b/BytesOfLove/game/script.rpy index b35de81..53f86dd 100644 --- a/BytesOfLove/game/script.rpy +++ b/BytesOfLove/game/script.rpy @@ -106,7 +106,8 @@ default bsl_rep = 50 #background characters with no impact #this needs to be changed to the final character image for the advisor -image advisor = "SideCharacters/advisor_tempImage.png" +image advisor = "SideCharacters/Breakout_leader_1.png" +image advisor_talking = "SideCharacters/Breakout_leader_2.png" # Backgrounds @@ -173,8 +174,8 @@ image vending_machine = "backgrounds/vending-machine.PNG" - - +image question_1 = "codingImages/coding_question_1.png" +image question_2 = "codingImages/coding_question_2.png" diff --git a/BytesOfLove/game/scripts/orientation/w0_d2.rpy b/BytesOfLove/game/scripts/orientation/w0_d2.rpy index 04113f4..6e27b57 100644 --- a/BytesOfLove/game/scripts/orientation/w0_d2.rpy +++ b/BytesOfLove/game/scripts/orientation/w0_d2.rpy @@ -418,9 +418,19 @@ label w0_d2_AfterLunch: hide js_talk show js_normal at left + window hide + show question_1 with dissolve: + xalign 0.5 + yalign 0.05 + xysize (1500, 800) # Wait for the player to press a key (e.g. space). + + window show + "continue to answer" + menu w0_d2_q1answer: - # + "15": + hide question_1 with dissolve #techscore - mc "\"I think it’s 15 because 3 times 5 is 15.\"" mc "\"It’s as simple as that, let’s not overthink this.\"" @@ -454,6 +464,7 @@ label w0_d2_AfterLunch: hide cpp_handhip_talk show cpp_handhip_normal "'15'": + hide question_1 with dissolve #tech score - mc "\"I think it's ‘15’ because 3 times 5 is 15.\"" mc "\"But since the 5 has quotes around it, the answer will have quotes around it too.\"" @@ -488,6 +499,7 @@ label w0_d2_AfterLunch: hide cpp_handhip_talk show cpp_handhip_normal "'33333'": + hide question_1 with dissolve #tech score - mc "\"I think it’s ‘33333’ because the 5 has quotes around it and the 3 is just a normal number.\"" mc "\"So something weird will have to happen.\"" @@ -525,6 +537,7 @@ label w0_d2_AfterLunch: hide cpp_handhip_talk show cpp_handhip_normal "'555'": + hide question_1 with dissolve # tech score+ (CORRECT ANSWER) mc "\"Okay, wait. I think I actually know this one.\"" mc "\"Since the 5 has quotations around it, the variables won’t just multiply normally.\"" @@ -576,6 +589,7 @@ label w0_d2_AfterLunch: show js_normal at left "ERROR": + hide question_1 with dissolve #tech score - mc "\"I think it's going to be an error.\"" mc "\"There’s no way you can multiply a number by a string.\"" @@ -628,19 +642,21 @@ label w0_d2_AfterLunch: bsl "\"What does the following Python code print?\"" hide bsl_talk - #DISPLAY: - #x = 4 - #for i in range(x): - #x += 1 - #print(x, end=‘’) - + window hide + show question_2 with dissolve: + xalign 0.5 + yalign 0.05 + xysize (1500, 800) # Wait for the player to press a key (e.g. space). + + window show + pause 2.0 p "\"Well I think I have some idea about this one.\"" p "\"The first thing I see is that this might be an infinite loop.\"" p "\"Because we iterate x times, but x keeps increasing.\"" p "\"But, maybe that loop range only references x one time.\"" p "\"What do you think C++?\"" p "\"You seem to know everything...\"" - + c "\"Uhm, well actually I am not too sure.\"" c "\"I was thinking it would be infinite as well.\"" c "\"But I am really not sure.\"" @@ -665,9 +681,7 @@ label w0_d2_AfterLunch: c "\"You guys didn't know the answer either.\"" hide cpp_talk - show cpp_normal at left - hide python_pocket - show python_pocket_happy at right + p "\"Alright, well, do we have any ideas?\"" p "\"JavaScript? What are you thinking?\"" @@ -678,8 +692,10 @@ label w0_d2_AfterLunch: js "\"At the same time I am just guessing.\"" js "\"You make a decision, [mc].\"" + pause 2.0 menu w0_d2_mcdecision: "ERROR": + hide question_2 with dissolve #techScore -= 1 mc "\"Okay I think that this will result in an error.\"" mc "\"I don’t think it will know to only reference X once, at the start of the loop.\"" @@ -716,6 +732,7 @@ label w0_d2_AfterLunch: p "\"It’s okay we didn’t know either.\"" p "\"If we did we would have said something.\"" "4567": + hide question_2 with dissolve #techScore -= 1 hide js_normal show js_smirk # might be a good idea to move this forward one? @@ -761,9 +778,10 @@ label w0_d2_AfterLunch: p "\"If we did we would have said something.\"" "5678": + hide question_2 with dissolve #techScore += 1 hide js_normal - show js_smirk # read line 660 + show js_smirk at left # read line 660 mc "\"I agree with JavaScript, this won’t be an error.\"" mc "\"So first it will increment x.\"" mc "\"Then it will print out 5, then 6, then 7, then 8.\"" @@ -775,15 +793,17 @@ label w0_d2_AfterLunch: c "\"Whatever happens, happens, it’s just a game.\"" hide js_smirk - show js_normal - hide cpp_normal - show cpp_talk at left + show js_normal at left + hide cpp_talk + c "\"I disagree, but I’m not confident enough to say that I am right.\"" c "\"I say let’s trust your intuition, [mc].\"" c "\"Whatever happens, happens, it’s just a game.\"" hide cpp_talk - hide js_normal - hide python_pocket + hide js_normal + hide python_pocket + hide python_normal + hide cpp_handhip_normal show bsl_talk bsl "\"Alright, time’s up!\"" bsl "\"Everyone, write your answers down and hold them up.\""