7628phaser Game Prototyping Building 100s of Games Using HTML5 Phaser Js Gaming Frameworks 6th Edition Download PDF
7628phaser Game Prototyping Building 100s of Games Using HTML5 Phaser Js Gaming Frameworks 6th Edition Download PDF
com
https://ebookname.com/product/phaser-game-prototyping-
building-100s-of-games-using-html5-phaser-js-gaming-
frameworks-6th-edition/
OR CLICK BUTTON
DOWNLOAD EBOOK
https://ebookname.com/product/html5-game-programming-with-
enchant-js-1st-edition-brandon-mcinnis-2/
https://ebookname.com/product/html5-game-programming-with-
enchant-js-1st-edition-brandon-mcinnis/
https://ebookname.com/product/the-essential-guide-to-html5-using-
games-to-learn-html5-and-javascript-1st-edition-jeanine-meyer/
https://ebookname.com/product/elementary-geometry-for-college-
students-5th-ed-edition-alexander/
Uncovering The Grumman F 14 Tomcat 1st Edition Danny
Coremans
https://ebookname.com/product/uncovering-the-
grumman-f-14-tomcat-1st-edition-danny-coremans/
https://ebookname.com/product/practical-algorithms-in-pediatric-
gastroenterology-1st-edition-ron-shaoul/
https://ebookname.com/product/galilean-mechanics-and-
thermodynamics-of-continua-1st-edition-gery-de-saxce/
https://ebookname.com/product/plant-pathology-concepts-and-
laboratory-exercises-3rd-edition-bonnie-h-ownley/
https://ebookname.com/product/design-optimization-of-active-and-
passive-structural-control-systems-1st-edition-nikos-d-lagaros/
To the Things Themselves Essays on the Discourse and
Practice of the Phenomenology of Religion Arvind Sharma
https://ebookname.com/product/to-the-things-themselves-essays-on-
the-discourse-and-practice-of-the-phenomenology-of-religion-
arvind-sharma/
Phaser Game Prototyping
Building 100s of games using HTML5 & Phaser.js Gaming
Frameworks (6th Edition includes v2.x.x & v3.24+)
Stephen Gose
This book is for sale at http://leanpub.com/LoRD
ISBN 978-1-952635-04-5
This is a Leanpub book. Leanpub empowers authors and publishers with the Lean
Publishing process. Lean Publishing is the act of publishing an in-progress ebook
using lightweight tools and many iterations to get reader feedback, pivot until you
have the right book and build traction once you do.
Contents
Distribution Permission . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . i
Supporting website . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . i
Forwards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ii
Disclosures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii
Disclaimer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iv
Game “Config” . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
2.7 Deeper Dive: To Infinity and Beyond! . . . . . . . . . . . . . . . . . . . . . . . 80
2.8 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
2.9 Chapter References: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .293
Demonstrations: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 364
Searching for Game Mechanics and Mechanisms. . . . . . . . . . . . . . . 364
Content Management System embedded in HTML5 <canvas> tag. . . . 364
Phaser III Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .365
Phaser III Game Prototyping Demonstrations . . . . . . . . . . . . . . . . .366
Game Mechanics & Mechanisms identified . . . . . . . . . . . . . . . . . . . 367
WebSockets, Dynamic Menus, Combat, and FSM . . . . . . . . . . . . . . . 367
Distribution Permission
All rights are reserved under the Pan-American and International Copyright Con-
ventions. You may not reproduce this book, in whole or in part, in any form or by
any means electronic or mechanical, including photocopying, recording, or by any
information storage and retrieval system that is now known or hereafter invented,
without written permission from the author. Brief quotations in critical reviews or
articles are permitted without the author’s permission.
Supporting website
https://makingbrowsergames.com/
Forwards
• by Terry Paton: — “Copying or imitating is an awesome way to learn how to
do something, traditional artists have done it for centuries. This practice was
generally considered a tribute, not forgery 1 , — If you want to get better at
something, then trying to do it like those who already have mastered it.
Look at the choices they have made and consider why they made those decisions,
often important things are hidden in subtlety, and the only way we learn those
subtleties is by creating the same thing. The balance here is stealing versus
inspiration. “Ripping off” ideas from someone else in a way that harms their
hard work compared to producing something which is inspired by their work.
If you plan on publicly releasing something, I recommend you should inject some
of your own vision into any game you make, take a concept but then extend or
change it to create something of your own.”
1 http://en.wikipedia.org/wiki/Art_forgery
Disclosures
• Stephen Gose LLC reserves the right, at any time and without notice, to change
modify or correct the information contained in this publication.
• I refer to “Phaser v3.16+” under a moniker of “Phaser III” to distinguish it as a
clear demarcation from previous versions.
In this book, I am not paid to recommend any of the tools or services presented
but I do use affiliate links. Here’s how it works. When I find a tool, service, author’s
content, idea, or product I admire, I investigate if they have an affiliate program. If it
exists, I get a special link and when you click it or confirm a purchase I receive a small
percentage from that activity. In short, it’s the same methods everyone finds on any
typical website; only now, those links are available inside ebooks as substitute for
“crowd-funding”.
I think everyone, with any business savvy 2 , should do this too; especially when you
recommend your own books, services, and tools. Amazon and others offer affiliate
links. Whenever you recommend anything (hopefully this book? hint, hint!), use
your affiliate links.
By law, I must disclose that I am are using affiliate links. Amazon, in particular, requires
the following.
“We are a participant in the Amazon Services LLC Associates Program, an affiliate
advertising program designed to provide a means for us to earn fees by linking
to Amazon.com and affiliated sites.”
2 https://www.inc.com/neil-patel/11-mental-habits-that-will-improve-your-business-savvy.html
Disclaimer
• All the information, contained within, is for the convenience of its readers. It
is accurate, as can be reasonably verified, at the time of original publication.
However, this content may not reflect migrating industry recommendations after
the original publication date for ECMA-2623 (also known as (aka) “JavaScript”,
ES5, ES6, ES7, ES8, ES9 or ES10) or for any version of the Phaser.JS Gaming
Frameworks.
• All websites listed herein are accurate at the time of publication but may
change in the future or cease to exist. It is best to research these “dead
websites” links in “The WayBack Machine” 4 . The website references does not
imply my endorsement of a site’s contents.
• There are no guarantees nor warranties stated nor implied by the distribution
of this educational information. Using this information is at the reader’s own
risk, and no liability shall carry to the author. Any damage or loss is the sole
responsibility of the reader.
My best guess is that any books, tutorials, blogs, and “how-to” articles — written
before to Phaser v3.16+ (NOV 2018) — are not fully functional with Phaser III and
should be re-written to the Phaser v3.24+ minimum standard baseline. Hence the
reason this book is dedicated and updated to the official Phaser III (release v3.24+)
and has removed any references to previously released versions. (See newsletter
#139 dated 20190211) “Breaking Changes”5
3 http://www.ecma-international.org/publications/standards/Ecma-262.htm
4 https://web.archive.org/
5 https://madmimi.com/p/f0b3bd
I’m assuming you already have a “working knowledge” of the “Front-end” technolo-
gies8 — specifically HTML59 , CSS310 , and JavaScript11 — in your arsenal. I know that
many senior “full-stack” and “front-end” developers do; but, I have received dozen
of emails about this book’s former editions as being “… too difficult for those
just starting their own game studios.” Therefore, if learning any of these web
development technologies12 is what you’re initially seeking, then I recommend
a quick visit to W3Schools13 as your first FREE starting point. By following their
instructions, you will learn a complete foundation in HTML5, CSS, and JavaScript in
a matter of hours! … then, return to this workbook and learn how to combine
those technologies into your own game creations.
6 https://en.wikipedia.org/wiki/Business_acumen#Executive_level_thinking
7 https://leanpub.com/hgd
8 https://roadmap.sh/frontend
9 http://amzn.to/2nAYjxr
10 http://amzn.to/2mG01Zv
11 https://amzn.to/2Iw9RZj
12 https://github.com/kamranahmedse/developer-roadmap
13 http://www.w3schools.com/js/default.asp
This e-Book includes source code which is optimally viewed in single-column, land-
scape mode with the font size adjusted to a comfortable setting.
The Internet is a living, dynamic resource of information that doubles every 35 days!
There are several reasons this book points to external content. Because —
1. It provides you the “research path” I took to develop and present my ideas. It
takes all the guess-working and personal research out of it. This saves you 100s
of hours of your personal free-time searching for supporting facts and opinions.
2. It avoids copyright infringements and provides the required acknowledgments
to “Open-source authors” for use of their contributions and resources under the
various licenses and EULA14 .
3. It provides external authors an opportunity to recant or update their content.
(Kindly review Phaser v3 DevLogs as an example.) Technology is a fast-moving
target, and what was once “cutting edge” becomes obsolete. For example, the
use of “window.onload“ was recanted by its originator back in 2014 as an unsafe
method for launching browser applications. (see Phaser Game Design Workbook,
pages 15-2215 for complete details. )
4. It reduces your initial purchase price from the reams of “padded source code
content” — don’t make me embarrass those authors who do this — while
keeping your investment in this book’s information “fresh”. This book would be
triple the size and “4x” the price if I had embedded all of the source code tutorial’s
as many others do.
All the source code is written in “pure” JavaScript (JS) and the Phaser.js Gaming
Frameworks; it doesn’t use any additional “abstraction layers” such as “TypeScript”,
“CoffeeScript”, or “JQuery” for obvious reasons.
• external reference links, and in the file which are available directly from the
supporting website — without registration nor private logon thus keeping your
personal information safe!
• or from the latest and most current updates inside your LeanPub.com personal
library (assuming that you’re a LeanPub patron16 ).
This workbook targets both the learning novices17 — those who enjoy “learning by
doing” using “deliberate practice” 18 — and the experienced expert programmers19
in web-application development; and, of course, those who want a finished game
from their own designs and efforts. If you are interested in making browser games,
especially for the Mobile/WebXR markets20 , then this book is a perfect choice
along with its companion volumes: the Headless HTML5 Game DesignTM21 , Phaser
Game Starter Kit Collection22 , Phaser Game Design Workbook 23 , and Phaser Game
Prototyping 24 . With this in mind, you will do a lot of writing, thinking, and coding in
JavaScript throughout this workbook. You may prefer using paper (external physical-
or soft-“paper”) to organize your development ideas and processes.
I’ve “gone to great lengths” 25 to make this book “skim-friendly” — even for my
International customers by emphasizing important concepts in bold font type. I have
provided links to “English (American) Jargon phrases” 26 that will help translate this
content directly into your native language. I use “Notes”, “Tips”, “Warning” and “Best
Practices” icons to encapsulate those ancillary topics for your further education from
other experts in the gaming industry.
I further assume that many readers will want to use this book to quickly build
their bespoke27 game products. So, I’ve included references to other similar game
examples, gaming engines, frameworks, GUI game kits28 , indie developers, authors,
their “open-source” contributions, articles, books, artwork 29 , application tools, and
their wisdom.
16 https://leanpub.com/u/pbmcube
17 https://www.nap.edu/read/9853/chapter/5
18 https://www.nateliason.com/notes/peak-anders-ericsson-robert-pool
19 https://www.nateliason.com/blog/become-expert-dreyfus
20 https://immersiveweb.dev/
21 http://leanpub.com/hgd
22 https://leanpub.com/p3gskc
23 https://leanpub.com/phaser3gamedesignworkbook
24 https://leanpub.com/phaser3gameprototyping
25 https://dictionary.cambridge.org/us/dictionary/english/go-to-great-lengths
26 https://www.smartling.com/blog/40-american-slang-words-and-phrases-you-need-to-know/
27 https://www.urbandictionary.com/define.php?term=bespoke
28 https://craftpix.net/categorys/2d-game-kits/?affiliate=112238
29 https://www.gamedevmarket.net/?ally=GVgAVsoJ
If you’d like a link to your finished games in future updates, please use my
contact information on LeanPub.com30 or Amazon.com Author’s page31 .
By the end of this workbook, you’ll have integrated into your own bespoke32 game
design:
You can earn your Game Development Certifications from my online courses37 ,
from Udemy (102-pages of online courses!)38 or Zenva (my personal favorite!)39 ; to
enhance your resume.
• Game Studio Starter Kit Bundle40 — Start your own Game Studio for passive or
secondary income! This bundle shows you how to develop product and project
management in the gaming industry from my 23 years of experience. You’ll learn
how to quickly build game prototypes in any genre, launch, and then distribute
your games. You’ll also have 16+ popular game genres to choose for your product
line with 19 subgenres to to expand upon. Learn how to capture various game
industry market shares.
• Headless HTML5 Game Design (Vol. I)41 — Creating Cloud-based “Content-as-a-
Service” (CaaS) games for Any Gaming Device.
• Making Massive Multi-Player Online games (Vol. II)42 — Creating Multi-Player
Online games using the Full-stack, White-labeled, and “Content-as-a-Service”
(CaaS) Architectures.
35 https://leanpub.com/u/pbmcube
36 http://tbcube.com./
37 https://leanpub.com/u/pbmcube
38 https://click.linksynergy.com/deeplink?id=pmlyJRiRsYE&mid=39197&murl=https%3A%2F%2Fptop.only.wip.la%3A443%2Fhttps%2Fwww.udemy.com%
2Fcourses%2Fdevelopment%2Fgame-development%2F%3Fsearch-query%game%2Bdevelopment
39 https://academy.zenva.com/?a=47&campaign=RPGCaaS
40 https://leanpub.com/b/gssk
41 https://leanpub.com/hgd
42 https://leanpub.com/mmmog
Individual Chapters — sold separately from the “Phaser Starter Kit Game Collections
books”55 — contain both the Phaser v2.x.x and Phaser “III” (3.16+) examples, source
code, and game license. Find and select your favorite game genre.
Collections” 73 volumes.
Chapter 17 — Strategy & Tactics74
• Making Browser games — Tower Defense75 with Phaser v2x.x and v3.16+.
• Making Dating & Quiz Browser games76 with Phaser v2x.x.
• Making Online Dress-UP Fashion games77 with Phaser v2x.x.
• Making Peg Solitaire Browser games78 with Phaser v2x.x.
• Making Phaser III Peg Solitaire Browser games79 with Phaser v3.16+.
• Making Puzzle Browser games80 with Phaser v2x.x.
• Making RPG Browser games81 with Phaser v2x.x.
Programming Courses
See the growing catalog of courses for college credit, home schooling or personal
skills development at Training by Blackboard, Books & Browsers82
These courses are “step-by-step” guides to create specifically designed games with
some explanation as to why we do this (which is typically found in most online
tutorials).
85 https://leanpub.com/c/wtts-bloodpit2-mmog
86 https://leanpub.com/c/wtts-mmm
87 https://leanpub.com/c/arrp
88 https://leanpub.com/phaserjsgamedesignworkbook
89 https://leanpub.com/hgd
2
Part I is a brief excerpt from Phaser.js Game Design Workbook (6th edition)90 explain-
ing the Game Design System™ and its Game Recipe™ construction. Our goal is to build
several fully-functional “Phaser Game Prototypes”. There are several step-by-step
instructions and file downloads. We’ll catalog and create various “Game Framework
Mechanism” (GFM)91 components — those “visual elements” that are separate from
our core “Game Mechanics” (GM) genres and Artwork theme components. From this
simple foundation, we’ll learn to combine these “building blocks” into various game
products as easily as a child would use “Lego”™ blocks to construct a toy castle.
Furthermore, you can review this construction process throughout “Phaser Game
Starter Kit Collections” 92 — a workbook of 16+ popular game genre mechanics and
19 sub-genres. By the end of “Part I”, we’ll have created everything a game prototype
uses:
90 https://leanpub.com/phaserjsgamedesignworkbook
91 http://www.michael-richardson.com/processes/rup_for_sqa/core.base_rup/guidances/concepts/component_
A2E2B3B1.html
92 https://leanpub.com/p3gskc
The first impressions you’ll develop while reading this chapter is: THERE’S NO FRONT-
END BUILD TOOLS “Why is that?”, you’re thinking? My goal is to provide a direct “no
non-sense” approach in game construction. In many competing tutorials and books,
you’ll read chapterS(!) on working with “node.js”, “grunt”, “bower”, “yeoman”, “webpack”,
“brunch”, “gulp”, etc. (ad nauseam)1 . The shame, of all this, is that folks are beginning
to write such articles as “I finally made sense of front end build tools. You can, too.” 2
Another popular game developer, Andrezej Mazur of Enclave Game, stated my same
sentiments in this way …
“Everything changed so much over the years. I feel like grandpa right now —
back in my days, we typed pure CSS and used jQuery in a Notepad. Right now,
to start a new project, you need a few days to chose the right tools, configure
the build process, have proper configs and settings, preprocessors in place,
etc. I would really need at least a few solid months to go through the most
popular tool-chain. … That’s why I think I’ll end up using the “quick and dirty”
approach — I’ll do a research about using a common template or a starter
(kit)3 and will expand from it.” (quoted from https://dev.end3r.com/2018/
11/gamedev-versus-front-end/)
1 https://en.wikipedia.org/wiki/Ad_nauseam
2 https://medium.freecodecamp.org/making-sense-of-front-end-build-tools-3a1b3a87043b
3 https://makingbrowsergames.com/book/standalone.zip
“preparing to start the damn game” (ed.: and all those “FRONT-END BUILD TOOLS”!)
with “starting the damn game”. Just remember: a damn game can be played, and if
you have not created something that can be played, it’s not a damn game!
So dammit, even creating a game engine is not necessarily starting the damn game.
Which brings me to the next tip…” Read more such advice here …a
a http://makegames.tumblr.com/post/1136623767/finishing-a-game
Well, … Ok then, let’s get our game “prototype” started and finished; then, we’ll
address those “Front-end Building Tools” 4 in later chapters. BUT first, we need a
workstation to build stuff …
Hint: Google and Mozilla both provide excellent resources for Game5 and Web
Developers.6
Let’s take an inventory of what you currently have on-hand. Do you have:
“Why do I need a web server? Can’t I just open the html files with my browser?”
Answer: All JavaScript games, that load assets and files, require launching itself from a
web server — either locally inside your workstation or remotely from the Internet.10
It’s all about browser security and the same-origin policies11 — prohibiting files load-
ing from different “domains” 12 and the protocols used to access your locally stored
files. When you request anything from the Internet you’re typically using the “hyper-
text transfer protocol” (“http://” or “https://”). From a web server, security policies
ensure you only access files that you are authorized to use. When you open any
HTML file from your local operating system, your browser uses the “file://“ protocol.
(technically a different protocol 13 than “http://”), massive restrictions are triggered
inside your browser, for the following obvious reasons. Under the “file://“ protocol,
no concept of domains nor “server-level security policies” exists, just your computer’s
“raw file system” and its operating system — identified as the localhost14 — using
a local IP address(es) (0.0.0.0 or IPv6 ::1 or IPv4 127.0.0.0/8 to 127.255.255.255/8)15
per RFC 990, November 1986.16 This means that your HTML pages are not running
on any domain nor public Internet IP address at all, and thus JavaScript is unable
to load any game assets dynamically. Do you really want JavaScript to have that
much control — to load anything from anywhere — off your computer? Well, I’m
guessing your answer should be “… not ever!”. If JavaScript had unrestricted access
using the “file://“ protocol, nothing could stop it from tapping into your information
and sending it anywhere to anyone.
Exercise: Read more about browser security from the Chromium Blog 17
10 http://gose-internet-services.net/data-centers/uk-data-center/
11 https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy
12 https://en.wikipedia.org/wiki/Domain_Master_Browser
13 https://www.w3.org/Addressing/
14 https://en.wikipedia.org/wiki/Localhost
15 https://www.lifewire.com/network-computer-special-ip-address-818385
16 http://tools.ietf.org/html/rfc990#page-6
17 https://blog.chromium.org/2008/12/security-in-depth-local-web-pages.html
There’s a trend to give your “localhost“ a “top-level domain” (TLD) name of ”.dev”. Stop!
Don’t! WHY?!? Because in 2017, Google has the TLD registration of several thousand
of these commonly used domains that developers once used. ( See this article18 . )
Like any other packets traversing the TCP/IP stack, looped-back packets convey
the IP address and port number they were addressed to. Thus, the services that
ultimately receive them can respond according to the specified loop-back destination.
For example, an HTTP service could route packets addressed to 127.0.0.99:80 and
127.0.0.100:80 to different Web servers, or to a single server that would return
different web pages. (ed.: one browser window to another browser window which
is NOT true testing of any MMoG game.) To simplify such testing, the host’s file can
be modified to provide appropriate aliases for each such address.”
a https://en.wikipedia.org/wiki/Localhost
“So then! What’s a girl to do?!” The solution really is simple. Run your game develop-
ment files from a local web server or remotely from the Internet20 . Depending on
your workstation operating system (and what you have installed already), there are
several ways to launch web pages from a “web service” 21 .
• Another simple solution I discovered is the Google’s Chrome Web Server.23 Once
you install this application, you can launch any web page(s) directly from Chrome.
Simply point it at your URI path and project folder.24
• The official Phaser instructions (and sanctioned method) are …
Quote: “We would recommend either WAMP Server 25 or XAMPP26 and both
have easy set-up guides available. WAMP specifically installs an icon into
your system-tray from which you can stop and restart the services, as well
as modify Apache settings such as creating a new folder alias for a project.”
Read more details here27 . (overlooked was MAMP or MAMP Pro28 available
for those with MAC OS X.)
Exercise: Use this Google Chrome Web Server Install Instructions (movie: 1:51
minutes)29 to setup a webserver.
Development Tools
Although Phaser web site has a well-documented section on “how to get started” 30 .
I recommend you test and develop your game using an Integrated Development
Environment (IDE) editor of your choice. I use several: Mighty Editor (now open
source)31 , Phaser Editor 2D32 , the (FREE) NotePad++33 ; although, Brackets34 editor
runs a close second in my daily web-site construction. Do not use any word processing
applications such as Microsoft Word; this is not a “hate statement” against Microsoft.
Word processing applications add invisible formatting to your source code that will
lead to problems. If you do not have a favorite text editor, I have some recommenda-
tions based on your status:
23 https://chrome.google.com/webstore/detail/web-server-for-chrome/ofhbbkphhbklhfoeikjpcbhemlocgigb?hl=en
24 http://uri.thephpleague.com/4.0/components/overview/
25 http://www.wampserver.com/en/
26 http://www.apachefriends.org/en/xampp.html
27 https://phaser.io/tutorials/getting-started-phaser3/part2
28 https://www.mamp.info/en/
29 https://www.youtube.com/watch?v=AK6swHiPtew
30 https://phaser.io/tutorials/getting-started-phaser3
31 https://github.com/TheMightyFingers/mightyeditor
32 https://phasereditor2d.com/
33 https://notepad-plus-plus.org/
34 http://brackets.io/
Sergi: Ohímlo.
Alexis: Escoltém!
Matheu: Escoltémlo!
Sergi: A Andrónica esperém! Volém que sía per sobre nostra rassa
ella l'Augusta! Que al monastir no torni!
Sergi: Per la terra Deu deixá'l cel y fins doná la vida: qu'ella deixi'l
sagrat en be dels nostres.
Jordi: Tots!
Alexis: A la Iglesia!
Escena V
Nicéfor: Hont sols la ditxa t'espera, oh'l meu orgull, hont tot de gala
se va vestint perque tú hi ets.
Nicéfor: (per son pit, obrint los brassos.) Aquí, sobre aquesta ara,
brassos estesos; com es ell fet home!
Nicéfor: Tot comensa per tú y per mí: pels dos, que s'ha vessada
tanta de sanch perque'ns juntém.
Andrónica: Oh, sí, sí; benehida per mon poble per tot mon poble, sí!
(Aturantse ab espant.) Mes malehida per nostre Deu! Horror! Oh!
Mas despullas eternament envoltas d'embaumadas flors del bell
temps, y l'ánima captiva al infern abrusantse!
Nicéfor: Ah no!
Nicéfor: Sí, sí: soch vida teva! Mes tú, mira: la pau no haurías lluny
de mí. Perjura foras al claustre, que las reixas clouhen no més lo cos;
que l'esperit revelas á homes y á Deus! Y tú't revelas! Dígamho que á
mí'm vols, sols á mí. Parla ó só'l monstre, y contra terra y cel, á la
teva ánima la confessió li haig d'arrencar á trossos.
Nicéfor: Las campanas! Las campanas! Las sents? Y'ls clams del
poble! Ja va tornant lo nostre poble, míral.
Nicéfor: Sanch per tú que han vessat! Qué no farían per véuret ma
muller, si es que la Iglesia s'hi negava? Mes no, qu'ella es ben nostra.
Escena VI
Nikelas: Senyor!…
(No gosant.)
Escena VII
Sergi: Senyor!
(Van á sortir.)
Sergi: Oh Senyor!
Andrónica: Aném!
Sergi: Assobre del pit com una mare.
Escena VIII
Nicéfor: Aném á l'ara, que aquí us duch á esta santa, perque sía en lo
tálam l'Augusta esposa meva! Oh Andrónica, seguím!
Nicéfor: Per durla á l'ara y ferla esposa meva. Perque sía sobretot y
tothom!
Abat: Pera que torni á la casa de Deu; qu'es desposada ab Deu Nostre
Senyor.
Nicéfor: No, Deu no! No es Deu qui lliga los sers per destrossarlos!
Esta dona Deu me l'ha dat sobre del camp de guerra. Es meva, tota
meva!
Nicéfor: No!
Nicéfor: Tot s'ha desfet! Onadas de sanch han esborrat aquesta jura!
Y si més sanch calgués, pera que sía esborrat fins lo rastre, altra de
negra ona gegant faría ab la sanch vostra!
Poble: Al foch!
Escena IX
Nicéfor: Es un somni!
Heráclias: Nicéfor!
Heráclias: Nicéfor!
Nicéfor: (estúpidament.) Qué? Qué?
Heráclias: Tot ha finit per tú! Vaig durte jo assobre'l trono, y jo te'n
trech!
Andrónica: Ah!
Alexis: Malvat!
Sergi: Arrosseguémlo!
Nicéfor: A triomfar!
Teló
*** END OF THE PROJECT GUTENBERG EBOOK ANDRÓNICA ***
Updated editions will replace the previous one—the old editions will
be renamed.
1.D. The copyright laws of the place where you are located also
govern what you can do with this work. Copyright laws in most
countries are in a constant state of change. If you are outside the
United States, check the laws of your country in addition to the
terms of this agreement before downloading, copying, displaying,
performing, distributing or creating derivative works based on this
work or any other Project Gutenberg™ work. The Foundation makes
no representations concerning the copyright status of any work in
any country other than the United States.
1.E.6. You may convert to and distribute this work in any binary,
compressed, marked up, nonproprietary or proprietary form,
including any word processing or hypertext form. However, if you
provide access to or distribute copies of a Project Gutenberg™ work
in a format other than “Plain Vanilla ASCII” or other format used in
the official version posted on the official Project Gutenberg™ website
(www.gutenberg.org), you must, at no additional cost, fee or
expense to the user, provide a copy, a means of exporting a copy, or
a means of obtaining a copy upon request, of the work in its original
“Plain Vanilla ASCII” or other form. Any alternate format must
include the full Project Gutenberg™ License as specified in
paragraph 1.E.1.
• You pay a royalty fee of 20% of the gross profits you derive
from the use of Project Gutenberg™ works calculated using the
method you already use to calculate your applicable taxes. The
fee is owed to the owner of the Project Gutenberg™ trademark,
but he has agreed to donate royalties under this paragraph to
the Project Gutenberg Literary Archive Foundation. Royalty
payments must be paid within 60 days following each date on
which you prepare (or are legally required to prepare) your
periodic tax returns. Royalty payments should be clearly marked
as such and sent to the Project Gutenberg Literary Archive
Foundation at the address specified in Section 4, “Information
about donations to the Project Gutenberg Literary Archive
Foundation.”
• You comply with all other terms of this agreement for free
distribution of Project Gutenberg™ works.
1.F.
1.F.4. Except for the limited right of replacement or refund set forth
in paragraph 1.F.3, this work is provided to you ‘AS-IS’, WITH NO
OTHER WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR ANY PURPOSE.
Please check the Project Gutenberg web pages for current donation
methods and addresses. Donations are accepted in a number of
other ways including checks, online payments and credit card
donations. To donate, please visit: www.gutenberg.org/donate.
Most people start at our website which has the main PG search
facility: www.gutenberg.org.