Skip to content

Commit

Permalink
Import everything.
Browse files Browse the repository at this point in the history
  • Loading branch information
tobihan committed Feb 23, 2012
0 parents commit 73b6c94
Show file tree
Hide file tree
Showing 43 changed files with 1,353 additions and 0 deletions.
145 changes: 145 additions & 0 deletions Sample Installer.nsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
; sample installer.nsi
;
; A sample showing how to make an installer for a SLUDGE game
; You'll need NSIS to use this script.
;
;--------------------------------
;Include Modern UI

!include "MUI2.nsh"

;--------------------------------

; The name of the installer
Name "My Amazing Game"

; The file to write
OutFile "MyAmazingGameInstaller (Windows).exe"

XPStyle on

; The default installation directory
InstallDir "$PROGRAMFILES\My Amazing Game"

;Get installation folder from registry if available
InstallDirRegKey HKCU "Software\My Amazing Game" ""

; Request application privileges for Windows Vista
RequestExecutionLevel admin

;--------------------------------
;Variables

Var StartMenuFolder

;--------------------------------
;Interface Settings

!define MUI_ABORTWARNING

;--------------------------------

; Pages

; This is a bitmap image that's shown in the installer window
!define MUI_WELCOMEFINISHPAGE_BITMAP "amazing.bmp"

!define MUI_WELCOMEPAGE_TITLE "My Amazing Game"
!define MUI_WELCOMEPAGE_TEXT "(Version 1.00)$\r$\nCopyright Rikard Peterson 2010$\r$\n$\r$\nThis wizard will guide you through the installation of My Amazing Game.$\r$\n$\r$\n$\r$\nClick Next to continue."
!insertmacro MUI_PAGE_WELCOME

!insertmacro MUI_PAGE_DIRECTORY

;Start Menu Folder Page Configuration
!define MUI_STARTMENUPAGE_REGISTRY_ROOT "HKCU"
!define MUI_STARTMENUPAGE_REGISTRY_KEY "Software\My Amazing Game"
!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "Start Menu Folder"

!insertmacro MUI_PAGE_STARTMENU Application $StartMenuFolder

!insertmacro MUI_PAGE_INSTFILES

!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES


;--------------------------------
;Languages

!insertmacro MUI_LANGUAGE "English"

;--------------------------------

; The stuff to install
Section "" ;No components page, name is not important

; Set output path to the installation directory.
SetOutPath $INSTDIR

; Put files there

; This is all the engine files
File *.frag
File *.vert
File *.dll
File *.exe

; Then the game data
File Gamedata.slg

; A manual, perhaps?
File Manual.pdf

; And an icon for the startup menu
File Amazing.ico


;Store installation folder
WriteRegStr HKCU "Software\My Amazing Game" "" $INSTDIR

;Create uninstaller
WriteUninstaller "$INSTDIR\Uninstall.exe"

!insertmacro MUI_STARTMENU_WRITE_BEGIN Application

;Create shortcuts
CreateDirectory "$SMPROGRAMS\$StartMenuFolder"
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\My Amazing Game.lnk" "$INSTDIR\SLUDGE Engine.exe" "" "$INSTDIR\Amazing.ico"
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Manual.lnk" "$INSTDIR\Manual.pdf"
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\My Amazing Web Page.lnk" "http://www.google.com/"
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Uninstall.lnk" "$INSTDIR\Uninstall.exe"

!insertmacro MUI_STARTMENU_WRITE_END


SectionEnd ; end the section

;--------------------------------
;Uninstaller Section

Section "Uninstall"


Delete "$INSTDIR\*.slg"
Delete "$INSTDIR\*.frag"
Delete "$INSTDIR\*.vert"
Delete "$INSTDIR\*.dll"
Delete "$INSTDIR\*.pdf"
Delete "$INSTDIR\*.ico"
Delete "$INSTDIR\*.exe"

Delete "$INSTDIR\Uninstall.exe"

RMDir "$INSTDIR"

!insertmacro MUI_STARTMENU_GETFOLDER Application $StartMenuFolder

Delete "$SMPROGRAMS\$StartMenuFolder\My Amazing Game.lnk"
Delete "$SMPROGRAMS\$StartMenuFolder\Manual.lnk"
Delete "$SMPROGRAMS\$StartMenuFolder\My Amazing Web Page.lnk"
Delete "$SMPROGRAMS\$StartMenuFolder\Uninstall.lnk"
RMDir "$SMPROGRAMS\$StartMenuFolder"

DeleteRegKey /ifempty HKCU "Software\My Amazing Game"

SectionEnd
81 changes: 81 additions & 0 deletions download.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>

<head>
<title>SLUDGE Adventure Game Engine - Download</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="description" content="SLUDGE is an open source, cross-platform system by which anyone can make an adventure game.">
<meta name="keywords" content="SLUDGE, OpenSLUDGE, adventure, game, free, open, source">
<meta name="Author" content="Tobias Hansen">
<meta name="language" content="English">
<meta name="robots" content="follow">
<meta name="googlebot" content="index, follow">
<link rel="stylesheet" type="text/css" href="sludge2.css">
<link rel="alternate stylesheet" type="text/css" href="sludge2-fixed-menu.css" title="Fix menu position">
<link rel="icon" type="image/png" href="images/Sludge.png">
</head>

<body>
<div><img id="headerGraphic" src="images/sludge400.png" alt="SLUDGE"></div>

<table><tr>

<td id="menuColumn"><div class="fixed">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="download.html">Download</a>
<ul>
<li><a href="#version2.2">2.2</a></li>
<li><a href="#other">Other Distributors</a></li>
</ul>
</li>
<li><a href="http://www.adventuredevelopers.com/forum/index.php?board=14.0">Forum</a></li>
<li><a href="http://opensludge.svn.sourceforge.net/viewvc/opensludge/doc/SLUDGE_Help.html">Documentation</a></li>
<li><a href="games.html">Games</a></li>
<li><a href="features.html">Features</a></li>
<li><a href="screenshots.html">Screenshots</a></li>
<li><a href="resources.html">Resources</a></li>
</ul>
</div></td>

<td id="mainColumn">

<h1>Download</h1>

<p>Yep, you found the download section.</p>

<p>Instead of downloading one of the packages from below, you could also head on to the <a href="http://sourceforge.net/projects/opensludge/develop">SourceForge project page</a> and get the newest source code from SVN.</p>

<h2 id="version2.2">SLUDGE 2.2</h2>

<h3>Dev Kit and Engine</h3>

<ul>
<li><a href="http://sourceforge.net/projects/opensludge/files/SLUDGE%20Engine%20and%20Development%20Kit/2.2/sludge-2.2-win.exe/download">Windows download</a></li>
<li><a href="http://sourceforge.net/projects/opensludge/files/SLUDGE%20Engine%20and%20Development%20Kit/2.2/SLUDGE_Dev_Kit_2.2_Mac.zip/download">Mac OS X download</a></li>
<li><a href="http://sourceforge.net/projects/opensludge/files/SLUDGE%20Engine%20and%20Development%20Kit/2.2/sludge-2.2-source.tar.gz/download">Linux download</a> (<a href="http://opensludge.svn.sourceforge.net/viewvc/opensludge/doc/SLUDGELinuxHelp/Compiling_SLUDGE_on_Ubuntu.html">compiling instructions</a>)</li>
</ul>

<h3>Engine only</h3>

<ul>
<li><a href="http://sourceforge.net/projects/opensludge/files/SLUDGE%20Engine%20only/2.2/SLUDGE_Engine_2.2_Win.zip/download">Windows download</a></li>
</ul>

<h2 id="other">Other Distributors</h2>

<h3>Debian/Ubuntu</h3>

<p>SLUDGE is available in Debian starting from Wheezy and in Ubuntu starting from 11.10 in the form of the packages <b>sludge-engine</b>, <b>sludge-devkit</b> and <b>sludge-doc</b>. If using older Debian/Ubuntu versions, you can manually download and install the packages (<a href="http://packages.debian.org/sludge">Debian</a>, <a href="http://packages.ubuntu.com/sludge">Ubuntu</a>) after manually installing <a href="http://packages.debian.org/wheezy/libalure1"><b>libalure1</b>, version 1.1</a> (and, on Ubuntu 10.04 or older, <b><a href="http://packages.debian.org/squeeze/libglee0d1">libglee0d1</a></b>).</p>

<h3>Arch Linux</h3>

<p>SLUDGE is available in the <a href="http://aur.archlinux.org/packages.php?ID=49510">Arch User Repository</a>.</p>

</td>

</tr></table>

<P class="copyright-notice">&copy; 2000-2012 Hungry Software and contributors</P>
</body>
</html>
149 changes: 149 additions & 0 deletions features.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,149 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>

<head>
<title>SLUDGE Adventure Game Engine - Features</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="description" content="SLUDGE is an open source, cross-platform system by which anyone can make an adventure game.">
<meta name="keywords" content="SLUDGE, OpenSLUDGE, adventure, game, free, open, source">
<meta name="Author" content="Tobias Hansen">
<meta name="language" content="English">
<meta name="robots" content="follow">
<meta name="googlebot" content="index, follow">
<link rel="stylesheet" type="text/css" href="sludge2.css">
<link rel="alternate stylesheet" type="text/css" href="sludge2-fixed-menu.css" title="Fix menu position">
<link rel="icon" type="image/png" href="images/Sludge.png">
</head>

<body>
<div><img id="headerGraphic" src="images/sludge400.png" alt="SLUDGE"></div>

<table><tr>

<td id="menuColumn"><div class="fixed">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="download.html">Download</a></li>
<li><a href="http://www.adventuredevelopers.com/forum/index.php?board=14.0">Forum</a></li>
<li><a href="http://opensludge.svn.sourceforge.net/viewvc/opensludge/doc/SLUDGE_Help.html">Documentation</a></li>
<li><a href="games.html">Games</a></li>
<li><a href="features.html">Features</a>
<ul>
<li><a href="#current">Current Features</a></li>
<li><a href="#possibilities">Current Possibilities</a></li>
<li><a href="#iwant">I Want... I Want...</a></li>
</ul>
</li>
<li><a href="screenshots.html">Screenshots</a></li>
<li><a href="resources.html">Resources</a></li>
</ul>
</div></td>

<td id="mainColumn">

<h1>Features</h1>

<h2 id="current">Current Features</h2>


<p>SLUDGE currently contains built-in support for the following:</p>

<ul>
<li><b>Objects</b> - with easy to use "events" defining how the game reacts when different objects are combined
</li><li><b>Characters</b> - plus automatic scaling (now with anti-aliasing as standard) and special effects such as transparency
</li><li><b>Animations</b> - suitable for one-shot <i>and</i> automatically looping animations; combine any images from a sprite bank in any order
</li><li><b>Costumes</b> - with a costume your characters can look
different when facing different directions (any number of directions you want)...
plus you can provide different animations for talking, walking and
standing still
</li><li><b>Full-screen backgrounds</b> - load 'em from PNG or TGA files in a single line
</li><li><b>Interactive backgrounds</b> - yes, bits of the background image can represent objects too
</li><li><b>Sound effects</b> - play any noise (OGG or WAV) at any time
with a single command; also support for looping sounds, changing the
volume of individual noises and a whole heap of other audio goodness
</li><li><b>Music</b> - play up to three tunes at once (MOD, S3M, IT or XM)
</li><li><b>Full talkie versions</b> - just supply a sound file when you make someone talk or think, and SLUDGE takes care of everything for you
</li><li><b>Scrolling backgrounds</b> - point the camera anywhere at any time
</li><li><b>Freezing / unfreezing</b> - put the entire world on hold while you go to a close-up, look through your inventory or run your custom menu system
</li><li><b>Input handlers</b> - set the engine up so that it calls <i>your</i> function when a mouse button is clicked, when the mouse moves, when a key is pressed...
</li><li><b>Timers</b> - pause for however long you want, whenever you want, without your character saying "..."
</li><li><b>Multiple functions at once</b> - keep that character moving
or talking in the background, animate waterfalls or just devise puzzles
which must be solved against the clock
</li><li><b>Z-buffers</b> - so characters walk behind tables, trees, door-frames, alien machinery etc.
</li><li><b>Floor plans</b> - including automatic path finding without crossing non-walkable areas
</li><li><b>Lightmaps</b> - set up shadows and spotlights simply by using an extra image the same size as your room
</li><li><b>True-colour</b> - SLUDGE uses 32-bit colour throughout
</li><li><b>Any resolution you want</b> - provided your video card can support it, so can SLUDGE
</li><li><b>Windowed mode</b> - with your own custom title bar and quit message (whoo!)
</li><li><b>Full-screen mode</b> - and if full-screen mode fails, your game will run in windowed mode instead rather than just keeling over
</li><li><b>Game loading and saving</b> - plus rename, delete or launch any file you want
</li><li><b>Single output file</b> - containing all your graphics, sounds and script
</li><li><b>Scripts are compiled not interpreted</b> - nobody can break in and see how you did all your clever bits... and they run faster, too
</li><li><b>Shaded variable-width fonts</b> - fonts are just greyscale sprite banks, and if you don't like Hungry Software's demo font (based on Ariel) there are <a href="resources.html#fonts">plenty of other fonts to download</a> courtesy of other SLUDGE users
</li><li><b>Sprite flipping</b> - just use a negative sprite number and the appropriate sprite will be mirrored for you, saving you file space
</li><li><b>Compressed sprite files</b> - yep, your sprite banks are now compressed, saving you even <i>more</i> file space
</li><li><b>Per-pixel mouse-over-sprite checking</b> - the mouse will only register a character when you're actually pointing at it, <i>not</i> just anywhere within its bounding box
</li><li><b>Spinning characters</b> - on command <i>and</i> automatically when turning a corner while walking, at whatever speed you want
</li><li><b>Semi-automatic font conversion ("Fontify")</b> - courtessy of the new sprite bank editor
</li><li><b>Fantastic audio support</b> - not just your standard WAV
files, but Ogg Vorbis and FLAC compressed samples and lots of track-based
music formats (MOD, S3M, IT and XM)
</li><li><b>Improved keyboard handler</b> - catch more keypresses
including function keys, cursor keys and - should you want to - Alt,
Ctrl, Shift, Alt Gr, Caps Lock, Insert, Delete, Home, End, Page Up, Page
Down, Windows and any extra quick-launch keys your keyboard may have
</li><li><b>Multiple transition modes</b> - Bored of your screens
appearing and disappearing too quickly? Now you can disolve or fade in
and out, or even cross fade between one scene and the next
</li><li><b>Your own choice of icon</b> - well, you can't change the
icon for the SLUDGE engine, but here's the next best thing... give your
project a 16x16 or 32x32 image and the engine will use it as an icon in
your game's title bar, and in the taskbar while it's running
</li><li><b>Silent running</b> - no sound support? So what! The engine
can now carry on regardless, letting people with no sound cards play
your game too! It's also an easy way to make a much smaller file for
a faster download for people with slow modems
</li><li><b>Portable custom data files</b> - save an array to a file for
use later, or even use by another SLUDGE game... you can even encode it
all so nobody else can understand it, and all you need to do to read it
is provide the same key
</li><li><b>Background parallax scrolling</b> - leave holes in your room
through which you can see a sky or background which scrolls at a
different speed to the rest of the scene
</li><li><b>Multiple language support</b> - make your game playable in as many languages as you have the time to provide, all within the one game file</li>
</ul>

<h2 id="possibilities">Current Possibilities</h2>

<p>SLUDGE does <i>not</i> contain built-in support for the following, but all this stuff - and a whole lot more - <i>is entirely possible</i> using the language (and, therefore, a lot more customisable):</p>

<ul>
<li><b>Inventory system</b> - SLUDGE uses
one array / stack / queue / linked-list type container which is ideally
suited to implementing an inventory (source code in example project)
</li><li><b>Scrolling credits</b> - You can paste to the screen, and you can scroll the video buffer... what more do you need? (source code
<a href="resources.html#src-scrolling-credits">here</a>)
</li><li><b>Text entry boxes</b> - Freeze, write your message on the screen, unfreeze... and make it look exactly how you want (source code
<a href="resources.html#src-text-box">here</a>)
</li><li><b>Automatic character following</b> - just update the position of the camera every frame, and hey presto! (source code
<a href="resources.html#src-smooth-scrolling">here</a>)
</li><li><b>Fake foreground parallax scrolling</b> - a la Broken Sword... simply update the location of an inanimate "character" every time you move the camera
</li><li><b>Interactive conversations</b> - there's nothing in SLUDGE to
handle this, but with such an impressive scripting language the code
for a complete interactive conversation mechanism is less than 100 lines
(source code in example project)
</li>
</ul>

<h2 id="iwant">I Want... I Want...</h2>

<p>More suggestions? Make them known on the <a href="http://www.adventuredevelopers.com/forum/index.php?topic=2276.0">SLUDGE wishlist forum thread</a>! You never know, your ideas may appear in a future version of SLUDGE!</p>

</td>

</tr></table>

<P class="copyright-notice">&copy; 2000-2011 Hungry Software and contributors</P>
</body>
</html>
Binary file added game-screenshots/bt_mac.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added game-screenshots/cubert.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added game-screenshots/frasse1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added game-screenshots/front_house.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added game-screenshots/hw01.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added game-screenshots/interview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added game-screenshots/kitchenmess.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added game-screenshots/lfb.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added game-screenshots/mandyscreenshot3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added game-screenshots/screen8.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added game-screenshots/tgttpoacs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 73b6c94

Please sign in to comment.