Example #1
0
<?php

require_once '../wombat.php';
require_once 'getdbc.php';
require_once 'modpassword.php';
WombatHead('RWK:AE - Mod Control Panel');
if (!isset($_SESSION['rwamod'])) {
    if (isset($_POST['password']) && $_POST['password'] == MOD_PASSWORD) {
        $_SESSION['rwamod'] = MOD_PASSWORD;
    } else {
        ?>
<form action="mod.php" method="post">
Enter password:<br />
<input type="password" name="password" /><br />
<input type="submit" value="Log in" />
</form>
<?php 
        WombatFoot();
        die;
    }
} else {
    if ($_SESSION['rwamod'] !== MOD_PASSWORD) {
        unset($_SESSION['rwamod']);
        die;
    }
}
$dbh = getDBC();
if (isset($_POST['update'])) {
    $id = 0;
    $name = '';
    $author = '';
Example #2
0
<?php

require_once '../wombat.php';
WombatHead('RWK:AE - About');
?>
<h1>About RWK: Adventure Edition</h1>
<?php 
include 'linkbar.php';
?>

<p>Robot Wants Kitty: Adventure Edition originally arose from all the demands for a <a href="http://hamumu.com/robotkitty.php">Robot Wants Kitty</a> level editor.
I decided to take the original Robot Wants Kitty <a href="http://hamumu.com/robotkitty_src.zip">competition code</a> (zip file) 
and expand it, adding an options menu for changing a multitude of game settings and selecting from different levels.
At first, levels had to be saved as bitmaps, converted with a special program, and hardcoded into the game. Thanks to some
PHP power and an SQLite database, users can now <a href="upload.php">upload levels</a> and have them submitted for moderator
approval automatically!</p>

<p><b>Programming</b><br />
<a href="http://hamumu.com/">Hamumu</a><br />
SpaceManiac<br />
AtkinsSJ</p>

<p><b>Graphics</b><br />
<a href="http://hamumu.com/">Hamumu</a><br />
PurpleKoopa</p>

<p><b>Moderation Team</b><br />
SpaceManiac<br />
AtkinsSJ<br />
Blackduck</p>
Example #3
0
<?php

require_once '../wombat.php';
WombatHead('Robot Wants Kitty: Adventure Edition');
?>
<h1>RWK: Adventure Edition</h1>
<p>Welcome to the home of <b>Robot Wants Kitty: Adventure Edition</b>!<br />
<?php 
include 'linkbar.php';
?>
</p>

<?php 
embed('rwa', 640, 480);
?>

<p>Current build is <b>182</b>. Hard refresh if what's shown is below that!</p>

<?php 
WombatFoot();
Example #4
0
<?php

require_once '../wombat.php';
WombatHead('RWK:AE - Robot Ability Guide');
?>
<h1>Robot Ability Guide</h1>
<?php 
include 'linkbar.php';
?>

<p>Robot can jump 2 and a half tiles upwards. This means he'll die on ouch blocks 3 tiles above him!<br />
<img src="guide_jump.png" alt="Jumping diagram" /></p>

<p>Robot can double-jump a maximum of 5 and a half tiles upwards. This means he might die on ouch blocks 6 tiles above him if he isn't careful!<br />
<img src="guide_djump.png" alt="Double-jump diagram" /></p>

<p>With careful double-jumping, Robot can navigate a tunnel like this one:<br />
<img src="guide_tunnel.png" alt="Navigating a tunnel diagram" /></p>

<p>Robot can rocket just about infinitely upwards... for now anyways! Just don't make it really extreme - 20 tiles is probably a good limit.<br />
<img src="guide_riser.png" alt="Rocket riser diagram" /></p>

<p>When Robot uses a teleporter, he goes to the nearest one of the same color, by actual distance.
If you can't tell by looking at your map which one he'll go to, you probably want to do some moving around of teleporters.<br />
</p>

<?php 
WombatFoot();