Flik: Sphere Central!
Files!
All the files... 
Sphere
sphere-source.zip - Get this if you want to compile sphere for yourself.
(But don't want to have to go through using CVS...)
|
Sphere Games
Possible system script for sphere, but it just works here. Just walk in the house and then back out, to see what I mean.
|
My entry for the 17th June to 28th June sphere compo held by fenix. It came in 3rd place out of a total of 3 entries. Wow.
|
My sphere game using 1023 bytes of scripting, or 1kb approx. This was for SDHawk's 1kb (1024 bytes) compo...
|
I did as much as I could before it started to annoy me.. Heh.
|
A kind of complete sphere game... Rescue freddy, duh...
|
Shows what happens when I get bored, and um, heheh...
|
Shows a working party train system
Also a starting of a vehicle system :)
The moogle is a person, the two pacman sprites - (actually a jeep and a plane) are vehicles...
|
Shows how to use tile_movement.js in your game.
This allows your main character to move around tile by tile rather than pixel by pixel.
|
Provides a test to see if sphere can connect to external websites and get files from it using http.
|
Flik Zelda
Shows how you code a really bad zelda game late at night.
|
flikmenu_demo
Shows several menus using FlikMenu, including a zelda style menu...
|
item_menu
Shows an example items menu...
|
Castle example from my how to create a ice cave tutorial.
This shows how saving and loading would work and warping...
|
Icecave example from my how to create a ice cave tutorial.
This demonstrates reflective layers, animated tiles and sounds that fade in and out...
|
Dungeon example from my how to create a dungeon tutorial.
This demonstrates opening treasure chest code and freaky never ending corridor code.
It also shows a pretty good implementation of my battle script...
|
Pacman online?
If you get the error(s)
GetMapHeight is undefined or GetMapWidth is undefined..
Add these lines main.js:-
function GetMapWidth(){ return 19; }
function GetMapHeight(){ return 14; }
All depends what version of Sphere you're using.
|
Snakes and ladders..
|
I hate this now that I look back on it...
It's not supported anymore, but it used to work in Sphere v0.90 or v0.91 or something...
|
Sphere Scripts
A bunch of neat scripts you might like for your games...
flik_menu
- A menu object
flik_battle
- A framework battlesystem
flik_save
- provides a way to have multiple save game slots
e.g.
var save = new save_slot();
var num_swords = save.read("num_swords", 0);
save.write("num_swords", ++num_swords);
save.save();
flik_network
- provides a server and client object
minimap
- provides a way to grab a miniture version of the map at the current point in time
e.g.
var map = CurrentMapToImage();
map.blit(0, 0);
global_object
- provides a way to refer to the top-most object in the script
e.g.
ListGlobals();
define_global(name, value);
GetGlobalObject();
taginfo
- provides a way of reading tags for mp3/ogg files.
e.g.
var tag = ReadTag("song.mp3");
var song_title = tag.getTitle();
|
I've worked with alot of arrays in JavaScript, and so I've came up with some Array methods...
Things like Array.getRandom() and Array.randomSort (that's an oxymoron)...
Well, you might find it useful for arrays, or you might use it to find out how prototypes work. Whatever you do, enjoy...
|
Sphere Tiles
I compiled and made this tileset myself, enjoy...
This is for Overlord really, he's asked me twice for this file, lol...
|
Next time you create a new map and it asks you for a tileset, you can use a .rts file..
|
Sphere Other
If you have textpad, download this, make sure you close all documents.
Configure > New Document Class...
In the following three dialogues, type:
"Sphere" then "*.js" then type the location of the sphere.syn file, e.g. "c:\sphere\sphere.syn"
|
Download nullsoft's installer making thing... ( http://www.nullsoft.com - it requires a fairly new version of NSIS)
Download install_script.nsi, put it into your game's directory, i.e. next to game.sgm
Edit the line: (by removing the ; or not)
;!define StandAlone
Right click on install_script.nsi and choose "Compile NSI", and it'll make an installer for your game.
|
I named them for you aswell. Like battle-music-01.mid type thing.. Hope this helps...
|
Perfect for weird writing and stuff, like on "ancient scrolls"... (rfn -- Sphere Font Format)
|
Other (ohrrpgce util's)
See link for more details.
|
Other (perl)
Here's my javatohtml perl script, enjoy.
All you need is a perl interpreter and type at the prompt:
perl javatohtml filename.java
|
Here's my sqltohtml perl script, enjoy.
All you need is a perl interpreter and type at the prompt:
perl sqltohtml.perl filename.sql
|
Instrutions included in the file, but basically:
perl m3u_windows_to_linux > list.m3u
xmms list.m3u
|
A perl script designed to concatenate multiple .wk1 files together.
(wk1 is an old spreadsheet format used by certain sound anaylsis software.)
|
Other (Misc Utils - all opensource)
Converts filenames in the directory it is ran from to lowercase.
Or you can drag and drop a directory onto lwrcase and it'll convert the files inside the directory.
It's smart enough to know that it shouldn't rename *.java, *.class, *.cpp, *.hpp, *.c and *.h files.
But it'll rename everything else.
Eh? Why not call it lowercase rather than lwrcase?
Because lowercase is lowerc~1 in dos, and lwrcase is lwrcase is dos.
|
A utility specifically designed to copy sphere's source-code tree (without including unrelated files that clutter the source tree)
It should be good for copying any MSVC source trees though without any/much modification.
Also included is src_stats, a utility to show the number of lines/comments/bytes for source files.
Also included is rename_files...
rename_files reads from two files a list of filenames, and with every filename from one file, renames it to every filename in another file.
rename_files is supposed to make it easy to mass rename files, but you need a good text editor for it to be really useful.
e.g.
Drag c:/music ontop of c:/programs/rename_files.exe
(Which creates in.txt and out.txt...)
Now edit the filenames listed in c:/programs/out.txt
Then run c:/programs/rename_files.exe
(These programs are bundled together because they have sourcecode that is similar...)
|
Utilities to split and join files into 1.22 mb files and back. It would be 1.44 mb files, but you'd be lucky to fit a 1.44 mb file on a 1.44 mb disk, heh.
|
Utility to generate an rss feed from a list of comics.
(Now if only I had a comic of my own that I updated reasonably frequently so that having an rss feed wasn't just pointless...)
|
Utility to generate a readable text file from a scrape file
(scrape files are part of the bittorent protocol that allow servers to check what other hosts are hosting...)
|
Utility to convert tab seperated text files to xml
(Example included, but the tab text files are those generated by excel when you save as 'Tab Seperated Text'...)
|
Utility to print binary files in hex form...
e.g. "hexdump 0 5 file.exe file.txt"
Will print the first 5 bytes of file.exe into file.txt: "M, Z, 0x90, 0x00, 0x03"
|
autorun for index.html
It all does is open index.html in the default browser, useful for CD's that launch index.html via autorun.inf files.
autorun.inf files should look like:
[autorun]
icon=favicon.ico
open=autorun.exe
I believe open=index.html is valid in Linux and maybe later versions of Windows, so autorun.exe is just a fix for that :)
|
Windows Utility program...
- Allows you to uninstall programs...
- Allows you to remove the option to uninstall a program...
|
Stating the obvious:
If you use Netscape, to save the files, press shift and left click them.
To customize this page, just choose one of the Cascading Style Sheets and select submit.
Then all you need to do is press refresh to see the new design, that's if your browser doesn't kindly help you to the refresh button...
|
Made By Flik!
|