ITomi wrote:Now I making the levels of the game. Two levels are done. But there is a little problem again: when I added the second level, the first wall-line of the first level are moved to the left with 15, and I don't know, why? Something wrong with my for statements in the Global Code "pstart"? I attached the file: it is already playable (you have to collect the dots and return to the teleport to jump to the next level), but at the first level the labirinth is holed above.
Strange behaviour. It seems that it happens only when reopening the Game Mode. The first time looks fine. It looks like the first 15 ceros of the map being ignored at char palya1[20][30] ={ {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 when you made some create actor.
If i put a wall in that space, (for example {0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1) you can view that it only removes the leading zeroes. Can you think what could be happening? I'm still reading the code.
BTW, when pressing down a direction key, the zozohami changes the animation when is not possible to change direction. If this is not desired, you can move ChangeAnimation inside the conditions where you change the direction. :V