View Issue Details

IDProjectCategoryLast Update
0000023AI War 1 / ClassicNote To TestJan 3, 2011 11:44 am
ReporterChris_McElligottPark Assigned Tokeith.lamothe  
Status closedResolutionnot fixable 
Summary0000023: Verify that the custom-dragging of planets is displaying right.
DescriptionThis is just a note from me that, based on all the serious changes I made to the galaxy map planet positions and similar, that your code for this might not be fully functional anymore. It should mostly be, but it might be offsetting incorrectly.

In a nutshell, your code needs to always keep track of its coordinates in a coordinate space that is scaled for a 1024x768 screen. When players drag a planet around, it should look at the scale of their screen, and the position of the planet they are thus dragging, and scale down (or up, I guess, if the scale is smaller than 1024x768) the coordinate to the equivalent for the 1024x768 version.

That's what should also be saved, and synced with other players, etc -- so you may have already been doing this, I'm not wholly positive. It seems like sort of so. But at any rate, my revised code now takes care of all the "offsetting of planets based on screen scale for clicking and display," essentially, and the job of the dragging and positioning code is to get the coordinates in a non-aligned fashion.

Should be a simple thing, but it's not important for the prerelease certainly, and I don't know that all the hotkeys and interface elements for this are in place yet, anyway, so I don't think it can be yet tested. Just a note for future reference!

Note from Keith: I believe my computations were based off the "Original" variables, so they should be fine, but thanks for the headsup.
TagsNo tags attached.
Internal Weight

Activities

Chris_McElligottPark

Dec 20, 2010 5:10 pm

administrator   ~0006454

Marking as closed for now, since planet dragging currently isn't even in place.

Issue History

Date Modified Username Field Change
Oct 2, 2010 8:58 pm Chris_McElligottPark New Issue
Oct 2, 2010 8:58 pm Chris_McElligottPark Status new => assigned
Oct 2, 2010 8:58 pm Chris_McElligottPark Assigned To => keith.lamothe
Oct 2, 2010 8:59 pm Chris_McElligottPark Category Bug - Other => Note To Test
Dec 20, 2010 5:10 pm Chris_McElligottPark Note Added: 0006454
Dec 20, 2010 5:10 pm Chris_McElligottPark Status assigned => resolved
Dec 20, 2010 5:10 pm Chris_McElligottPark Resolution open => not fixable
Jan 3, 2011 11:44 am Chris_McElligottPark Status resolved => closed