Editing 1608: Hoverboard

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 3,164: Line 3,164:
 
As previously noted, the comic bears considerable resemblance to [[1110: Click and Drag]]. The comic is made in much the same way, with 'drawn' images "glued" together to form a large "map", with the illusion of infinite bounds made possible through space saving techniques where blank tiles are not stored and are instead painted white. The boundary between blank squares and 'drawn' squares is made clear as any white space in the normal images has a very slight grey tint. Thus, seams between images and blank spaces can be discerned.
 
As previously noted, the comic bears considerable resemblance to [[1110: Click and Drag]]. The comic is made in much the same way, with 'drawn' images "glued" together to form a large "map", with the illusion of infinite bounds made possible through space saving techniques where blank tiles are not stored and are instead painted white. The boundary between blank squares and 'drawn' squares is made clear as any white space in the normal images has a very slight grey tint. Thus, seams between images and blank spaces can be discerned.
  
The tiles for the map are stored as simple PNG files in the naming scheme: X:-Y+s.png. An example from the starting tile can be seen here: http://xkcd.com/1608/1000:-1074+s.png, with the coordinate (X, Y) coordinate (1000, 1074).
+
The tiles for the map are stored as simple PNG files in the naming scheme: X:Y+s.png. An example can be seen here: http://xkcd.com/1608/1013:-1096+s.png Each file is 513x513 pixels in size, one pixel is reserved as overlap to ensure seamless joining of images. The image tiles names are listed as coordinates in an X - Y grid with X in the range from 928 to 1108 and Y in the range from 928 to 1112. Internally in the game, the position of the player is divided by 512 and rounded down to give the position of the tile.
 
 
Each file is 513x513 pixels in size, one pixel is reserved as overlap to ensure seamless joining of images. The image tiles names are listed as coordinates in an X - Y grid with X in the range from 928 to 1108 and Y in the range from 928 to 1112.  
 
 
 
Internally in the game, the position of the player is given for instance as (X: 512187, -Y: -549668) for the starting position. Then these numbers are divided by 512 and rounded down. This gives the coordinate of the tile that the hoverboard is currently in.
 
:(X: 512187, -Y: -549668)/512 => (X, Y) = (1000.37, -[-1073,6]) => (1000, 1074) when the numbers are rounded down.
 
The bottom left corner of the first tile, would thus be (1000, 1073), and the top left corner (1000, 1074) => (512000, -549888).
 
  
 
The collision map is encoded in the darkness of the black. Using an image manipulation program, one can easily find the secret pathways even in the zoomed-out maps provided below by enhancing the contrast of the dark areas.  
 
The collision map is encoded in the darkness of the black. Using an image manipulation program, one can easily find the secret pathways even in the zoomed-out maps provided below by enhancing the contrast of the dark areas.  

Please note that all contributions to explain xkcd may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see explain xkcd:Copyrights for details). Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel | Editing help (opens in new window)