MovingBlocks
Create some bouncy blocks
Terasology has a many types of blocks that a player can interact with. An interesting idea is to have bouncy blocks or springs, where if an entity steps on it, they are launched into the air. The direction can be straight up (like a spring), or at a particular direction (like a jump-pad).
Your task is to implement the ability to have bouncy blocks in the FunnyBlocks module. It should contain a component for marking a block as bouncy, and a system for handling entity-bouncy block interactions.
Note: This requires to work with the game from source as well as with an additional module. You should work on one of the beginner tasks to get set up properly if you are not fully familiar with coding, GitHub, etc.
Definition of 'Done'
- You submit a Pull Request (PR) for the FunnyBlocks module containing the component and system as described above.
Where to start?
- The DamagingBlocks module is a good example on how block and entity interactions work.
- The magic dome system in the LightAndShadow module applies an impulse to the player in a system (and plays and additional sound cue)
- The wiki pages on the Entity System and Events and Systems
Task tags
Students who completed this task
Cheung Kuen Yuet, Eric Banisadr