Skip to content

Commit 73b6c94

Browse files
committed
Import everything.
0 parents  commit 73b6c94

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+1353
-0
lines changed

Sample Installer.nsi

Lines changed: 145 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,145 @@
1+
; sample installer.nsi
2+
;
3+
; A sample showing how to make an installer for a SLUDGE game
4+
; You'll need NSIS to use this script.
5+
;
6+
;--------------------------------
7+
;Include Modern UI
8+
9+
!include "MUI2.nsh"
10+
11+
;--------------------------------
12+
13+
; The name of the installer
14+
Name "My Amazing Game"
15+
16+
; The file to write
17+
OutFile "MyAmazingGameInstaller (Windows).exe"
18+
19+
XPStyle on
20+
21+
; The default installation directory
22+
InstallDir "$PROGRAMFILES\My Amazing Game"
23+
24+
;Get installation folder from registry if available
25+
InstallDirRegKey HKCU "Software\My Amazing Game" ""
26+
27+
; Request application privileges for Windows Vista
28+
RequestExecutionLevel admin
29+
30+
;--------------------------------
31+
;Variables
32+
33+
Var StartMenuFolder
34+
35+
;--------------------------------
36+
;Interface Settings
37+
38+
!define MUI_ABORTWARNING
39+
40+
;--------------------------------
41+
42+
; Pages
43+
44+
; This is a bitmap image that's shown in the installer window
45+
!define MUI_WELCOMEFINISHPAGE_BITMAP "amazing.bmp"
46+
47+
!define MUI_WELCOMEPAGE_TITLE "My Amazing Game"
48+
!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."
49+
!insertmacro MUI_PAGE_WELCOME
50+
51+
!insertmacro MUI_PAGE_DIRECTORY
52+
53+
;Start Menu Folder Page Configuration
54+
!define MUI_STARTMENUPAGE_REGISTRY_ROOT "HKCU"
55+
!define MUI_STARTMENUPAGE_REGISTRY_KEY "Software\My Amazing Game"
56+
!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "Start Menu Folder"
57+
58+
!insertmacro MUI_PAGE_STARTMENU Application $StartMenuFolder
59+
60+
!insertmacro MUI_PAGE_INSTFILES
61+
62+
!insertmacro MUI_UNPAGE_CONFIRM
63+
!insertmacro MUI_UNPAGE_INSTFILES
64+
65+
66+
;--------------------------------
67+
;Languages
68+
69+
!insertmacro MUI_LANGUAGE "English"
70+
71+
;--------------------------------
72+
73+
; The stuff to install
74+
Section "" ;No components page, name is not important
75+
76+
; Set output path to the installation directory.
77+
SetOutPath $INSTDIR
78+
79+
; Put files there
80+
81+
; This is all the engine files
82+
File *.frag
83+
File *.vert
84+
File *.dll
85+
File *.exe
86+
87+
; Then the game data
88+
File Gamedata.slg
89+
90+
; A manual, perhaps?
91+
File Manual.pdf
92+
93+
; And an icon for the startup menu
94+
File Amazing.ico
95+
96+
97+
;Store installation folder
98+
WriteRegStr HKCU "Software\My Amazing Game" "" $INSTDIR
99+
100+
;Create uninstaller
101+
WriteUninstaller "$INSTDIR\Uninstall.exe"
102+
103+
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
104+
105+
;Create shortcuts
106+
CreateDirectory "$SMPROGRAMS\$StartMenuFolder"
107+
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\My Amazing Game.lnk" "$INSTDIR\SLUDGE Engine.exe" "" "$INSTDIR\Amazing.ico"
108+
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Manual.lnk" "$INSTDIR\Manual.pdf"
109+
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\My Amazing Web Page.lnk" "http://www.google.com/"
110+
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Uninstall.lnk" "$INSTDIR\Uninstall.exe"
111+
112+
!insertmacro MUI_STARTMENU_WRITE_END
113+
114+
115+
SectionEnd ; end the section
116+
117+
;--------------------------------
118+
;Uninstaller Section
119+
120+
Section "Uninstall"
121+
122+
123+
Delete "$INSTDIR\*.slg"
124+
Delete "$INSTDIR\*.frag"
125+
Delete "$INSTDIR\*.vert"
126+
Delete "$INSTDIR\*.dll"
127+
Delete "$INSTDIR\*.pdf"
128+
Delete "$INSTDIR\*.ico"
129+
Delete "$INSTDIR\*.exe"
130+
131+
Delete "$INSTDIR\Uninstall.exe"
132+
133+
RMDir "$INSTDIR"
134+
135+
!insertmacro MUI_STARTMENU_GETFOLDER Application $StartMenuFolder
136+
137+
Delete "$SMPROGRAMS\$StartMenuFolder\My Amazing Game.lnk"
138+
Delete "$SMPROGRAMS\$StartMenuFolder\Manual.lnk"
139+
Delete "$SMPROGRAMS\$StartMenuFolder\My Amazing Web Page.lnk"
140+
Delete "$SMPROGRAMS\$StartMenuFolder\Uninstall.lnk"
141+
RMDir "$SMPROGRAMS\$StartMenuFolder"
142+
143+
DeleteRegKey /ifempty HKCU "Software\My Amazing Game"
144+
145+
SectionEnd

download.html

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2+
<html>
3+
4+
<head>
5+
<title>SLUDGE Adventure Game Engine - Download</title>
6+
<meta http-equiv="content-type" content="text/html; charset=utf-8">
7+
<meta name="description" content="SLUDGE is an open source, cross-platform system by which anyone can make an adventure game.">
8+
<meta name="keywords" content="SLUDGE, OpenSLUDGE, adventure, game, free, open, source">
9+
<meta name="Author" content="Tobias Hansen">
10+
<meta name="language" content="English">
11+
<meta name="robots" content="follow">
12+
<meta name="googlebot" content="index, follow">
13+
<link rel="stylesheet" type="text/css" href="sludge2.css">
14+
<link rel="alternate stylesheet" type="text/css" href="sludge2-fixed-menu.css" title="Fix menu position">
15+
<link rel="icon" type="image/png" href="images/Sludge.png">
16+
</head>
17+
18+
<body>
19+
<div><img id="headerGraphic" src="images/sludge400.png" alt="SLUDGE"></div>
20+
21+
<table><tr>
22+
23+
<td id="menuColumn"><div class="fixed">
24+
<ul>
25+
<li><a href="index.html">Home</a></li>
26+
<li><a href="download.html">Download</a>
27+
<ul>
28+
<li><a href="#version2.2">2.2</a></li>
29+
<li><a href="#other">Other Distributors</a></li>
30+
</ul>
31+
</li>
32+
<li><a href="http://www.adventuredevelopers.com/forum/index.php?board=14.0">Forum</a></li>
33+
<li><a href="http://opensludge.svn.sourceforge.net/viewvc/opensludge/doc/SLUDGE_Help.html">Documentation</a></li>
34+
<li><a href="games.html">Games</a></li>
35+
<li><a href="features.html">Features</a></li>
36+
<li><a href="screenshots.html">Screenshots</a></li>
37+
<li><a href="resources.html">Resources</a></li>
38+
</ul>
39+
</div></td>
40+
41+
<td id="mainColumn">
42+
43+
<h1>Download</h1>
44+
45+
<p>Yep, you found the download section.</p>
46+
47+
<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>
48+
49+
<h2 id="version2.2">SLUDGE 2.2</h2>
50+
51+
<h3>Dev Kit and Engine</h3>
52+
53+
<ul>
54+
<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>
55+
<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>
56+
<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>
57+
</ul>
58+
59+
<h3>Engine only</h3>
60+
61+
<ul>
62+
<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>
63+
</ul>
64+
65+
<h2 id="other">Other Distributors</h2>
66+
67+
<h3>Debian/Ubuntu</h3>
68+
69+
<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>
70+
71+
<h3>Arch Linux</h3>
72+
73+
<p>SLUDGE is available in the <a href="http://aur.archlinux.org/packages.php?ID=49510">Arch User Repository</a>.</p>
74+
75+
</td>
76+
77+
</tr></table>
78+
79+
<P class="copyright-notice">&copy; 2000-2012 Hungry Software and contributors</P>
80+
</body>
81+
</html>

features.html

Lines changed: 149 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,149 @@
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2+
<html>
3+
4+
<head>
5+
<title>SLUDGE Adventure Game Engine - Features</title>
6+
<meta http-equiv="content-type" content="text/html; charset=utf-8">
7+
<meta name="description" content="SLUDGE is an open source, cross-platform system by which anyone can make an adventure game.">
8+
<meta name="keywords" content="SLUDGE, OpenSLUDGE, adventure, game, free, open, source">
9+
<meta name="Author" content="Tobias Hansen">
10+
<meta name="language" content="English">
11+
<meta name="robots" content="follow">
12+
<meta name="googlebot" content="index, follow">
13+
<link rel="stylesheet" type="text/css" href="sludge2.css">
14+
<link rel="alternate stylesheet" type="text/css" href="sludge2-fixed-menu.css" title="Fix menu position">
15+
<link rel="icon" type="image/png" href="images/Sludge.png">
16+
</head>
17+
18+
<body>
19+
<div><img id="headerGraphic" src="images/sludge400.png" alt="SLUDGE"></div>
20+
21+
<table><tr>
22+
23+
<td id="menuColumn"><div class="fixed">
24+
<ul>
25+
<li><a href="index.html">Home</a></li>
26+
<li><a href="download.html">Download</a></li>
27+
<li><a href="http://www.adventuredevelopers.com/forum/index.php?board=14.0">Forum</a></li>
28+
<li><a href="http://opensludge.svn.sourceforge.net/viewvc/opensludge/doc/SLUDGE_Help.html">Documentation</a></li>
29+
<li><a href="games.html">Games</a></li>
30+
<li><a href="features.html">Features</a>
31+
<ul>
32+
<li><a href="#current">Current Features</a></li>
33+
<li><a href="#possibilities">Current Possibilities</a></li>
34+
<li><a href="#iwant">I Want... I Want...</a></li>
35+
</ul>
36+
</li>
37+
<li><a href="screenshots.html">Screenshots</a></li>
38+
<li><a href="resources.html">Resources</a></li>
39+
</ul>
40+
</div></td>
41+
42+
<td id="mainColumn">
43+
44+
<h1>Features</h1>
45+
46+
<h2 id="current">Current Features</h2>
47+
48+
49+
<p>SLUDGE currently contains built-in support for the following:</p>
50+
51+
<ul>
52+
<li><b>Objects</b> - with easy to use "events" defining how the game reacts when different objects are combined
53+
</li><li><b>Characters</b> - plus automatic scaling (now with anti-aliasing as standard) and special effects such as transparency
54+
</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
55+
</li><li><b>Costumes</b> - with a costume your characters can look
56+
different when facing different directions (any number of directions you want)...
57+
plus you can provide different animations for talking, walking and
58+
standing still
59+
</li><li><b>Full-screen backgrounds</b> - load 'em from PNG or TGA files in a single line
60+
</li><li><b>Interactive backgrounds</b> - yes, bits of the background image can represent objects too
61+
</li><li><b>Sound effects</b> - play any noise (OGG or WAV) at any time
62+
with a single command; also support for looping sounds, changing the
63+
volume of individual noises and a whole heap of other audio goodness
64+
</li><li><b>Music</b> - play up to three tunes at once (MOD, S3M, IT or XM)
65+
</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
66+
</li><li><b>Scrolling backgrounds</b> - point the camera anywhere at any time
67+
</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
68+
</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...
69+
</li><li><b>Timers</b> - pause for however long you want, whenever you want, without your character saying "..."
70+
</li><li><b>Multiple functions at once</b> - keep that character moving
71+
or talking in the background, animate waterfalls or just devise puzzles
72+
which must be solved against the clock
73+
</li><li><b>Z-buffers</b> - so characters walk behind tables, trees, door-frames, alien machinery etc.
74+
</li><li><b>Floor plans</b> - including automatic path finding without crossing non-walkable areas
75+
</li><li><b>Lightmaps</b> - set up shadows and spotlights simply by using an extra image the same size as your room
76+
</li><li><b>True-colour</b> - SLUDGE uses 32-bit colour throughout
77+
</li><li><b>Any resolution you want</b> - provided your video card can support it, so can SLUDGE
78+
</li><li><b>Windowed mode</b> - with your own custom title bar and quit message (whoo!)
79+
</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
80+
</li><li><b>Game loading and saving</b> - plus rename, delete or launch any file you want
81+
</li><li><b>Single output file</b> - containing all your graphics, sounds and script
82+
</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
83+
</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
84+
</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
85+
</li><li><b>Compressed sprite files</b> - yep, your sprite banks are now compressed, saving you even <i>more</i> file space
86+
</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
87+
</li><li><b>Spinning characters</b> - on command <i>and</i> automatically when turning a corner while walking, at whatever speed you want
88+
</li><li><b>Semi-automatic font conversion ("Fontify")</b> - courtessy of the new sprite bank editor
89+
</li><li><b>Fantastic audio support</b> - not just your standard WAV
90+
files, but Ogg Vorbis and FLAC compressed samples and lots of track-based
91+
music formats (MOD, S3M, IT and XM)
92+
</li><li><b>Improved keyboard handler</b> - catch more keypresses
93+
including function keys, cursor keys and - should you want to - Alt,
94+
Ctrl, Shift, Alt Gr, Caps Lock, Insert, Delete, Home, End, Page Up, Page
95+
Down, Windows and any extra quick-launch keys your keyboard may have
96+
</li><li><b>Multiple transition modes</b> - Bored of your screens
97+
appearing and disappearing too quickly? Now you can disolve or fade in
98+
and out, or even cross fade between one scene and the next
99+
</li><li><b>Your own choice of icon</b> - well, you can't change the
100+
icon for the SLUDGE engine, but here's the next best thing... give your
101+
project a 16x16 or 32x32 image and the engine will use it as an icon in
102+
your game's title bar, and in the taskbar while it's running
103+
</li><li><b>Silent running</b> - no sound support? So what! The engine
104+
can now carry on regardless, letting people with no sound cards play
105+
your game too! It's also an easy way to make a much smaller file for
106+
a faster download for people with slow modems
107+
</li><li><b>Portable custom data files</b> - save an array to a file for
108+
use later, or even use by another SLUDGE game... you can even encode it
109+
all so nobody else can understand it, and all you need to do to read it
110+
is provide the same key
111+
</li><li><b>Background parallax scrolling</b> - leave holes in your room
112+
through which you can see a sky or background which scrolls at a
113+
different speed to the rest of the scene
114+
</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>
115+
</ul>
116+
117+
<h2 id="possibilities">Current Possibilities</h2>
118+
119+
<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>
120+
121+
<ul>
122+
<li><b>Inventory system</b> - SLUDGE uses
123+
one array / stack / queue / linked-list type container which is ideally
124+
suited to implementing an inventory (source code in example project)
125+
</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
126+
<a href="resources.html#src-scrolling-credits">here</a>)
127+
</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
128+
<a href="resources.html#src-text-box">here</a>)
129+
</li><li><b>Automatic character following</b> - just update the position of the camera every frame, and hey presto! (source code
130+
<a href="resources.html#src-smooth-scrolling">here</a>)
131+
</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
132+
</li><li><b>Interactive conversations</b> - there's nothing in SLUDGE to
133+
handle this, but with such an impressive scripting language the code
134+
for a complete interactive conversation mechanism is less than 100 lines
135+
(source code in example project)
136+
</li>
137+
</ul>
138+
139+
<h2 id="iwant">I Want... I Want...</h2>
140+
141+
<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>
142+
143+
</td>
144+
145+
</tr></table>
146+
147+
<P class="copyright-notice">&copy; 2000-2011 Hungry Software and contributors</P>
148+
</body>
149+
</html>

game-screenshots/bt_mac.jpg

52.5 KB
Loading

game-screenshots/cubert.png

27.2 KB
Loading

game-screenshots/frasse1.jpg

43.4 KB
Loading

game-screenshots/front_house.jpg

35.4 KB
Loading

game-screenshots/hw01.jpg

40.7 KB
Loading

game-screenshots/interview.png

95.3 KB
Loading

game-screenshots/kitchenmess.png

72.3 KB
Loading

0 commit comments

Comments
 (0)