The subject of this article or section has changed dramatically and requires updating. Some information or images may not be accurate or relevant to the current version of Scratch, the Scratch website, or the article subject. (December 2019) Specifically: Script does not seem to work |
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. (May 2014) |
A platforming base or a platformer engine is a project that is designed so users can easily create their own platformer games by remixing it or backpacking using the scripts. 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. Most 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 the project being worked on.
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 change y by ((VelocityY)*(-1)) set [VelocityY v] to [0] 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) if <touching color [#006B54]> then change x by ((VelocityX)*(-1)) end 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 with new physics, scripts, gameplay mechanics, or sensing.
Examples
Below are some examples of platform bases:
- Perfect Platformer Base by RHY3756547
- Scrolling Platformer Game Template by archmage
- Platform game base by Dieselblue9
- 1s1s Platforming Base by bestgameever
- 360 Sonic engine test by MrLog (replicates the physics and level design used in the 2D part of Sonic the Hedgehog games)