From Test-Scratch-Wiki

Translate: - English 
Document.png Please expand this article or section. You can help by adding more information if you are an editor. More information might be found in a section of the talk page.


A platforming base is a project that is designed so users can easily create their own platformer games by remixing it. It usually consists of items like: sprites with the required scripts to perform movement, velocity, gravity, jumping, a level setup, and possibly more. Some platformer bases include a built-in level editor.

Usage

To use a base, simply remix the project. Many bases are easy to edit, so one can customize the characters, levels, and physics. As with all remixes, one is expected to give credit to the person whose base was used.

Example

Here is a sample script for platforming.

First, make these two variables,

(VelocityX)
(VelocityY)

Then insert this script. This can be edited to fit your project.

when green flag clicked
forever
if <key [left arrow v] pressed> then
change [VelocityX v] by (-1)
end
if <key [right arrow v] pressed> then
change [VelocityX v] by (1)
end
if <touching color [#006B54]> then
set [VelocityY v] to [1]
if <key [up arrow v] pressed> then
change [VelocityY v] by (12)
end
end
set [VelocityX v] to ((VelocityX) * (0.9))
change x by (VelocityX)
change y by (VelocityY)
change [VelocityY v] by (-1)
end

Other Reasons to Make One

Some platforming bases are used for the purpose of experimenting new physics, scripts, gameplay mechanics, or sensing.

Examples

Below are some examples of platform bases: