From f47eb69a354188154731846dde8b384c2c2f39f6 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sat, 28 Jun 2014 18:46:16 -0400 Subject: Rename guile-2d to Sly! Massive find/replace job. --- doc/Makefile.am | 4 +-- doc/audio.texi | 2 +- doc/game.texi | 2 +- doc/graphics.texi | 2 +- doc/graphics/font.texi | 2 +- doc/graphics/texture.texi | 2 +- doc/graphics/tileset.texi | 2 +- doc/guile-2d.texi | 88 ----------------------------------------------- doc/introduction.texi | 14 ++++---- doc/math.texi | 2 +- doc/scripting.texi | 2 +- doc/sly.texi | 88 +++++++++++++++++++++++++++++++++++++++++++++++ 12 files changed, 105 insertions(+), 105 deletions(-) delete mode 100644 doc/guile-2d.texi create mode 100644 doc/sly.texi (limited to 'doc') diff --git a/doc/Makefile.am b/doc/Makefile.am index f69f391..9c2d95e 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,6 +1,6 @@ AUTOMAKE_OPTIONS = gnu -info_TEXINFOS = guile-2d.texi +info_TEXINFOS = sly.texi guile_TEXINFOS = audio.texi \ fdl.texi \ @@ -12,7 +12,7 @@ guile_TEXINFOS = audio.texi \ graphics/sprite.texi \ graphics/texture.texi \ graphics/tileset.texi \ - guile-2d.texi \ + sly.texi \ introduction.texi \ math.texi \ math/math.texi \ diff --git a/doc/audio.texi b/doc/audio.texi index f98751e..20d3085 100644 --- a/doc/audio.texi +++ b/doc/audio.texi @@ -1,7 +1,7 @@ @node Audio @chapter Audio -Guile-2D provides a simple wrapper over SDL's mixer API for working +Sly provides a simple wrapper over SDL's mixer API for working with music and sound effects. @menu diff --git a/doc/game.texi b/doc/game.texi index 2115767..28cddf5 100644 --- a/doc/game.texi +++ b/doc/game.texi @@ -1,7 +1,7 @@ @node Games and Scenes @chapter Games and Scenes -In Guile-2D, games are defined declaratively. Game objects define +In Sly, games are defined declaratively. Game objects define things such as the title and screen resolution. Games are composed of many scenes, which encapsulate a particular aspect of the game. Examples would be a main menu, a world map, or a battle screen. diff --git a/doc/graphics.texi b/doc/graphics.texi index 62ecc6d..671754b 100644 --- a/doc/graphics.texi +++ b/doc/graphics.texi @@ -1,7 +1,7 @@ @node Graphics @chapter Graphics -Graphics are a fundamental part of most computer games. Guile-2D makes +Graphics are a fundamental part of most computer games. Sly makes it easy to make sprite-based games by providing all of the necessary primitives. Graphics are rendered via OpenGL to take advantage of hardware acceleration. diff --git a/doc/graphics/font.texi b/doc/graphics/font.texi index 59057a2..150a74e 100644 --- a/doc/graphics/font.texi +++ b/doc/graphics/font.texi @@ -1,7 +1,7 @@ @node Fonts @section Fonts -Guile-2D can render TTF fonts via the FTGL library. +Sly can render TTF fonts via the FTGL library. @anchor{2d font font-ftgl-font}@defspec font-ftgl-font @end defspec diff --git a/doc/graphics/texture.texi b/doc/graphics/texture.texi index 2ac1503..b7da0f8 100644 --- a/doc/graphics/texture.texi +++ b/doc/graphics/texture.texi @@ -1,7 +1,7 @@ @node Textures @section Textures -Textures are images loaded in graphics memory. Guile-2D supports many +Textures are images loaded in graphics memory. Sly supports many texture formats via the FreeImage library. A texture object can describe a full image or a rectangular section of an image. diff --git a/doc/graphics/tileset.texi b/doc/graphics/tileset.texi index 1f229dc..96aab67 100644 --- a/doc/graphics/tileset.texi +++ b/doc/graphics/tileset.texi @@ -2,7 +2,7 @@ @section Tilesets In most 2D games, the game world is composed of many small, -rectangular pieces called tiles. In Guile-2D, tilesets are used to +rectangular pieces called tiles. In Sly, tilesets are used to encapsulate a group of uniformly sized texture regions that come from a single parent texture. diff --git a/doc/guile-2d.texi b/doc/guile-2d.texi deleted file mode 100644 index 2395b49..0000000 --- a/doc/guile-2d.texi +++ /dev/null @@ -1,88 +0,0 @@ -\input texinfo @c -*-texinfo-*- -@c %**start of header -@setfilename guile-2d.info -@settitle Guile-2D -@c %**end of header -@copying -Guile-2D is a 2D game development framework for GNU Guile. - -Copyright @copyright{} 2013 David Thompson - -@quotation -Permission is granted to copy, distribute and/or modify this document -under the terms of the GNU Free Documentation License, Version 1.3 -or any later version published by the Free Software Foundation; -with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. -A copy of the license is included in the section entitled ``GNU -Free Documentation License''. - -A copy of the license is also available from the Free Software -Foundation Web site at @url{http://www.gnu.org/licenses/fdl.html}. - -@end quotation - -The document was typeset with -@uref{http://www.texinfo.org/, GNU Texinfo}. - -@end copying - -@titlepage -@title Guile-2D 0.1 -@subtitle Guile-2D is a 2D game development framework for GNU Guile -@author David Thompson -@page -@vskip 0pt plus 1filll -@insertcopying -@end titlepage - -@c Output the table of the contents at the beginning. -@contents - -@ifnottex -@node Top -@top Guile-2D - -@insertcopying -@end ifnottex - -@c Generate the nodes for this menu with `C-c C-u C-m'. -@menu -* Introduction:: -* Games and Scenes:: -* Graphics:: -* Audio:: -* Scripting:: -* Math:: -* Copying This Manual:: -* Index:: -@end menu - -@c Update all node entries with `C-c C-u C-n'. -@c Insert new nodes with `C-c C-c n'. -@include introduction.texi -@include game.texi -@include graphics.texi -@include audio.texi -@include scripting.texi -@include math.texi - -@node Copying This Manual -@appendix Copying This Manual - -@menu -* GNU Free Documentation License:: License for copying this manual. -@end menu - -@c Get fdl.texi from http://www.gnu.org/licenses/fdl.html -@node GNU Free Documentation License -@section GNU Free Documentation License -@include fdl.texi - -@node Index -@unnumbered Index - -@printindex cp - -@bye - -@c guile-2d.texi ends here diff --git a/doc/introduction.texi b/doc/introduction.texi index 2503586..b011c77 100644 --- a/doc/introduction.texi +++ b/doc/introduction.texi @@ -1,13 +1,13 @@ @node Introduction @chapter Introduction -Guile-2D is a 2D game development framework for GNU Guile. Guile-2D +Sly is a 2D game development framework for GNU Guile. Guile-2D aims to be simple for beginners to learn and to provide users with all of the necessary tools for making 2D computer games, such as sprites, tilesets, audio, scripting, and collision detection. This manual is a work in progress. You will find that it is lacking in -many areas. If Guile-2D interests you, please consider helping to +many areas. If Sly interests you, please consider helping to improve the documentation. @menu @@ -24,16 +24,16 @@ fantastic Scheme implementation with a great purpose: to bring practical user freedom to the GNU system via Emacs-like extensibility. There are many libraries available to make games with languages such as Python, Java, and Lua, but there isn't much out -there for Scheme. Guile-2D aims to change that. +there for Scheme. Sly aims to change that. I originally set out on the journey to write a game in C with a Scheme scripting layer. A year later, I've decided that it would be best to create an generic game framework in order to give back to the Guile community and help promote Guile to game developers. -Guile-2D draws much inspiration from existing game libraries for +Sly draws much inspiration from existing game libraries for other, more popular programming languages. Pygame, pyglet, and love2d -are very beginner friendly, and Guile-2D hopes to translate their good +are very beginner friendly, and Sly hopes to translate their good ideas into the Scheme world. @node The Game Loop @@ -41,9 +41,9 @@ ideas into the Scheme world. The game loop is so fundamental that it has to be discussed immediately, so as to avoid any confusion about how it -operates. Guile-2D's game loop operates on a fixed-timestep of 1/60th +operates. Sly's game loop operates on a fixed-timestep of 1/60th of a second. Time is measured in frames rather than in seconds to avoid the pitfalls of a variable time-based approach. Though the -update rate is fixed, the frame-rate is not. Guile-2D will render at +update rate is fixed, the frame-rate is not. Sly will render at as high of a framerate as it can. Keyboard and mouse input is polled during every update and events are emitted to the relevant callbacks. diff --git a/doc/math.texi b/doc/math.texi index 74645db..6e92cc0 100644 --- a/doc/math.texi +++ b/doc/math.texi @@ -2,7 +2,7 @@ @chapter Math Games typically require a lot of linear algebra and trigonometry in -order to function. Guile-2D provides modules to perform 2D vector +order to function. Sly provides modules to perform 2D vector math, degree to/from radian conversions, and axis-aligned bounding box collision tests. diff --git a/doc/scripting.texi b/doc/scripting.texi index a89ed1c..be748c5 100644 --- a/doc/scripting.texi +++ b/doc/scripting.texi @@ -4,7 +4,7 @@ The ability to write scripts is very important for most games. Scripts are short programs that modify game state. In an RPG, one might want to write a script that causes an NPC to walk up to the player and -begin a conversation with them. Guile-2D allows for easy, linear +begin a conversation with them. Sly allows for easy, linear script writing by using cooperative multitasking, also known as coroutines. Agendas are used to schedule scripts to be run at distinct points in game time, and actions provide an API to describe diff --git a/doc/sly.texi b/doc/sly.texi new file mode 100644 index 0000000..3898e5d --- /dev/null +++ b/doc/sly.texi @@ -0,0 +1,88 @@ +\input texinfo @c -*-texinfo-*- +@c %**start of header +@setfilename sly.info +@settitle Sly +@c %**end of header +@copying +Sly is a 2D game development framework for GNU Guile. + +Copyright @copyright{} 2013 David Thompson + +@quotation +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.3 +or any later version published by the Free Software Foundation; +with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. +A copy of the license is included in the section entitled ``GNU +Free Documentation License''. + +A copy of the license is also available from the Free Software +Foundation Web site at @url{http://www.gnu.org/licenses/fdl.html}. + +@end quotation + +The document was typeset with +@uref{http://www.texinfo.org/, GNU Texinfo}. + +@end copying + +@titlepage +@title Sly 0.1 +@subtitle Sly is a 2D game development framework for GNU Guile +@author David Thompson +@page +@vskip 0pt plus 1filll +@insertcopying +@end titlepage + +@c Output the table of the contents at the beginning. +@contents + +@ifnottex +@node Top +@top Sly + +@insertcopying +@end ifnottex + +@c Generate the nodes for this menu with `C-c C-u C-m'. +@menu +* Introduction:: +* Games and Scenes:: +* Graphics:: +* Audio:: +* Scripting:: +* Math:: +* Copying This Manual:: +* Index:: +@end menu + +@c Update all node entries with `C-c C-u C-n'. +@c Insert new nodes with `C-c C-c n'. +@include introduction.texi +@include game.texi +@include graphics.texi +@include audio.texi +@include scripting.texi +@include math.texi + +@node Copying This Manual +@appendix Copying This Manual + +@menu +* GNU Free Documentation License:: License for copying this manual. +@end menu + +@c Get fdl.texi from http://www.gnu.org/licenses/fdl.html +@node GNU Free Documentation License +@section GNU Free Documentation License +@include fdl.texi + +@node Index +@unnumbered Index + +@printindex cp + +@bye + +@c sly.texi ends here -- cgit v1.2.3