+ colour=PALETTE.GREEN, padding=12, border=8,
+ bg_colour=PALETTE.BLACK, border_colour=PALETTE.GREEN,
+ box_width=400, view_port=(500, 800)))
+
+ pygame.draw.rect(game_surface, PALETTE.GREEN, (0, 0, 480, 60), 8)
+
+ def introduction_to_screen_2(self, event):
+ game_surface = self.make_game_surface()
+ self.intro = 2
+
+ self.add(TextBoxWidget(
+ (24, 172), '\n'.join([
+ "These are your health and score. On the left we have four "
+ "health bits. The robot has taken one damage, so only three "
+ "are lit. The stars are points you have scored. Once you have "
+ "all of them you win the game! Total health and required "
+ "points vary according to the game. \n"
+ "Enter to continue.",
+ ]), fontsize=32,
+ colour=PALETTE.GREEN, padding=12, border=8,
+ bg_colour=PALETTE.BLACK, border_colour=PALETTE.GREEN,
+ box_width=400, view_port=(500, 800)))
+
+ pygame.draw.rect(game_surface, PALETTE.GREEN, (0, 540, 480, 60), 8)
+
+ def introduction_to_screen_3(self, event):
+ game_surface = self.make_game_surface()
+ self.intro = 3
+
+ self.add(TextBoxWidget(
+ (24, 132), '\n'.join([
+ "This text box describes the current game mode. The game is "
+ "divided into movements and actions, and each mode has "
+ "different options, shown here.\n"
+ "During movement, you can examine the entire board, but you "
+ "can only move to hi-lighted tiles (including the one you are "
+ "on. Actions come next... \n"
+ "Enter to continue.",
+ ]), fontsize=32,
+ colour=PALETTE.GREEN, padding=12, border=8,
+ bg_colour=PALETTE.BLACK, border_colour=PALETTE.GREEN,
+ box_width=400, view_port=(500, 800)))
+
+ pygame.draw.rect(game_surface, PALETTE.GREEN, (488, 416, 304, 132), 8)
+
+ def introduction_to_screen_4(self, event):
+ game_surface = self.make_game_surface()
+ self.intro = 4
+
+ self.add(TextBoxWidget(
+ (24, 72), '\n'.join([
+ "This text box shows actions available on the tile. "
+ "Some actions have requirements and are only selectable if "
+ "you have the correct bits set (unavailable actions are "
+ "greyed out). Actions usually change the bits set on "
+ "your robot. This is often not beneficial.\n"
+ "Some actions have additional effects if the MSB is "
+ "set.\n"
+ "Enter to continue.",
+ ]), fontsize=32,
+ colour=PALETTE.GREEN, padding=12, border=8,
+ bg_colour=PALETTE.BLACK, border_colour=PALETTE.GREEN,
+ box_width=400, view_port=(500, 800)))
+
+ pygame.draw.rect(game_surface, PALETTE.GREEN, (488, 52, 304, 240), 8)