Scratch Wiki:Содержание/Примеры написания скриптов
Scratch Wiki — сделано скрэтчерами для скрэтчеров
На этой странице перечислены примеры программ.
- Case Sensing — How to sense and force case
- Detecting Turbo Mode — How to detect if the project is running in Turbo Mode
- Jumping — How to jump
- Making a Sprite Follow the Mouse — How to make a sprite that follows the mouse
- Making Objects Move in Scrollers — How to make objects move in scrollers
- Making Scratch Close — How to force Scratch to close itself
- Object Attraction — How to make objects have a gravitational pull on each other
- Object Repulsion — How to make objects repel each other
- Offline/Online Detection — How to detect if the project is being played online or offline
- Repeat for a Set Amount of Time — How to make something repeat for a set amount of time
- Scrolling — How to scroll
- Scrolling Background — How to create a scrolling background
- Scrolling Platformer Tutorial — How to create a scrolling platformer
- Shooting Projectiles — How to make a shooting effect, such as from a gun
- Simulating Gravity — How to simulate gravity
- The Mouse-Over Script — How to change a view based when the mouse is on something
- Turn-Based RPG — How to create a Turn-Based RPG
- Velocity — How to add a velocity effect
- Wall-Jumping — How to make sprites bounce off walls
- Wall Sensors — How to sense contact with a wall