Endless flight game

Get help using Construct 2

Post » Mon Jan 27, 2014 3:51 pm

@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
I will not let you reach the sisters
Nature Forums
B
11
S
5
G
2
Posts: 496
Reputation: 2,306

Post » Mon Jan 27, 2014 4:00 pm

You could just update to 158.2, it's the latest stable release.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Wed Jan 29, 2014 11:53 am

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, 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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 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, 0, 0, 0, 52, 53, 53, 55, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 51, 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, 0, 0, 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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 14, 0, 112, 113, 0, 14, 1, 2, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18, 1, 2, 12, 13, 12, 13, 1, 2, 25, 0, 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, 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, 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, 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, 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, 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,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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 };
    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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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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 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, 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, 20, 0, 0, 0, 0, 0, 0, 0, 0, 23, 26, 26, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, 24, 27, 27, 21, 20, 0, 0, 0, 0, 0, 0, 23, 24, 27, 27, 21, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18, 22, 12, 13, 19, 25, 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, 18, 29, 30, 25, 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, 23, 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, 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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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, 64, 23, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 20, 66, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 65, 24, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 21, 67, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 51, 29, 30, 29, 30, 29, 30, 29, 30, 29, 30, 29, 30, 29, 30, 55, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 20, 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, 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, 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, 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, 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,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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, 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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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 will not let you reach the sisters
Nature Forums
B
11
S
5
G
2
Posts: 496
Reputation: 2,306

Post » Wed Jan 29, 2014 12:42 pm

I know nothing of Java, but those seem to be a lot of values in a row. What they are meant for I don't know, it could be the placement of tiles, but it could also be a very difficult way to order hamburgers at McDonald's.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Wed Jan 29, 2014 6:48 pm

Those are arrays. That is about all that tells you. The code below it is looping through the arrays and reading the values. Then settings the cells based on the value.
B
49
S
12
G
10
Posts: 1,833
Reputation: 14,583

Post » Thu Jan 30, 2014 8:53 am

@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?
I will not let you reach the sisters
Nature Forums
B
11
S
5
G
2
Posts: 496
Reputation: 2,306

Post » Thu Jan 30, 2014 5:04 pm

@Doc Ai I can't think of a good way (other than arrays) of defining an area of objects. Unless you take one large image, add a bunch of image points, and then when you bring it on screen pin all the other sprites to the image points... but that may hurt performance as your large image/sprite would eat up a good deal of screen real estate... unless it is set to invisible which might just work...
B
49
S
12
G
10
Posts: 1,833
Reputation: 14,583

Post » Thu Jan 30, 2014 5:21 pm

@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?
I will not let you reach the sisters
Nature Forums
B
11
S
5
G
2
Posts: 496
Reputation: 2,306

Post » Thu Jan 30, 2014 5:43 pm

Look up the tutorials/posts on auto tiling or randomly generated levels and you will get a good idea of how to do this with arrays.
B
49
S
12
G
10
Posts: 1,833
Reputation: 14,583

Post » Sat Feb 01, 2014 3:44 pm

@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)Doc Ai2014-02-01 15:45:12
I will not let you reach the sisters
Nature Forums
B
11
S
5
G
2
Posts: 496
Reputation: 2,306

PreviousNext

Return to How do I....?

Who is online

Users browsing this forum: Armench, Jackriduk, kiki4construct and 25 guests