LordAndrew's forum posts

#1 Posted by LordAndrew (14430 posts) -

The image field for each game result contains multiple fields representing different sizes of the same image. Experiment with the provided URLs below to see which size best fits your use case. super_url is the largest available size, but you can also retrieve the original unscaled image by replacing "scale_large" in the URL with "original".

For /games/, a simplified API response will look like this:

<response>
<results>
<game>
<id>1</id>
<image>
<icon_url>http://static.giantbomb.com/uploads/square_avatar/9/93770/2370498-genesis_desertstrike_2__1_.jpg</icon_url>
<medium_url>http://static.giantbomb.com/uploads/scale_medium/9/93770/2370498-genesis_desertstrike_2__1_.jpg</medium_url>
<screen_url>http://static.giantbomb.com/uploads/screen_medium/9/93770/2370498-genesis_desertstrike_2__1_.jpg</screen_url>
<small_url>http://static.giantbomb.com/uploads/scale_small/9/93770/2370498-genesis_desertstrike_2__1_.jpg</small_url>
<super_url>http://static.giantbomb.com/uploads/scale_large/9/93770/2370498-genesis_desertstrike_2__1_.jpg</super_url>
<thumb_url>http://static.giantbomb.com/uploads/scale_avatar/9/93770/2370498-genesis_desertstrike_2__1_.jpg</thumb_url>
<tiny_url>http://static.giantbomb.com/uploads/square_mini/9/93770/2370498-genesis_desertstrike_2__1_.jpg</tiny_url>
</image>
<name>Desert Strike: Return to the Gulf</name>
</game>
</results>
</response>

For /game/1/, a simplified API response will look like this:

<response>
<results>
<id>1</id>
<image>
<icon_url>http://static.giantbomb.com/uploads/square_avatar/9/93770/2370498-genesis_desertstrike_2__1_.jpg</icon_url>
<medium_url>http://static.giantbomb.com/uploads/scale_medium/9/93770/2370498-genesis_desertstrike_2__1_.jpg</medium_url>
<screen_url>http://static.giantbomb.com/uploads/screen_medium/9/93770/2370498-genesis_desertstrike_2__1_.jpg</screen_url>
<small_url>http://static.giantbomb.com/uploads/scale_small/9/93770/2370498-genesis_desertstrike_2__1_.jpg</small_url>
<super_url>http://static.giantbomb.com/uploads/scale_large/9/93770/2370498-genesis_desertstrike_2__1_.jpg</super_url>
<thumb_url>http://static.giantbomb.com/uploads/scale_avatar/9/93770/2370498-genesis_desertstrike_2__1_.jpg</thumb_url>
<tiny_url>http://static.giantbomb.com/uploads/square_mini/9/93770/2370498-genesis_desertstrike_2__1_.jpg</tiny_url>
</image>
<name>Desert Strike: Return to the Gulf</name>
</results>
</response>

The download vs. display issue seems like it should only affect browsers. Is this incorrect? What method are you using to download the images?

When you download the images, there is nothing in the URL that indicates which game they are associated with. In fact, an image can be associated with any number of games. If you are downloading them all first (as opposed to associating the image URL with your data and downloading it only when it is to be shown), you should include the ID in the download URL. So instead of downloading an image to say, C:\path\to\file\<icon_url>, download it to C:\path\to\file\<id>.jpg. Then later you can ask it to display C:\path\to\file\<id>.jpg and it will display the image you want.

#2 Posted by LordAndrew (14430 posts) -

Bummer. So who's still with GameSpot? Kevin, Danny, and some largely forgettable staff?

#3 Posted by LordAndrew (14430 posts) -

Eh. The only reason to get it would be for casting if you don't have a chromecast.

Why would you do that? Chromecast is cheaper. Unless you got a free ADT-1 for development purposes, but that's not the same device as the Nexus Player.

For developers who already have controller-compatible Android games, supporting Android TV is pretty trivial. Good luck finding games that will work with Chromecast.

I use my roku 3 every day, and I watch most giant bomb through that. But I admit that I'm tired of the UI. I want something that just looks nicer to use, and presents media info in an appealing way. Tangentially, that's why I also hope the giant bomb engineers (or someone else like the video buddy duders) make an app that is specifically formatted for TV.

I'm working on it. My Chromecast work is on hold while I figure out the best UI, but Android TV shouldn't be too hard.

#4 Posted by LordAndrew (14430 posts) -

@epikrocket: Really? You don't believe that Chell survived the events of the first game? Then what was the second game? A dying dream?

#5 Posted by LordAndrew (14430 posts) -

I will continue to buy my games on vinyl, and I don't expect to stop.

#6 Posted by LordAndrew (14430 posts) -

Yay! I've heard of all three of you!

#7 Edited by LordAndrew (14430 posts) -

It seems he's just trying everything he can with little regard to whether those decisions make sense.

I don't see this going well.

#8 Edited by LordAndrew (14430 posts) -

Sure, why not. I don't have a problem with this, except for her being named Thor. I've had the impression it was his birth name, not a title that could be passed along to someone more worthy.

I do wonder how long it will stick. Seems likely that old Thor will be back in time for the next movie, perhaps earlier depending on how well new Thor is received.

#9 Posted by LordAndrew (14430 posts) -

She's a surprisingly capable fighter for someone with no arms or eyes.

#10 Posted by LordAndrew (14430 posts) -

Description is the wiki article. It is meant to be displayed with HTML formatting. If you don't want that, strip out all the tags before use.