background preloader

Game Theory

Facebook Twitter

World of Level Design. Game Level Design and Game Environments. Flash Game Development Tutorials - As Gamer. Wow blue exclamation mark. The Spriters Resource | Main Page. Tile based games. Before we start to scroll, we must make one thing very clear. Flash is slow. Flash is extremely slow. Scrolling means moving hundreds of tiles on screen and it should happen 20-30 times in second. Too many scrolling tiles means Flash cant draw them in time and slows down. Your game will crawl like a sleeping snail.

"What? " you might wonder, "no scrolling? You can make scrolling tiles, but you should be careful not to make scrolling area too big and not to scroll too many tiles. Lets look what we will be making: In the left picture is non-scrolling game. So, theory is easy: when hero is suppose to move, move all the tiles in the opposite direction. Time for example. Easiest way to scroll tiles, is to place all the tiles on screen, but to show only small portion of them, then we simply move them all around. Our last hope is to place only visible tiles on stage and when they go off, we move the same tiles to the opposite side, rename them and reuse same movie clips. Game.clip. Top.