Sunday, 1 May 2011

collection sorted now to sort the score update

i luckly found this in the google api documentation
google.maps.geometry.spherical.computeDistanceBetween(latlng pointA, latlng pointB);
which calculates the distance in meters between to points which allowed me to found out the distance of the user from all the collectables i then did

if (distance < R)
{
colls.setMap(null);
}
R = a radius around the user
distance = the distance returned from google.maps.geometry.spherical.computeDistanceBetween

so now as the user comes into contact with the collectables they are removed from the map
win
now i just need to add something like

send score(+10) or something to update a score

nearly there however i dont think i will have the time to make the ghost but i will try i have a bit of script that animates a mark alone a poly line so i should be able to change that to make my ghost but will have to see if i have time

Friday, 29 April 2011

marker test

ok so now the streets are full of markers now to change the image and add the score detection to them, then it will be ready to test almost there now

Thursday, 28 April 2011

markers on roads

http://econym.org.uk/gmap/epoly.htm

this site give a .js with some extra function for google maps api v3 like how to calculate the distance of a polyline and how to place marks on a polyline at a set distance

Wednesday, 27 April 2011

size

ok so ive ran into an issue the size of the xml file it seems that the big the file the harder the iphone finds it to load all the polyline so at present ill just have to have a small area that is playable with then game

Monday, 25 April 2011

images




2 menu/load screen ideas made from a few of my sketched ideas

Friday, 22 April 2011

menu styles





so for the final style of my menus it was suggested in my last critic that an old horror movie style might look good so ive been looking at old posters for inspiration and have made a few sketches here are the main influences for my designs 










what i'm taking from these images is the way the horror element over shadows the main characters, with the frightned people of centre and the "monsters" taking up the centre of the images. i like how dark most of the images are and the way the images seem to capture action just before something bad is possible about to happen sort of leaving a viewer on edge wanting more.
(all the images are from google images. i searched old horror movie posters)

so my sketches take these elements into account ill post the digital images up once i have made them.

Saturday, 16 April 2011

google api v2 to v3 xml

have now got the map data from the xml file into a 3 dimensional array, after parsing  my xml using google maps api v2 i found out that the GXml.parse does not exist in v3 big issues after looking for a few hours online i found a .js function that recreates the GXml.parse function in v2 within v3 happy days the result = i dont have to change very much of my script just attach the .js now to get the polly lines, ghost and collectables  on the roads