Based on Dungeons and Dragons and Baldur's Gate
Thank you to Manga for correcting my spelling. Twice.
Your kingdom has made a deal with the devils
and devil guards--
in exchange for the sacrifice of a child every month
and a portal where demons can come and go from.
Never trust a devil.
The devils have betrayed your kingdom
and are attacking.
You, the only heir to the throne, must be protected at all costs--
at least until you reach age 18,
when the devil's power will become yours.
Your birthday is in a week...
can you survive the devils attacks until then?
Ren'Py 220.127.116.116 lint report, generated at: Wed Oct 17 19:16:52 2012
The game contains 68 screens of dialogue.
These screens contain a total of 591 words,
for an average of 8.7 words per screen.
The game contains 3 menus.
Remember to set config.developer to False before releasing.
Lint is not a substitute for thorough testing. Remember to update Ren'Py
before releasing. New releases fix bugs and improve compatibility.
(as of Wed Oct 17, 8:48 PM)
Code: Select all
# You can place the script of your game in this file. # Declare images below this line, using the image statement. # eg. image eileen happy = "eileen_happy.png" # Declare characters used by this game. init: $ pthink = NVLCharacter(None, kind=nvl) # This is all for the battles, and it uses the Tile Engine. :) init: #defines the images image terrain road = Image("temp_road.png") image terrain grass = Image("temp_grass.png") image terrain rocks = Image("temp_rock.png") image terrain tree = Image("Tree 4.png") python: #further defines them. road = Struct(lower="terrain road", upper="") grass = Struct(lower="terrain grass", upper="") rocks = Struct(lower="terrain rocks", upper="") tree = Struct(lower="terrain grass", upper="terrain tree") import copy c = copy.copy #defines the map map = [ [c(grass), c(grass), c(tree), c(road)], [c(rocks), c(grass), c(grass), c(road)], [c(grass), c(tree), c(grass), c(road)], [c(road), c(road), c(road), c(road)]] # Declare images below this line, using the image statement. # Note to self: remember to remove temp images! image temp angry_disheveled = "Eileen_Sprite_Eye-004_Mouth-009_Hair-01-#1_ANGRY AND DISHEVLED.png" image temp devil_betrayal = "eileen_Sprite_first-devil-betrayal.png" image bg bedroom = "palace bedroom.jpg" image bg tunnel = "tunnel.jpg" image bg forest = "forest.jpg" # Declare characters used by this game. define y = Character('You', color="#ffffff") define I = Character('Ia') define t = Character('Tio') # The game starts here. label start: #preps the map $ e = TileEngine(geometry=TileEngine.ISOMETRIC, map=map, tilewidth=64, tileheight=32, screenwidth=800, screenheight=600, show_cursor=True) "Are you a boy or a girl?" menu: "girl": $ gender = "girl" "boy": $ gender = "boy" scene bg bedroom "A girl bursts into the room, slamming the door shut behind her." y "Who are you, and what are you doing here?" show temp angry_disheveled at right I "Your... Your highness... the castle-- it's under attack!" show temp devil_betrayal at left y "What? Impossible! Nobody has dared attack us for more than a century!" I "It--it's true." y "But, it can't be! Nobody would dare attack us! Nobody!" I "I do not lie, your highness." "You hear a banging at the door. Ia turns at looks with wild eyes." I "They're here! Your highness, you must escape!" y "But-- it can't be true. It just can't!" t "I think she is telling the truth, your highness." y "It's impossible!" t " It's possible. And for them to get this far, they must be powerful." y "Bu--" I "Sorry to interupt, but we need to GO. NOW!" "You nod uncertainly, biting your lip." t "Follow me please, your highness." "Tio opens a secret passage, and you and Ia follow him." scene bg tunnel pthink "It's been more than a century since we were last attacked." pthink "Our country is the most powerful in the world." pthink "Our army is stronger than anyone else's." pthink "And our royalty aren't vunerable at all." pthink "The reason is simple:" pthink "We've made a deal with the devils." pthink "All people with royal blood shall be made into tieflings when they reach the age of 18." pthink "Tieflings are magical people with tails and horns, and they are much more powerful than the average human being." pthink "I'm 17 at the moment, and of royal blood." pthink "I'm going to be 18 in a week." pthink "The changes have already started. A small tail has started to grow, and I've started to think quicker, move better, and I have become stronger." pthink "...But our pact with the devils does even more than that." nvl clear pthink "The devils have agreed to serve us as guards and in our army." pthink "This makes us the most powerful country in the world." pthink "Of course, we are also the most despised." pthink "The devils had their side of the agreement, too:" pthink "A sacrifice of a girl every month." pthink "...and the ability for them to come to our world whenver they wanted." pthink "That is the price of our power." pthink "Many people hate us because of this." pthink "But, still, who would dare attack us? Even if they hate us-- we are still strong. Too strong for anybody we know of to beat us." nvl hide(dissolve) jump battle_1 label battle_1: "Programmer" "Until I figure out the Tile and Unit Engines, this will be skipped! You may choose to win or loose." menu: "Win": $ battle_1 = "win" jump win1 "Lose": $ battle_1 = "lose" jump unfinished label unfinished: "Programmer" "I'm sorry, this game is still unfinished! Thank you for playing it in it's unfinished state! Email email@example.com with any complaints, bugs, or things that you liked!" return #win1 label win1: if gender == "girl": t "Princess! Are you okay?" if gender == "boy": t "Prince! Are you okay?" menu: "Yes, of course I am.": jump win1_menu1_true "Belive it or not, I am.": jump win1_menu1_true "No, I'm not.": t "Where are you injuired, then, your highness?" "He walks over and looks at me, scanning for injuries." y "The devils just attacked us! How would I be okay?!" t "No wounds?" y "No...." t "Then you are okay, your highness." y "The kingdom isn't." t "But you are." y "Sigh..." I "Have we done anything to provoke the devils?" jump win1_menu1 label win1_menu1_true: t "Good." I "I'm glad you're not injured, your highness." t "We need to talk about the devils, though. " I "Yes. Have we done anything to provoke them?" jump win1_menu1 label win1_menu1: y "I don't think so..." I "Are you sure?" y "Well, I certainly haven't. I don't know about anyone else." t "It's truely worrysome that they would attack us." y "Yes, I quite agree." I "Well, we probably won't gain anything from just sitting here, I believe. Shall we continue onwards?" y "Let's." "You walk for a long time, each of you thinking about the battle just happened." "Suddenly, your eyes are blinded by light. The tunnel had come to an end." show bg forest return
The Tile Engine Extension by Chronoluminaire (http://www.renpy.org/wiki/renpy/doc/coo ... it_Engines)
(Or else I'll forget everyone that helped me! ^-^" I'm forgetful like that)
Palace Bedroom - https://encrypted-tbn0.gstatic.com/imag ... y384_n9PF9
Secret Tunnel - https://encrypted-tbn0.gstatic.com/imag ... NBO19GaOrw
Forest - https://encrypted-tbn1.gstatic.com/imag ... CmFU84wMqQ
Chronoluminaire for the Tile Engine Extension
My Dad for helping overall
Aedin for fixing Error #1
junna for encouragement.
Manga for (also) encouragement.