ScratchData LogoScratchData
Back to elitheultimate's profile

Basic Tile-based scrolling engine

ELelitheultimate•Created December 12, 2017
Basic Tile-based scrolling engine
1
1
31 views
View on Scratch

Instructions

Use arrow keys to scroll, and space to place tiles. Tiles can only be placed at positions above 0. All tiles are 36x36 squares, and the engine is built accordingly. Making a costume larger than 36x36 will cause it to overlap with other objects. ~~~YOU MAY USE THE SCRIPTS INSIDE TO MAKE A GAME.~~~ A game I made using this technique: https://scratch.mit.edu/projects/193930473/ Version with collision and advanced features https://scratch.mit.edu/projects/111635086/

Description

As opposed to my previous scrolling engine, which used entirely dynamic objects for literally everything (which is the main cause of its poor performance), this engine uses purely static objects, where positions of the tiles are stored in what point of the list they are in. This allows for specific points to be checked without having to read through every single object in the game, which greatly increases performance.

Project Details

Project ID192772744
CreatedDecember 12, 2017
Last ModifiedMarch 26, 2022
SharedJuly 6, 2018
Visibilityvisible
CommentsAllowed