User:FeralKitty/Local/Todo
From PinataIsland.info, the Viva Piñata wiki
< User:FeralKitty
Revision as of 19:50, 16 July 2011 by FeralKitty (talk | contribs) (New page: == Pinata Vision for the iPod/iPhone == *In-app purchase **Figure out in-app purchase **Setup test account *Game center **Figure out game center **Setup test account **Come up with list o...)
Contents
Pinata Vision for the iPod/iPhone
- In-app purchase
- Figure out in-app purchase
- Setup test account
- Game center
- Figure out game center
- Setup test account
- Come up with list of achievements
- Figure out code to credit progress for an achievement
- Card generator
- Figure out UI
- Save cards?
- Delete cards?
- Simplify code
- Smaller footprint?
- More reuse?
PV Creator
- Species, Pinata, Egg, Home, Life sweet
- Dragonache, 44, 222, -1, 888
- Variant Normal, Red, Blue, Green, White, Black
- Trait Normal, 4 ears, 6 ears, 8 ears
SINGLE WINDOW, CARD/BARCODE ALWAYS VISIBLE
Transform notes
- 1 -0 0 1 0 0 is portrait, barcode right or up (upside down). (It's also CGAffineTransformIdentity)
- -1 -0 0 -1 0 0 is barcode down (rightside up). It's 180 degrees rotated from CGAffineTransformIdentity.
- 1 = Portrait
- 2 = PortraitUpsideDown
- 3 = LandscapeRight
- 4 = LandscapeLeft
Barcode generation
- Convert IDs 12-bit format so they're prepared for encoding
- Pad data to next row boundary (with 0s)
- Foreach row (60 bits):
- Calculate checksum
- from 0 to 14, get next 4 chars, get decimal value, multiply times weight, add to sum.
- do modulo math to get check digit
- Shuffle, negate bits
- from 0 to 59, reorder bits, based on check digit, and xor/negate reordered bit
- IMPORTANT: you don't have to actually shuffle. Just read 4 bits from pre-shuffled locations, then negate and obfuscate in one pass
- Add (obfuscated) checksum digit
- Obfuscate bits
- from 0 to 15, get next 4 chars, lookup obfuscation
- WRITE OBFUSCATION AS 7-BIT EAN
- from 0 to 15, get next 4 chars, lookup obfuscation
- Calculate checksum
- for row = 0 to n
- get checksum
- for nibble = 0 to 14
- for bits = 3 to 0
- get/negate shuffled bits as a 4-bit value
- append obfuscation[value];
- next nibble
- append obfuscation[checksum] + "1"
- next row
Reverse shuffle
63, 33, 62, 32, ... = take 63, put it in spot 63 (0), take 62, put it in spot 33, take 61, put it in spot 62 (1)
PV HD
- Types of queries
- Count
- By species (no details)
- By type (no details)
- Cards
- By species (species journal or specific card)
- By type (specific card)
- By favorites (specific card)
- Recent cards
- By date (specific card)
- By description (specific card)
- By type of card (specific card)
- Search
- By description (specific card)
- Count