• Solarus
    • Overview
    • Download
    • Changelog
  • Games
  • Development
    • Create with Solarus
    • Resource packs
    • Tutorials
    • Quest Maker Documentation
    • Contribute to Solarus
    • How to contribute
    • Donate
    • Source code
  • News
  • Community
    • Forum
    • Discord Chat
En
English Français
  1. Home
  2. Development
  3. Tutorials
  4. Solarus video tutorial
  5. Blocks
  • How to create a quest
  • Zelda Resource Pack
  • The Map Editor
  • Grounds
  • The Quest tree
  • The Quest properties
  • Getting started with Lua scripting
  • Treasures
  • How to save the game
  • Teletransporters
  • How to scroll between maps of different sizes
  • Stairs and holes
  • Organize your code in separate files with require()
  • How to create a tileset
  • Map scripts
  • How to create a sprite
  • How to display an image
  • Dialogs with a Non-Playing Character
  • Generalized NPCs
  • Movements
  • Jumpers
  • Platforms
  • Switch that triggers a mechanism
  • Dynamic tiles
  • Timers
  • Enemies
  • Blocks
  • Invisible walls
  • Separators
  • Sensors
  • Destructible objects
  • Doors
  • The HUD
  • Rupees
  • Shops
  • Let's swim
  • How to make a bridge

Blocks

Summary

  • Working with block entities
    • Pushing only once
    • Unlimited pushes
    • Also allow pulling
    • Restricting movement direction
    • Pushing a block onto a switch only activated by block
  • Using blocks in the map script
    • Making chest appear when switch activated and hide again when deactivated
    • Locking the switch after chest is opened

Resources

  • Video made with Solarus 1.5.
  • Download Solarus
  • Solarus documentation
  • How to program in Lua
  • Legend of Zelda: A Link to the Past resource pack
  • Useful resources to reproduce this chapter
Previous
26. Enemies
Next
28. Invisible walls

Legal Information

© 2006-2020 Christopho, Solarus
Software is GPL. Resources are CC-BY-SA.

  • Legal Terms
GPL v3 logo
CC-BY-SA 4.0 logo

About

Solarus is made by a team of people on their free time.

  • Frequently Asked Questions
  • Contributors
  • Nonprofit Organization
  • Contact

Contribute

Solarus is free: your help or support is always appreciated.

  • How to contribute
  • Donate
  • Source code
  • Goodies

Links

Useful links for people who want to keep being informed about the project.

Sponsors

We gracefully thank our sponsors for their help.

GPL v3 logo

Made with Kokori, our own free and open-source website engine.