This site requires JavaScript, please enable it in your browser!
Greenfoot back
Xmin_Terminator
Xmin_Terminator wrote ...

2017/4/23

I NEED IMMEDIATE HELP

4
5
6
7
8
9
10
Xmin_Terminator Xmin_Terminator

2017/5/1

#
Help, in the greenfoot terminal window, I am getting this Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space all in red
danpost danpost

2017/5/1

#
Line 11 in the BACKGROUND1 class, 'countingCycles' code given should be:
// either
if (noMove == true)
// or
if (noMove)
As far as the OutOfMemoryErrors you are getting, you will have to test by commenting out bits and pieces of your code to determine what is causing the problem. Start in your BACKGROUND1 class.
Xmin_Terminator Xmin_Terminator

2017/5/1

#
what does the error exactly mean?
danpost danpost

2017/5/1

#
Xmin_Terminator wrote...
what does the error exactly mean?
It means that you used up all the available memory that was allocated to the running of your scenario. This could happen because you have lots of actors in the world or many actors with large images; or a combination of other things.
Xmin_Terminator Xmin_Terminator

2017/5/1

#
Ok so I may have a problem, but I closed greenfoot and re-opened it and now it is fine, which is what normally works for me. About changing line 11, when I but == it doesn't stop the times, but when it was just = it did stop the timer, so I changed it back.
Super_Hippo Super_Hippo

2017/5/1

#
Then the problem could be that you never change 'noMove' to true.
Xmin_Terminator Xmin_Terminator

2017/5/1

#
Using a rough estimate, I have about 1150 actors
danpost danpost

2017/5/1

#
Xmin_Terminator wrote...
Using a rough estimate, I have about 1150 actors
The question is --- do you really need that many in the world?
Xmin_Terminator Xmin_Terminator

2017/5/1

#
Yes
danpost danpost

2017/5/1

#
Xmin_Terminator wrote...
Yes
What kind of actors make up the majority of them? How many Wall objects do you have in the world, for instance?
Xmin_Terminator Xmin_Terminator

2017/5/1

#
I have 183 walls - The outline of the world 473 maze - Makes up the maze 456 points - Points in every empty space
danpost danpost

2017/5/1

#
Okay, you could work on cutting down the number of actors in the world by doing things such as: * using only 4 actors for the world outline (this will require some image manipulation/building) * using an array in your World subclass instead of using Point actors * reducing the number of maze object by combining them similar to how the outline would be combined You may not be able to do ALL of these; but we will see what we can do. We could work on each one individually, starting with the outline. Give the dimensions of the image of the class used for the outline of the world plus the code that creates and adds them into the world.
Xmin_Terminator Xmin_Terminator

2017/5/1

#
I am unsure how to do this kind of stuff
Xmin_Terminator Xmin_Terminator

2017/5/1

#
Oh sorry didn't understand before the image is originally 50 pixels, but I halved it to 25
Xmin_Terminator Xmin_Terminator

2017/5/1

#
/**
     * Adds outline of the maze to the maze.
     */
    private void outlineOfMaze()
    {
        Wall wall = new Wall();
        Wall wall2 = new Wall();
        Wall wall3 = new Wall();
        Wall wall4 = new Wall();
        Wall wall5 = new Wall();
        Wall wall6 = new Wall();
        Wall wall7 = new Wall();
        Wall wall8 = new Wall();
        Wall wall9 = new Wall();
        Wall wall10 = new Wall();
        Wall wall11 = new Wall();
        Wall wall12 = new Wall();
        Wall wall13 = new Wall();
        Wall wall14 = new Wall();
        Wall wall15 = new Wall();
        Wall wall16 = new Wall();
        Wall wall17 = new Wall();
        Wall wall18 = new Wall();
        Wall wall19 = new Wall();
        Wall wall20 = new Wall();
        Wall wall21 = new Wall();
        Wall wall22 = new Wall();
        Wall wall23 = new Wall();
        Wall wall24 = new Wall();
        Wall wall25 = new Wall();
        Wall wall26 = new Wall();
        Wall wall27 = new Wall();
        Wall wall28 = new Wall();
        Wall wall29 = new Wall();
        Wall wall30 = new Wall();
        Wall wall31 = new Wall();
        Wall wall32 = new Wall();
        Wall wall33 = new Wall();
        Wall wall34 = new Wall();
        Wall wall35 = new Wall();
        Wall wall36 = new Wall();
        Wall wall37 = new Wall();
        Wall wall38 = new Wall();
        Wall wall39 = new Wall();
        Wall wall40 = new Wall();
        Wall wall41 = new Wall();
        Wall wall42 = new Wall();
        Wall wall43 = new Wall();
        Wall wall44 = new Wall();
        Wall wall45 = new Wall();
        Wall wall46 = new Wall();
        Wall wall47 = new Wall();
        Wall wall48 = new Wall();
        Wall wall49 = new Wall();
        Wall wall50 = new Wall();
        Wall wall51 = new Wall();
        Wall wall52 = new Wall();
        Wall wall53 = new Wall();
        Wall wall54 = new Wall();
        Wall wall55 = new Wall();
        Wall wall56 = new Wall();
        Wall wall57 = new Wall();
        Wall wall58 = new Wall();
        Wall wall59 = new Wall();
        Wall wall60 = new Wall();
        Wall wall61 = new Wall();
        Wall wall62 = new Wall();
        Wall wall63 = new Wall();
        Wall wall64 = new Wall();
        Wall wall65 = new Wall();
        Wall wall66 = new Wall();
        Wall wall67 = new Wall();
        Wall wall68 = new Wall();
        Wall wall69 = new Wall();
        Wall wall70 = new Wall();
        Wall wall71 = new Wall();
        Wall wall72 = new Wall();
        Wall wall73 = new Wall();
        Wall wall74 = new Wall();
        Wall wall75 = new Wall();
        Wall wall76 = new Wall();
        Wall wall77 = new Wall();
        Wall wall78 = new Wall();
        Wall wall79 = new Wall();
        Wall wall80 = new Wall();
        Wall wall81 = new Wall();
        Wall wall82 = new Wall();
        Wall wall83 = new Wall();
        Wall wall84 = new Wall();
        Wall wall85 = new Wall();
        Wall wall86 = new Wall();
        Wall wall87 = new Wall();
        Wall wall88 = new Wall();
        Wall wall89 = new Wall();
        Wall wall90 = new Wall();
        Wall wall91 = new Wall();
        Wall wall92 = new Wall();
        Wall wall93 = new Wall();
        Wall wall94 = new Wall();
        Wall wall95 = new Wall();
        Wall wall96 = new Wall();
        Wall wall97 = new Wall();
        Wall wall98 = new Wall();
        Wall wall99 = new Wall();
        Wall wall100 = new Wall();
        Wall wall101 = new Wall();
        Wall wall102 = new Wall();
        Wall wall103 = new Wall();
        Wall wall104 = new Wall();
        Wall wall105 = new Wall();
        Wall wall106 = new Wall();
        Wall wall107 = new Wall();
        Wall wall108 = new Wall();
        Wall wall109 = new Wall();
        Wall wall110 = new Wall();
        Wall wall111 = new Wall();
        Wall wall112 = new Wall();
        Wall wall113 = new Wall();
        Wall wall114 = new Wall();
        Wall wall115 = new Wall();
        Wall wall116 = new Wall();
        Wall wall117 = new Wall();
        Wall wall118 = new Wall();
        Wall wall119 = new Wall();
        Wall wall120 = new Wall();
        Wall wall121 = new Wall();
        Wall wall122 = new Wall();
        Wall wall123 = new Wall();
        Wall wall124 = new Wall();
        Wall wall125 = new Wall();
        Wall wall126 = new Wall();
        Wall wall127 = new Wall();
        Wall wall128 = new Wall();
        Wall wall129 = new Wall();
        Wall wall130 = new Wall();
        Wall wall131 = new Wall();
        Wall wall132 = new Wall();
        Wall wall133 = new Wall();
        Wall wall134 = new Wall();
        Wall wall135 = new Wall();
        Wall wall136 = new Wall();
        Wall wall137 = new Wall();
        Wall wall138 = new Wall();
        Wall wall139 = new Wall();
        Wall wall140 = new Wall();
        Wall wall141 = new Wall();
        Wall wall142 = new Wall();
        Wall wall143 = new Wall();
        Wall wall144 = new Wall();
        Wall wall145 = new Wall();
        Wall wall146 = new Wall();
        Wall wall147 = new Wall();
        Wall wall148 = new Wall();
        Wall wall149 = new Wall();
        Wall wall150 = new Wall();
        Wall wall151 = new Wall();
        Wall wall152 = new Wall();
        Wall wall153 = new Wall();
        Wall wall154 = new Wall();
        Wall wall155 = new Wall();
        Wall wall156 = new Wall();
        Wall wall157 = new Wall();
        Wall wall158 = new Wall();
        Wall wall159 = new Wall();
        Wall wall160 = new Wall();
        Wall wall161 = new Wall();
        Wall wall162 = new Wall();
        Wall wall163 = new Wall();
        Wall wall164 = new Wall();
        Wall wall165 = new Wall();
        Wall wall166 = new Wall();
        Wall wall167 = new Wall();
        Wall wall168 = new Wall();
        Wall wall169 = new Wall();
        Wall wall170 = new Wall();
        Wall wall171 = new Wall();
        Wall wall172 = new Wall();
        Wall wall173 = new Wall();
        Wall wall174 = new Wall();
        Wall wall175 = new Wall();
        Wall wall176 = new Wall();
        Wall wall177 = new Wall();
        Wall wall178 = new Wall();
        Wall wall179 = new Wall();
        Wall wall180 = new Wall();
        Wall wall181 = new Wall();
        Wall wall182 = new Wall();
        Wall wall183 = new Wall();
        addObject(wall,12+(0*25),12+(0*25));
        addObject(wall2,12+(1*25),12+(0*25));
        addObject(wall3,12+(2*25),12+(0*25));
        addObject(wall4,12+(3*25),12+(0*25));
        addObject(wall5,12+(4*25),12+(0*25));
        addObject(wall6,12+(5*25),12+(0*25));
        addObject(wall7,12+(6*25),12+(0*25));
        addObject(wall8,12+(7*25),12+(0*25));
        addObject(wall9,12+(8*25),12+(0*25));
        addObject(wall10,12+(9*25),12+(0*25));
        addObject(wall11,12+(10*25),12+(0*25));
        addObject(wall12,12+(11*25),12+(0*25));
        addObject(wall13,12+(12*25),12+(0*25));
        addObject(wall14,12+(13*25),12+(0*25));
        addObject(wall15,12+(14*25),12+(0*25));
        addObject(wall16,12+(15*25),12+(0*25));
        addObject(wall17,12+(16*25),12+(0*25));
        addObject(wall18,12+(17*25),12+(0*25));
        addObject(wall19,12+(18*25),12+(0*25));
        addObject(wall20,12+(19*25),12+(0*25));
        addObject(wall21,12+(20*25),12+(0*25));
        addObject(wall22,12+(21*25),12+(0*25));
        addObject(wall23,12+(22*25),12+(0*25));
        addObject(wall24,12+(23*25),12+(0*25));
        addObject(wall25,12+(24*25),12+(0*25));
        addObject(wall26,12+(25*25),12+(0*25));
        addObject(wall27,12+(26*25),12+(0*25));
        addObject(wall28,12+(27*25),12+(0*25));
        addObject(wall29,12+(28*25),12+(0*25));
        addObject(wall30,12+(29*25),12+(0*25));
        addObject(wall31,12+(30*25),12+(0*25));
        addObject(wall32,12+(31*25),12+(0*25));
        addObject(wall33,12+(32*25),12+(0*25));
        addObject(wall34,12+(33*25),12+(0*25));
        addObject(wall35,12+(34*25),12+(0*25));
        addObject(wall36,12+(35*25),12+(0*25));
        addObject(wall37,12+(36*25),12+(0*25));
        addObject(wall38,12+(37*25),12+(0*25));
        addObject(wall39,12+(38*25),12+(0*25));
        addObject(wall40,12+(39*25),12+(0*25));
        addObject(wall41,12+(40*25),12+(0*25));
        addObject(wall42,12+(41*25),12+(0*25));
        addObject(wall43,12+(42*25),12+(0*25));
        addObject(wall44,12+(43*25),12+(0*25));
        addObject(wall45,12+(44*25),12+(0*25));
        addObject(wall46,12+(45*25),12+(0*25));
        addObject(wall47,12+(46*25),12+(0*25));
        addObject(wall48,12+(47*25),12+(0*25));
        addObject(wall49,12+(48*25),12+(0*25));
        addObject(wall50,12+(49*25),12+(0*25));
        addObject(wall51,12+(50*25),12+(0*25));
        addObject(wall52,12+(51*25),12+(0*25));
        addObject(wall53,12+(52*25),12+(0*25));
        addObject(wall54,12+(53*25),12+(0*25));
        addObject(wall55,12+(54*25),12+(0*25));
        addObject(wall56,12+(55*25),12+(0*25));
        addObject(wall57,12+(55*25),12+(1*25));
        addObject(wall58,12+(55*25),12+(2*25));
        addObject(wall59,12+(55*25),12+(3*25));
        addObject(wall60,12+(55*25),12+(4*25));
        addObject(wall61,12+(55*25),12+(5*25));
        addObject(wall62,12+(55*25),12+(6*25));
        addObject(wall63,12+(55*25),12+(7*25));
        addObject(wall64,12+(55*25),12+(8*25));
        addObject(wall65,12+(55*25),12+(9*25));
        addObject(wall66,12+(55*25),12+(10*25));
        addObject(wall67,12+(55*25),12+(11*25));
        addObject(wall68,12+(55*25),12+(12*25));
        addObject(wall69,12+(55*25),12+(13*25));
        addObject(wall70,12+(55*25),12+(14*25));
        addObject(wall71,12+(55*25),12+(15*25));
        addObject(wall72,12+(55*25),12+(16*25));
        addObject(wall73,12+(55*25),12+(17*25));
        addObject(wall74,12+(55*25),12+(18*25));
        addObject(wall75,12+(55*25),12+(19*25));
        addObject(wall76,12+(55*25),12+(20*25));
        addObject(wall77,12+(55*25),12+(21*25));
        addObject(wall78,12+(55*25),12+(22*25));
        addObject(wall79,12+(55*25),12+(22*25));
        addObject(wall80,12+(55*25),12+(23*25));
        addObject(wall81,12+(55*25),12+(24*25));
        addObject(wall82,12+(55*25),12+(25*25));
        addObject(wall83,12+(55*25),12+(26*25));
        addObject(wall84,12+(55*25),12+(27*25));
        addObject(wall85,12+(55*25),12+(28*25));
        addObject(wall86,12+(55*25),12+(29*25));
        addObject(wall87,12+(55*25),12+(30*25));
        addObject(wall88,12+(55*25),12+(31*25));
        addObject(wall89,12+(55*25),12+(31*25));
        addObject(wall90,12+(55*25),12+(31*25));
        addObject(wall81,12+(55*25),12+(24*25));
        addObject(wall82,12+(55*25),12+(25*25));
        addObject(wall83,12+(55*25),12+(26*25));
        addObject(wall84,12+(55*25),12+(27*25));
        addObject(wall85,12+(55*25),12+(28*25));
        addObject(wall86,12+(55*25),12+(29*25));
        addObject(wall87,12+(55*25),12+(30*25));
        addObject(wall88,12+(55*25),12+(31*25));
        addObject(wall89,12+(55*25),12+(31*25));
        addObject(wall90,12+(55*25),12+(31*25));
        addObject(wall81,12+(55*25),12+(24*25));
        addObject(wall82,12+(55*25),12+(25*25));
        addObject(wall83,12+(55*25),12+(26*25));
        addObject(wall84,12+(55*25),12+(27*25));
        addObject(wall85,12+(55*25),12+(28*25));
        addObject(wall86,12+(55*25),12+(29*25));
        addObject(wall87,12+(55*25),12+(30*25));
        addObject(wall88,12+(55*25),12+(31*25));
        addObject(wall89,12+(55*25),12+(31*25));
        addObject(wall90,12+(55*25),12+(31*25));
        addObject(wall91,12+(55*25),12+(24*25));
        addObject(wall92,12+(55*25),12+(25*25));
        addObject(wall93,12+(55*25),12+(26*25));
        addObject(wall94,12+(55*25),12+(27*25));
        addObject(wall95,12+(55*25),12+(28*25));
        addObject(wall96,12+(55*25),12+(29*25));
        addObject(wall97,12+(55*25),12+(30*25));
        addObject(wall98,12+(55*25),12+(31*25));
        addObject(wall99,12+(54*25),12+(31*25));
        addObject(wall100,12+(53*25),12+(31*25));
        addObject(wall101,12+(52*25),12+(31*25));
        addObject(wall102,12+(51*25),12+(31*25));
        addObject(wall103,12+(50*25),12+(31*25));
        addObject(wall104,12+(49*25),12+(31*25));
        addObject(wall105,12+(48*25),12+(31*25));
        addObject(wall106,12+(47*25),12+(31*25));
        addObject(wall107,12+(46*25),12+(31*25));
        addObject(wall108,12+(45*25),12+(31*25));
        addObject(wall109,12+(44*25),12+(31*25));
        addObject(wall110,12+(43*25),12+(31*25));
        addObject(wall111,12+(42*25),12+(31*25));
        addObject(wall112,12+(41*25),12+(31*25));
        addObject(wall113,12+(40*25),12+(31*25));
        addObject(wall114,12+(39*25),12+(31*25));
        addObject(wall115,12+(38*25),12+(31*25));
        addObject(wall116,12+(37*25),12+(31*25));
        addObject(wall117,12+(36*25),12+(31*25));
        addObject(wall118,12+(35*25),12+(31*25));
        addObject(wall119,12+(34*25),12+(31*25));
        addObject(wall120,12+(33*25),12+(31*25));
        addObject(wall121,12+(32*25),12+(31*25));
        addObject(wall122,12+(31*25),12+(31*25));
        addObject(wall123,12+(30*25),12+(31*25));
        addObject(wall124,12+(29*25),12+(31*25));
        addObject(wall125,12+(28*25),12+(31*25));
        addObject(wall126,12+(27*25),12+(31*25));
        addObject(wall127,12+(26*25),12+(31*25));
        addObject(wall128,12+(25*25),12+(31*25));
        addObject(wall129,12+(24*25),12+(31*25));
        addObject(wall130,12+(23*25),12+(31*25));
        addObject(wall131,12+(22*25),12+(31*25));
        addObject(wall132,12+(21*25),12+(31*25));
        addObject(wall133,12+(20*25),12+(31*25));
        addObject(wall134,12+(19*25),12+(31*25));
        addObject(wall135,12+(18*25),12+(31*25));
        addObject(wall136,12+(17*25),12+(31*25));
        addObject(wall137,12+(16*25),12+(31*25));
        addObject(wall138,12+(15*25),12+(31*25));
        addObject(wall139,12+(14*25),12+(31*25));
        addObject(wall140,12+(13*25),12+(31*25));
        addObject(wall141,12+(12*25),12+(31*25));
        addObject(wall142,12+(11*25),12+(31*25));
        addObject(wall143,12+(10*25),12+(31*25));
        addObject(wall144,12+(9*25),12+(31*25));
        addObject(wall145,12+(8*25),12+(31*25));
        addObject(wall146,12+(7*25),12+(31*25));
        addObject(wall147,12+(6*25),12+(31*25));
        addObject(wall148,12+(5*25),12+(31*25));
        addObject(wall149,12+(4*25),12+(31*25));
        addObject(wall150,12+(3*25),12+(31*25));
        addObject(wall151,12+(2*25),12+(31*25));
        addObject(wall152,12+(1*25),12+(31*25));
        addObject(wall153,12+(0*25),12+(31*25));
        addObject(wall154,12+(0*25),12+(30*25));
        addObject(wall155,12+(0*25),12+(29*25));
        addObject(wall156,12+(0*25),12+(28*25));
        addObject(wall157,12+(0*25),12+(27*25));
        addObject(wall158,12+(0*25),12+(26*25));
        addObject(wall159,12+(0*25),12+(25*25));
        addObject(wall160,12+(0*25),12+(24*25));
        addObject(wall161,12+(0*25),12+(23*25));
        addObject(wall162,12+(0*25),12+(22*25));
        addObject(wall163,12+(0*25),12+(21*25));
        addObject(wall164,12+(0*25),12+(20*25));
        addObject(wall165,12+(0*25),12+(19*25));
        addObject(wall166,12+(0*25),12+(18*25));
        addObject(wall167,12+(0*25),12+(17*25));
        addObject(wall168,12+(0*25),12+(16*25));
        addObject(wall169,12+(0*25),12+(15*25));
        addObject(wall170,12+(0*25),12+(14*25));
        addObject(wall171,12+(0*25),12+(13*25));
        addObject(wall172,12+(0*25),12+(12*25));
        addObject(wall173,12+(0*25),12+(11*25));
        addObject(wall174,12+(0*25),12+(10*25));
        addObject(wall175,12+(0*25),12+(9*25));
        addObject(wall176,12+(0*25),12+(8*25));
        addObject(wall177,12+(0*25),12+(7*25));
        addObject(wall178,12+(0*25),12+(6*25));
        addObject(wall179,12+(0*25),12+(5*25));
        addObject(wall180,12+(0*25),12+(4*25));
        addObject(wall181,12+(0*25),12+(3*25));
        addObject(wall182,12+(0*25),12+(2*25));
        addObject(wall183,12+(0*25),12+(1*25));
    }
that is it, I use a 12+(0*25),12+(0*25), so the world is constructed where all the objects at aligned, as each actor is 25 pixels or smaller. this just made it easier to place them.
There are more replies on the next page.
4
5
6
7
8
9
10