About
What is this?
Sydney 2000 is a proof of concept investigative game.
The plot is based on an old DOS game called London 2000, and the game works through the Google Streetview API.
How was the game created?
The game uses the Google Streetmaps API and Javascript.
Some code samples:
This code loads a location based on a string, such as "Opera House, Sydney, Australia"
function showAddress(address) {
if (geocoder) {
geocoder.getLatLng(
address,
function(point) {
if (!point) {
alert(address + " not found");
} else {
centre = point;
map.setCenter(point, 17);
panorama.setLocationAndPOV(point, {yaw:80.5});
}
}
);
}
}
This code checks the location of the map
function updates(loc) {
switch(loc)
{
case "(-33.871938, 151.206979)":
hotel();
break;
case "(-33.858866, 151.213598)":
opera();
break;
case "(-33.86234, 151.211641)":
warehouse();
break;
default:
}
}
Where is Part 2?
In development :) Email me with any suggestions (webmaster at rustyspigot dot com)