Doc Ai's Forum Posts

  • BluePhaze

    LittleStain

    I've just got an Idea.

    I will create many tilemaps.Put the first one on the screen and others away from it.Each assigned with bullet behaviour.

    Then at rhe start of layout I will pick a random tilemap and put it at X-axis,320(level width).

    Again after the picked tile map reaches x-axis 0,another will be picked and so on.This should be a loop I think.

    The problem is how to get the UID of the randomely picked tilemap.

    Is this a good idea?

    This should make the game infinite and the java game actually works this way.I see many areas repeated.

    I don't want to make the game difficult over time(Or I will think about it later)

  • Ok.I've installed graphics gale,but it's trial. :(

    However,I know many ways to overcome that :P.

    Anyways,I will start working on it tomorrow.

    Thank you

  • The main problem is the sprite making for my games.I don't like the online free sprites.I just want to make my own.

    If I were to make a realistic but pixel sprite in paint,it would take almost a day.

    Game maker editor is amazing,but it's not that much.

    So What do you recommend?

    P.S, Paint sucks.You can't make transparent things with it.)

    Also,I want to draw with mouse.

  • Did you uninstall it and reinstall it?

  • BluePhaze

    So I have no choice but to learn arrays.

    Are you sure that I can do it with arrays?Taking into account that the .jar game also used arrays,this should be possible.But is this possible in construct 2?

  • BluePhaze

    Oh my god.Those codes are above my knowledge.

    I've got an idea.

    Instead of using arrays,I will create "areas" of many objects predefined and then randomly bring them to screen so that it will look scrolling.Is this possible?

  • yeah. O.o

    I can't quite understand it.I am going to read the tutorial now.In the mean time do you understand this,By using a java decorder I got this code.

    Is this in Java?Can you understand this>?It mention arrays

    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, 30, 0, 0, 0, 18, 6, 8, 9, 11, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 6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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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18, 1, 2, 1, 2, 41, 42, 0, 0, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, 24,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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, 1, 2, 1, 2, 3, 4, 1, 2, 8, 9, 10, 11, 1, 2, 1, 2, 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 };

        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, 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, 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, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 98, 99, 0,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0, 0, 23, 26, 26, 26, 26, 27, 27, 27, 27, 21, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, 24, 27, 27, 27, 27 };

        } else if (paramInt2 == 12) {

          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, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18, 1, 2, 1, 2, 1, 2, 6, 29, 29, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18, 1, 2, 1, 2, 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, 18, 1, 2, 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, 0, 0, 18, 1, 2, 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, 0, 0, 18, 1, 2, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, 26, 26, 26, 26, 26, 26, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18, 29, 30, 0, 0, 0, 0, 0, 0, 0, 0, 26, 24, 27, 27, 27, 27, 27, 27, 21, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 95, 22, 0, 78, 0, 0, 79, 0, 19, 97, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2, 1, 5, 1, 2, 6, 25, 0, 0, 31, 32, 0, 0, 18, 6, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 31, 32, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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;

    }

  • 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.

    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 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, 30, 0, 0, 0, 18, 6, 8, 9, 11, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 6, 25, 0, 0, 72, 76, 77, 75, 0, 0, 0, 0, 0, 0, 0, 0, 18, 6, 1, 2, 1, 2, 8, 9, 11, 1, 2, 1, 2, 6, 25, 0, 0, 0, 0, 78, 79, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 6, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18, 6, 8, 9, 11, 1, 2, 1, 2, 6, 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, 29, 30, 29, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 65, 26, 26, 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, 27, 27, 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, 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, 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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, 51, 52, 53, 53, 54, 55, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, 26, 26, 26, 26, 0, 56, 57, 56, 57, 0, 26, 26, 26, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, 24, 27, 27, 27, 27, 66, 58, 59, 58, 59, 64, 27, 27, 27, 21, 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,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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, 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, 46, 0, 46, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 46, 0, 46, 0, 0, 26, 26, 26, 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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 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, 1, 2, 1, 2, 3, 4, 1, 2, 8, 9, 10, 11, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 29, 30, 29, 30, 33, 34, 6, 1, 2, 3, 4, 1, 2, 1, 2, 29, 30, 29, 30, 30, 1, 2, 1, 2, 33, 34, 29, 30, 29, 30, 0, 0, 0, 0, 31, 32, 12, 13, 12, 13, 1, 2, 1, 2, 1, 4, 0, 0, 0, 12, 13, 1, 2, 6, 31, 32, 0, 0, 0, 0, 0, 0, 0, 0, 40, 32, 13, 12, 13, 8, 9, 2, 1, 2, 1, 2, 0, 0, 0, 14, 8, 9, 10, 5, 31, 37, 0, 0, 0, 0, 0, 0, 0, 0, 39, 32, 12, 13, 12, 13, 6, 1, 2, 1, 2, 6, 0, 0, 0, 1, 2, 3, 4, 6, 31, 38, 0, 0, 0, 0, 0, 0, 0, 0, 31, 32, 12, 13, 12, 13, 12, 13, 1, 2, 1, 2, 0, 0, 0, 6, 1, 2, 3, 4, 6, 25, 0, 0, 0, 0, 0, 0, 0, 0, 18, 1, 2, 12, 13, 12, 13, 1, 2, 1, 2, 25, 0, 0, 0, 95, 96, 96, 96, 96, 97, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18, 1, 2, 1, 2, 1, 2, 1, 2, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 26, 26, 26, 26, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64, 23, 24, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 21, 20, 66, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 65, 24, 22, 95, 96, 96, 53, 96, 96, 53, 96, 96, 97, 19, 21, 67, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 22, 6, 31, 32, 0, 0, 58, 59, 0, 0, 31, 32, 6, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18, 6, 31, 32, 0, 0, 60, 61, 0, 0, 31, 32, 6, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18, 29, 30, 29, 30, 29, 30, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 0, 0, 0, 0, 0, 0, 0, 23, 24, 27, 27, 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, 18, 22, 12, 13, 19, 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, 18, 29, 30, 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, 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,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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, 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, 2, 1, 5, 1, 2, 6, 25, 0, 0, 31, 32, 0, 0, 18, 6, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 29, 30, 29, 30, 29, 30, 29, 30, 29, 30, 25, 0, 0, 0, 31, 32, 0, 0, 0, 18, 29, 30, 29, 30, 29, 30, 29, 30, 29, 30, 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, 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, 35, 36, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 31, 32, 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, 33, 34, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 95, 96, 97, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 95, 96, 97, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 95, 96, 97, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 95, 96, 97, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 56, 57, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 56, 57, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 58, 59, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 58, 59, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 60, 61, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 26, 26, 26, 62, 63, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 62, 63, 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 };

        }

        paramInt2 = new int[] { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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;

    }

  • 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??

    2shared.com/file/obcVkQ2H/Font.html

  • LittleStain,sorry for the late reply.

    The capx file you provided is saved on r158.2 I am using r158.Can you please give me a 158 file? Pleaseeeee

  • LittleStain

    Tile?I prefer the tile map.

    How will I do it?Can you give me an example of that kind of tilemap thing.

  • Danialgoodwin

    2shared.com/file/amtuMbWy/Harry_Potter-3.html

    Ok.Here is the .jar file.You can extract it using winrar or something.

    Then go to images,background and open,ground unit board.

    Seeing this,the images has to be made to sprites and in certain patterns.That's what is causing trouble

  • danialgoodwin

    whilst it may seem easy,look at the video file I provided.See how its different from the Template in all ways.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • danialgoodwin

    Thanks.I'll see to it.

  • I have seen many tutorials and threads on this site.But I don't understand anything.Some were talking about "Arrays" and others "plugins,timelines".

    So I want my own thread.

    2shared.com/video/AY62TOOk/20130124_143555_1.html

    Look at the video.Sorry for the glitchy movements.Actually I'm using a java emulator.That's a .jar file.

    So everytime I restart the level,the level is randomly generated(Not like scattered waste.It is obeying certain rules,the level is generated in a certain pattern.

    Someone said that arrays can be helpful here.But what is an array?Can you show an example .capx of THESE kind of games?