ScratchData LogoScratchData
Back to Flasion2D's profile

Infinite Side-Scrolling

FLFlasion2D•Created May 11, 2012
Infinite Side-Scrolling
97
77
5984 views
View on Scratch

Instructions

Arrow keys to scroll

Description

August 23rd - Updated again, vastly improved FPS, border added for edge drawing errors Front page - May 15th! Thanks everybody! Feel free to use this as a base for any infinitely side scrolling game you wish! :D Changelog: + Added more terrain features(Mountains, valleys, plateus, cliffs, a few other things I can't remember right now.) Note: Terrain generation is 100% random, except when generating terrain features, in which case, it still is somewhat random. Credits: r2dav2 - Went through and changed 20 scripts to make scrolling smoother. Bugs: You can go past the currently generated terrain. Doing so does not break the generator, it just looks bad. This is caused by the generator's code, which only generates terrain if the number is anything from 1-475 or 497-500. The large gap between those two number ranges is to account for terrain features that may or may not be added. Will close said gap in 2.0.0.0. Planned features: Maybe improved textures, depending on whether or not you feel it's needed. Underground terrain(With Y scrolling!). Smoother scrolling(Maybe code in some sort of X velocity thing.) Clouds, trees, bushes, water, etc., will come last.

Project Details

Project ID2530730
CreatedMay 11, 2012
Last ModifiedJuly 11, 2015
SharedAugust 21, 2014
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root