Thursday, 23 December 2010

3 steps forward 2 steps back

ok so found out a few good things there is a site called psd2css.com which u upload a web site in .psd formate u have to name things a outlined way but the site then codes it up for you u can even add a blank layer so it knows its for iphone and it will add all the iphone attributes also adds the ability to to have multiple pages load in one window have started to play with this site. can do something similar with jquery which is mentioned a lot online for web app development, seems to be a massive css and js library. one other way to have multiple pages load on one page i found was to make it one page then hide parts of it so when buttons are clicked it hiddes and revels the 'pages'. still having problems with the core game mechanic but getting there slowly

Monday, 6 December 2010

update

seems i mainly put issues up on this blog but still having a function issues im trying to have to functions that get the same information on gets the users location to centre the map and the other follows the users location to solve this im basically reformatting my code and making more var and functions so making my code more complex but easier fun.

Thursday, 2 December 2010

road mapping

so after a lot of searching a very nice guy called larry posted this link on the google code forum
http://maps.forum.nu/gm_driving_radius.html
now it is basiclly what i need to place all my colletables on the screen however, to do it to the zoom level i want it may take a while to load and it may miss roads but that not too much of an issues.
one issues is that the google direction tool has a quota so the app may stop working with exstended use however this app is going to be made for walking use so a user would prob have to use the app for a few hours for the quota to be reached.

Monday, 29 November 2010

trail and error

so at the moment im trying to play with different code to get all my collectables to come up on screen.
im just about to try this
-getting the maps visible area
       -then getting all the road names in the visible area
            - place markers alone the visible roads at x distance apart

another issues that has recently occurred is that as the user moves the whole map refreshes which means the  map flickers which is a problem i think this is due to the fact the centre of the map is set to the users location so as the user moves the map dose to so to fix this im going to try this
- getposition set map centre
    - place marker at watch position
(doing this the map will get the user location load and be static then only the marker will follow the user)
         -when marker leaves visible area get position set centre

this should then move the map when the user leaves the visible area hope this fixes the current issues

Friday, 19 November 2010

more testing and issues

1. i have changed the site my web app it on now its on http://dannyw.site50.net
detection works so if you try to view the site from a computer you are give a message which will become my about page. when open from an iphone or Android device the user is promoted to bookmark the page

2. issue with pages links take the user out of the web app environment and opens in safari looking into how to load all pages in on window

3. custom homescreen icon has been added so now looks like an app (its only a basic image for testing will change near the end)

4. tracks the used location in real time, not smooth tracking yet need to make it refresh faster

5. currently designing the menus and buttons

6. looking at HTML 5 to see what would improve my web app

Sunday, 7 November 2010

up and testing

the bones of my project at live now at http://dannyw.hostwebs.com at the moment my site knows  if you are viewing the page from a mobile device if you are you get taken to the game menu (which is just a link right now) and also knows if the site has been launched from the home screen or safari browser.

all the game dose at the moment is puts a mark at the users location and tracks the users position in real time. one issues at the moment is that the map doesn't fill the whole screen it has a white section at the top i hope i can make this section of white smaller stop the page being bigger than the iPhone screen.


if the site is opened from a desktop the user is told that the site is for mobile devices will change this to an information page about the app and how it works etc