Sprite Text

Get help using Construct 2

Post » Tue Jan 28, 2014 5:37 pm

I'm going to copy a mobile game.
It's extension is .jar.
So I decompressed it and got some sprite text.
I am confused on how to make the text width and height.They doesn't seem to get perfect.
I've also got some weird .hex file.
What is this?Can I decode it?
And in overall how to I get the source code from a .jar file?Is it possible??


http://www.2shared.com/file/obcVkQ2H/Font.htmlDoc Ai2014-01-28 17:40:18
I will not let you reach the sisters
Nature Forums
B
11
S
5
G
2
Posts: 496
Reputation: 2,306

Post » Tue Jan 28, 2014 6:56 pm

Hi - still no luck with dropbox ?

The hex file appears to be the positions of the letters - just change the extension (.hex) to .txt and have a look

(eg
41:0:0:12:16:A
42:12:0:10:16:B
43:22:0:10:16:C
44:32:0:13:16:D
)

Have you looked at the sprite font tutorial - using the tool, "GiveYourFontsMono", mentioned in there might be able to sort htis out for you ?

Worst case I suppose you can always take it into an art package and chop it up to the right sizes ?

Good luck
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
34
G
47
Posts: 1,194
Reputation: 30,892

Post » Wed Jan 29, 2014 10:00 am

@RamPackWobble,
hahah.Yeah I have a dropbox account now,but I forgot to upload it there.
I'll try "Give your fonts mono" on my computer.


https://dl.dropboxusercontent.com/u/260388836/Harry%20Potter-3.jar


Using a java compilor I have got this array or something.
In the environment generator.CLASS
This might be creating arrays
See this thread http://www.scirra.com/forum/topic84532.html



public int[] createBackGroundMap2(int paramInt1, int paramInt2)
{
    int[] arrayOfInt = null;
    if (paramInt2 == 4) {
      arrayOfInt = new int[] { 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 29, 30, 29, 30, 6, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 6, 29, 30, 29, 30, 29, 30, 29, 30, 29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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 31, 32, 19, 21, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, 32, 2, 19, 21, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 39, 32, 1, 2, 19, 21, 20, 0, 0, 0, 0, 0, 23, 26, 26, 26, 20, 0, 0, 0, 45, 0, 45, 0, 45, 0, 0, 0, 0, 0, 31, 32, 2, 1, 2, 19, 21, 0, 0, 0, 0, 23, 24, 27, 27, 27, 21, 20, 0, 0, 46, 0, 46, 0, 46, 0, 0, 0, 0, 0, 31, 32, 1, 2, 1, 2, 19, 0, 0, 26, 26, 24, 22, 6, 1, 2, 19, 21, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 2, 1, 2, 1, 2, 26, 26, 27, 27, 22, 1, 2, 1, 2, 6, 19, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 1, 2, 1, 2, 6, 27, 27 };
    } else if (paramInt2 == 5) {
      arrayOfInt = new int[] { 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 12, 13, 1, 2, 1, 2, 3, 4, 1, 2, 29, 30, 29, 30, 6, 1, 2, 1, 2, 6, 29, 30, 29, 30, 29, 30, 29, 30, 29, 3, 10, 15, 13, 12, 13, 1, 2, 6, 29, 30, 0, 0, 0, 6, 1, 2, 1, 2, 6, 25, 0, 49, 0, 72, 76, 77, 75, 0, 49, 18, 12, 13, 12, 13, 1, 2, 0, 0, 0, 0, 0, 43, 44, 12, 13, 12, 13, 6, 25, 0, 0, 50, 0, 0, 78, 79, 0, 0, 50, 0, 18, 1, 2, 1, 2, 6, 41, 42, 0, 0, 0, 43, 44, 6, 12, 13, 6, 25, 0, 0, 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, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, 24, 22, 1, 2, 3, 2, 67, 60, 61, 60, 61, 65, 1, 2, 6, 19, 21, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, 24, 22, 1, 2, 1, 2, 14, 0, 60, 61, 60, 61, 0, 6, 1, 2, 6, 19, 21, 20, 0, 0, 0, 0, 0, 26, 26, 26, 26, 24, 22, 1, 2, 12, 13, 12, 13, 26, 62, 63, 62, 63, 26, 1, 2, 1, 2, 6, 19, 21, 26, 26, 26, 26, 26, 27, 27, 27, 27, 22, 1, 2, 12, 13, 12, 13, 14, 27, 27, 27, 27, 27, 27, 6, 1, 2, 1, 2, 6, 19, 27, 27, 27, 27, 27 };
    } else if (paramInt2 == 6) {
      arrayOfInt = new int[] { 1, 2, 1, 2, 1, 2, 1, 2, 6, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18, 6, 1, 2, 1, 2, 1, 2, 1, 2, 29, 30, 29, 30, 29, 30, 29, 30, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18, 29, 30, 29, 30, 29, 30, 29, 30, 0, 0, 49, 0, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 49, 0, 49, 0, 0, 0, 0, 50, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, 26, 26, 26, 26, 26, 26, 20, 0, 0, 0,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26, 26, 26, 26, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, 26, 26, 26, 26, 26, 26, 26, 26, 27, 27, 27, 27, 27, 27, 27, 21, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, 24, 27, 27, 27, 27, 27, 27, 27, 27 };
    } else if (paramInt2 == 7) {
      arrayOfInt = new int[] { 1, 2, 1, 2, 1, 2, 1, 2, 12, 13, 12, 13, 3, 4, 1, 2, 8, 9, 10, 11, 1, 2, 1, 2, 3, 4, 1, 2, 1, 2, 29, 30, 29, 30, 29, 30, 33, 34, 6, 12, 13, 1, 2, 29, 30, 29, 30, 1, 2, 1, 2, 6, 33, 34, 29, 30, 29, 30, 29, 30, 0, 0, 0, 0, 0, 0, 31, 32, 12, 13, 1, 2, 6, 48, 48, 48, 48, 6, 1, 2, 12, 13, 31, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, 32, 14, 1, 2, 1, 2, 49, 0, 0, 49, 1, 2, 12, 13, 14, 31, 37, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 39, 32, 1, 2, 1, 2, 25, 50, 0, 0, 50, 18, 1, 2, 12, 13, 31, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 31, 32, 6, 1, 2, 25, 0, 0, 0, 0, 0, 0, 18, 1, 2, 14, 31, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 52, 53, 53, 53, 55, 0, 0, 0, 0, 0, 0, 0, 0, 51, 53, 53, 53, 54, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, 24, 21, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, 24, 22, 19, 21, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, 24, 22, 1, 2, 19, 21, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 45, 0, 45, 0, 0, 23, 24, 22, 1, 2, 12, 13, 19, 21, 20, 0, 0, 45, 0, 45, 0, 0, 0, 0, 0, 26, 26, 26, 20, 0, 46, 0, 46, 0, 23, 24, 22, 12, 13, 12, 13, 1, 2, 19, 21, 20, 0, 46, 0, 46, 0, 23, 26, 26, 26, 27, 27, 27, 21, 26, 26, 26, 26, 26, 24, 22, 1, 2, 12, 13, 1, 2, 1, 2, 19, 21, 26, 26, 26, 26, 26, 24, 27, 27, 27 };
    } else if (paramInt2 == 8) {
      arrayOfInt = new int[] { 1, 2, 1, 2,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
    for (int i = 0; i < 300; i++)
    {
      if ((paramInt1 % 15 == 0) && (i != 0)) {
        paramInt1 += 15;
      }
      paramInt2 = arrayOfInt[paramInt1];
      paramInt1++;
    }
    return paramInt2;
}

public int[] createBackGroundMap3(int paramInt1, int paramInt2)
{
    int[] arrayOfInt = null;
    if (paramInt2 == 9) {
      arrayOfInt = new int[] { 1, 2, 3, 4, 1, 2, 1, 2, 1, 2, 1, 2, 12, 13, 1, 2, 1, 2, 1, 2, 8, 9, 10, 11, 1, 2, 1, 2, 1, 2, 29, 30, 29, 30, 29, 30, 29, 30, 29, 30, 29, 30, 29, 30, 29, 30, 29, 30, 29, 30, 29, 30, 29, 30, 29, 30, 29, 30, 29, 30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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 45, 0, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 45, 0, 45, 0, 0, 0, 0, 49, 0, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 49, 0, 49, 0, 0, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27 };
    } else if (paramInt2 == 10) {
      arrayOfInt = new int[] { 1, 2, 3, 4, 1, 2, 1, 5, 1, 2, 1, 17, 1, 2, 1, 2, 8, 9, 10, 11, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 29, 30, 29, 30, 29, 30, 29, 30, 29, 30, 29, 30, 29, 30, 29, 30, 29, 30, 29, 30, 29, 30, 29, 30, 29, 30, 29, 30, 29, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27 };
    } else if (paramInt2 == 11) {
      arrayOfInt = new int[] { 1, 2, 1, 2, 22, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18, 19, 1, 2, 1, 2, 29, 30, 29, 30, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18, 29, 30, 29, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 29, 30, 29, 30, 29, 30, 29, 30, 29, 30, 29, 30, 29, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 51, 52, 53, 53, 53, 52, 54, 53, 53, 53, 54, 55, 0, 0,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, 0, 0, 0, 84, 85, 85, 81, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 87, 88, 88, 89, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 90, 90, 90, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 91, 91, 91, 91, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 92, 93, 93, 94, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, 26, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, 24, 27, 27, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, 24, 22, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, 24, 22, 1, 2, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, 24, 22, 1, 2, 1, 2, 0, 0, 0, 26, 26, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, 24, 22, 1, 2, 1, 2, 6, 26, 26, 26, 27, 27, 21, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 24, 22, 1, 2, 1, 2, 1, 2, 27, 27, 27 };
    } else if (paramInt2 == 13) {
      arrayOfInt = new int[] { 1, 2, 3, 4, 1,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0, 0, 0, 0, 0, 0, 0, 18, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 43, 44, 31, 32, 41, 42, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 31, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 31, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 20, 0, 0, 0, 31, 32, 0, 0, 0, 23, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 21, 20, 0, 0, 31, 32, 0, 0, 23, 24, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27 };
    } else if (paramInt2 == 14) {
      arrayOfInt = new int[] { 1, 2, 3, 4, 1, 2, 1, 2, 1, 2, 31, 32, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 6, 31, 32, 6, 1, 2, 29, 30, 29, 30, 29, 30, 29, 30, 29, 30, 31, 32, 29, 30, 29, 30, 29, 30, 29, 30, 29, 30, 29, 30, 29, 31, 32, 30, 29, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 31, 32, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
    for (int i = 0; i < 300; i++)
    {
      if ((paramInt1 % 15 == 0) && (i != 0)) {
        paramInt1 += 15;
      }
      paramInt2 = arrayOfInt[paramInt1];
      paramInt1++;
    }
    return paramInt2;
}

public TiledLayer createSkyBoard()
{
    TiledLayer localTiledLayer = new TiledLayer(2, 1, this.imageSkyBoard, this.imageSkyBoard.getWidth(), this.imageSkyBoard.getHeight());
    int[] arrayOfInt = { 1, 1 };
    for (int i = 0; i < arrayOfInt.length; i++)
    {
      int j = i % 2;
      int k = (i - j) / 2;
      localTiledLayer.setCell(j, k, arrayOfInt);
    }
    localTiledLayer.getCell(0, 0);
    return localTiledLayer;
}

public TiledLayer createMagicLayer1Board(int paramInt)
{
    paramInt = new TiledLayer(1, 1, this.imageMagicBoard, this.imageMagicBoard.getWidth(), this.imageMagicBoard.getHeight());
    int[] arrayOfInt = { 1 };
    for (int i = 0; i < arrayOfInt.length; i++)
    {
      int j = 0;
      int k = i - j;
      paramInt.setCell(j, k, arrayOfInt);
    }
    paramInt.getCell(0, 0);
    return paramInt;
}Doc Ai2014-01-29 10:05:09
I will not let you reach the sisters
Nature Forums
B
11
S
5
G
2
Posts: 496
Reputation: 2,306


Return to How do I....?

Who is online

Users browsing this forum: Cubeeo and 22 guests