# HG changeset patch # User David Boddie # Date 1316989134 -7200 # Node ID cd78196f8910fbda21f259e227f73c06b96d0ac7 # Parent c3cc532640a569eb205a783cb457f8ecdd5b4512 Resized the page to match the size of a cassette inlay I measured. diff -r c3cc532640a5 -r cd78196f8910 materials/cover.svg --- a/materials/cover.svg Sun Sep 25 23:10:41 2011 +0200 +++ b/materials/cover.svg Mon Sep 26 00:18:54 2011 +0200 @@ -9,7 +9,7 @@ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" version="1.0" - width="265.74802" + width="230.31496" height="354.33072" viewBox="0 0 750 1000" id="svg2" @@ -213,7 +213,7 @@ xlink:href="#linearGradient10071" id="linearGradient10294" gradientUnits="userSpaceOnUse" - gradientTransform="matrix(0.8809524,0,0,0.8035715,48.878989,90.595241)" + gradientTransform="matrix(0.8809524,0,0,0.8658065,49.226207,28.360251)" x1="399.91818" y1="12.222208" x2="402.18347" @@ -818,11 +818,525 @@ y1="694.14166" x2="264.58334" y2="692.73059" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + id="g2719" + transform="translate(-4.5833435,-3.8146973e-5)"> + + + + + + + + + + + + + + + + + + sodipodi:nodetypes="ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" + id="path10288" + d="M 19.338938,975.16028 L 36.977828,957.52139 L 36.977832,922.24357 L 19.338942,904.60468 L 17.311696,788.83336 L 34.950586,771.19447 L 17.311696,753.55558 L 17.311696,559.5278 L 34.950586,541.88891 L 34.950586,471.33335 L 17.311696,453.69446 L 17.311696,242.02778 L 34.950586,224.38889 L 33.772134,122.70942 L 16.133244,105.07053 L 33.772134,87.431644 L 33.593736,67.257494 L 16.63324,51.653864 L 16.63324,16.376083 L 34.27213,-1.2628073 L 69.54991,-1.2628073 L 87.1888,16.376083 L 175.38326,16.376083 L 193.02215,-1.2628073 L 351.77216,-1.2628073 L 369.41105,16.376083 L 387.04994,-1.2628073 L 581.07773,-1.2628073 L 598.71662,16.376083 L 686.91107,16.376083 L 704.54996,-1.2628073 L 722.68885,-1.7628123 L 740.32774,15.876078 L 739.82774,51.653864 L 722.18885,69.292754 L 739.82774,86.931644 L 741.00619,347.36112 L 723.3673,365.00001 L 723.3673,400.27779 L 741.00619,417.91668 L 741.00619,506.11113 L 723.3673,523.75002 L 723.3673,576.66669 L 741.00619,594.30558 L 723.3673,611.94447 L 723.3673,788.33336 L 741.00619,805.97225 L 743.03344,939.38246 L 725.39455,957.02135 L 725.39455,974.66028 L 707.75566,992.29913 L 690.11677,974.66028 L 671.97788,975.16028 L 654.33899,992.79913 L 530.86676,992.79913 L 513.22787,975.16028 L 372.11675,975.16028 L 354.47786,992.79913 L 301.56119,992.79913 L 283.9223,975.16028 L 213.36674,975.16028 L 195.72785,992.79913 L 125.17229,992.79913 L 107.5334,975.16028 L 89.894498,992.79913 L 36.977828,992.79913 L 19.338938,975.16028 z " + style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#008000;stroke-width:5.00000048;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> - - - - - - - - - - - + sodipodi:nodetypes="cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" + id="path10290" + d="M 19.508532,960.23507 L 19.508532,924.95729 L 37.147422,907.3184 L 35.459404,788.33336 L 17.820514,770.69447 L 35.459404,753.05558 L 35.459404,559.0278 L 17.820514,541.38891 L 17.820514,470.83335 L 35.459404,453.19446 L 35.459404,241.52778 L 17.820514,223.88889 L 16.463659,124.42309 L 34.102549,106.7842 L 16.463659,89.145314 L 16.463659,71.506424 L 34.102549,53.867534 L 34.102549,18.589752 L 69.380329,18.589752 L 87.019218,0.95086213 L 175.21367,0.95086213 L 192.85256,18.589752 L 351.60257,18.589752 L 369.24146,0.95086213 L 386.88035,18.589752 L 580.90814,18.589752 L 598.54703,0.95086213 L 686.74148,0.95086213 L 704.38037,18.589752 L 722.01926,18.589753 L 722.01926,36.228644 L 722.01926,53.867534 L 739.65815,71.506424 L 722.01926,89.145314 L 723.37612,347.36112 L 741.01501,365.00001 L 741.01501,400.27779 L 723.37612,417.91668 L 723.37612,506.11113 L 741.01501,523.75002 L 741.01501,576.66669 L 723.37612,594.30558 L 741.01501,611.94447 L 741.01501,788.33336 L 723.37612,805.97225 L 725.06414,942.59618 L 742.70303,960.23507 L 742.70303,977.87396 L 725.06414,995.51285 L 707.42525,977.87396 L 689.78636,995.51285 L 672.14747,995.51285 L 654.50858,977.87396 L 531.03635,977.87396 L 513.39746,995.51285 L 372.28634,995.51285 L 354.64745,977.87396 L 301.73078,977.87396 L 284.09189,995.51285 L 213.53633,995.51285 L 195.89744,977.87396 L 125.34188,977.87396 L 107.70299,995.51285 L 90.064091,977.87396 L 37.147422,977.87396 L 19.508532,960.23507 z " + style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#808000;stroke-width:5.00000048;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> + Acorn Electron/BBC Model B + An Infukor production for Retro Software + + + + + + + + + + + + + + + + + + + - - - Acorn Electron/BBC Model B - An Infukor production for Retro Software - - - - - - - - - - - - - - - - - diff -r c3cc532640a5 -r cd78196f8910 materials/make_packaging.py --- a/materials/make_packaging.py Sun Sep 25 23:10:41 2011 +0200 +++ b/materials/make_packaging.py Mon Sep 26 00:18:54 2011 +0200 @@ -66,8 +66,8 @@ '\n') + ' width="6.5cm" height="10.0cm"\n' + ' viewBox="0 0 650 1000">\n') def add_image(self, x, y, width, height, path): @@ -213,16 +213,19 @@ if len(words) == 0: spacing = 0 + elif self.font.get("align", "left") == "justify" and not last: # Full justify the text. total_width = sum(map(lambda word: word.width(), words)) - spacing = (width - total_width)/float(len(words)) + spacing = (width - total_width)/float(len(words) - 1) + elif self.font.get("align", "left") == "centre": # Centre the text. total_width = sum(map(lambda word: word.width(), words)) total_space = sum(map(lambda word: word.space(), words)[:-1]) x = width/2.0 - total_width/2.0 - total_space/2.0 spacing = None + else: spacing = None @@ -339,7 +342,7 @@ "weight": "bold"} italic_quote = {"family": "FreeSerif", - "size": 24, + "size": 22, "style": "italic", "left indent": 40, "right indent": 40} @@ -385,8 +388,8 @@ "align": "centre"} pages = [ - Page((750, 1000), - [TextBox((50, 50, 650, 0), + Page((650, 1020), + [TextBox((25, 35, 600, 0), [Text(title, "Jungle Journey\n"), Text(regular, "The last flames of the campfire fade to glowing embers and I am alone. " @@ -424,29 +427,30 @@ "uncharted land to find the way home, the thought of vengeance drives me on.") ]) ]), - Page((750, 1000), - [TextBox((50, 50, 650, 0), + Page((650, 1000), + [TextBox((25, 35, 600, 0), [Text(title, "Loading the Game\n"), Text(regular, "Insert the cassette or disk and type\n"), Text(monospace_quote, "*RUN JUNGLE\n"), Text(regular, "then press Return. If you are loading the game from cassette, press play on the " - "cassette recorder. The game should now load.\n\n"), + "cassette recorder. The game should now load.\n"), Text(title, "Playing the Game\n"), Text(regular, "The player must help the character reach the exit for each level. However, the " "player must first find a key to unlock the exit. On the final level, the exit " "does not require a key but it may be obstructed. Enemies will appear in each " "location and attack the player's character. These can be destroyed by " - "projectiles fired by the current weapon.\n\n" + "projectiles fired by the current weapon.\n"), + Text(regular, "Your character can be moved around the screen by using four control keys:\n")]), - TextBox((50, 0, 650, 0), + TextBox((25, 0, 600, 0), [Text(keys_quote, "Z\n" "X\n" ":\n" "/")], follow = True), - TextBox((50, 0, 650, 0), + TextBox((25, 0, 600, 0), [Text(key_descriptions_quote, "left\n" "right\n" @@ -460,14 +464,14 @@ "title page. Press K to select keyboard controls.\n\n" "Other keys can be used to control the game:\n")], follow = True, index = -2), - TextBox((50, 0, 650, 0), + TextBox((25, 0, 600, 0), [Text(keys_quote, "S\n" "Q\n" "P\n" "O\n" "Escape")], follow = True), - TextBox((50, 0, 650, 0), + TextBox((25, 0, 600, 0), [Text(key_descriptions_quote, "enable sound effects\n" "disable sound effects\n" @@ -476,67 +480,67 @@ "quit the game, returning to the title screen\n")], follow = True, index = -2) ]), - Page((750, 1000), - [TextBox((50, 50, 650, 0), + Page((650, 1000), + [TextBox((25, 35, 600, 0), [Text(title, "Treasure\n"), Text(regular, "Items of treasure can be found throughout the jungle. " "Pick these up to increase your score.\n")]), - Image((80, -8, 620, 0), "../images/key.xpm", scale = 4, + Image((45, -8, 515, 0), "../images/key.xpm", scale = 4, follow = True), - TextBox((170, 20, 480, 0), + TextBox((135, 20, 475, 0), [Text(regular, "Find the key to open the door on all levels except the last. " "Each key is worth 50 points.")], follow = True, index = -2), - Image((80, 8, 620, 0), "../images/chest.xpm", scale = 4, + Image((45, 8, 515, 0), "../images/chest.xpm", scale = 4, follow = True, index = -2), - TextBox((170, 48, 480, 0), + TextBox((135, 48, 475, 0), [Text(regular, "Treasure chests are worth 20 points.")], follow = True, index = -3), - Image((80, 8, 620, 0), "../images/jewel.xpm", scale = 4, + Image((45, 8, 515, 0), "../images/jewel.xpm", scale = 4, follow = True, index = -2), - TextBox((170, 48, 480, 0), + TextBox((135, 48, 475, 0), [Text(regular, "Jewels are worth 5 points.")], follow = True, index = -3), - Image((80, 8, 620, 0), "../images/statue.xpm", scale = 4, + Image((45, 8, 515, 0), "../images/statue.xpm", scale = 4, follow = True, index = -2), - TextBox((170, 48, 480, 0), + TextBox((135, 48, 475, 0), [Text(regular, "Statues are worth 10 points.")], follow = True, index = -3), - Image((80, 8, 620, 0), "../images/health.xpm", scale = 4, + Image((45, 8, 515, 0), "../images/health.xpm", scale = 4, follow = True, index = -2), - TextBox((170, 36, 480, 0), + TextBox((135, 36, 475, 0), [Text(regular, "Presents are worth 40 points and boost your strength by 20 units.")], follow = True, index = -3), - TextBox((50, 48, 650, 0), + TextBox((25, 48, 600, 0), [Text(title, "Exits\n"), Text(regular, "Each level has an exit that can be opened using a key. " "On the last level you will find a gate that leads to safety. " "This does not require a key, but it is well hidden.\n")], follow = True), - Image((112, -4, 620, 0), "../images/exit1.xpm", scale = 4, + Image((77, -4, 513, 0), "../images/exit1.xpm", scale = 4, follow = True), - TextBox((240, 36, 410, 0), + TextBox((215, 36, 400, 0), [Text(regular, "The exit is initially locked. Find the key to unlock it.")], follow = True, index = -2), - Image((80, 8, 620, 0), "../images/finalexitl.xpm", scale = 4, + Image((45, 8, 545, 0), "../images/finalexitl.xpm", scale = 4, follow = True, index = -2), - Image((144, 8, 620, 0), "../images/finalexitr.xpm", scale = 4, + Image((109, 8, 481, 0), "../images/finalexitr.xpm", scale = 4, follow = True, index = -3), - TextBox((240, 48, 410, 0), + TextBox((215, 48, 400, 0), [Text(regular, "The final exit is hidden somewhere on the final level.")], follow = True, index = -4), - TextBox((50, 950, 650, 0), + TextBox((25, 950, 600, 0), [Text(exclamation, "Have a safe journey!")]) ]), - Page((750, 1000), - [TextBox((50, 40, 650, 0), + Page((650, 1000), + [TextBox((25, 50, 600, 0), [Text(back_cover_title, "Jungle Journey"), Text(back_cover_subtitle, "for the Acorn Electron and BBC Model B")]), - Image((100, 8, 500, 0), "screenshot1.png", scale = 0.5, follow = True), - TextBox((50, 900, 650, 0), + Image((100, 8, 500, 0), "screenshot1.png", scale = 0.4, follow = True), + TextBox((25, 900, 600, 0), [Text(back_cover_centred, u"Copyright \u00a9 2011 David Boddie\n" - u"for Retro Software\n" + u"An Infukor production for Retro Software\n" u"http://www.retrosoftware.co.uk/")]), ]), ]