-
Notifications
You must be signed in to change notification settings - Fork 2
Creating Powerups
Power-ups are objects that help the player throughout the game by giving them temporary help.
![](https://private-user-images.githubusercontent.com/73200930/293528746-fcebb10d-fb01-4e4e-b32c-f1439376f8bb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAwNzIwMTksIm5iZiI6MTcyMDA3MTcxOSwicGF0aCI6Ii83MzIwMDkzMC8yOTM1Mjg3NDYtZmNlYmIxMGQtZmIwMS00ZTRlLWIzMmMtZjE0MzkzNzZmOGJiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA0VDA1NDE1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMyMWFhZjRmNDk5OGMzOTA4NDcyOWUyODYwZGI2ZGRhNzYzYzE4MzRiNjQzZDdlMzY2ZmFiNWJhNmU5NjY2ZWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.nXvxXu8cCC7YuBDMgVMttr1ygQDoQvTXJMywSvun_Gw)
You can add a powerup by going to the 3D viewport's menu → Shatter → Create powerup. You can also use the keyboard shortcut Shift + Alt + C.
![](https://private-user-images.githubusercontent.com/73200930/271868452-77ab92a8-f72a-4595-87af-3099046e5de2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAwNzIwMTksIm5iZiI6MTcyMDA3MTcxOSwicGF0aCI6Ii83MzIwMDkzMC8yNzE4Njg0NTItNzdhYjkyYTgtZjcyYS00NTk1LTg3YWYtMzA5OTA0NmU1ZGUyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA0VDA1NDE1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM1YWI3MTY4ZDg1NmJjOWYyNzI1NGViODBiZmFiMTk1Y2Y4YjdjOTcyN2E2NGJlNjU3YzUwYTNkMWE0NTc1NzAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.EzM_sgKpi7hxX0nMAkfWfd5u358eJq4rID8shO6sfwM)
This will select which power-up this one will appear as. Some of the options require explaination:
These are power-ups that appear normally in Smash Hit.
- Ball Frenzy: Also called "infinite balls"
- Slow Motion: Also called "time slow"
- Nitro Balls: Also called "explosive balls"
These power-ups were added to Blender Tools in order to support older versions of Smash Hit and not many still work; however, there are a few that still work - notably the barrel power-up, despite a messy sprite.
- Barrel: It still works and creates a large explosion which breaks the surrounding glass. This will show as a ball sprite with a white-to-transparent gradient, but you can fix this.
- Multi-ball: Does not work anymore. Old power up that would enable five-ball multiball
- Freebie: Does not work anymore. Old power up found in binary strings but no known usage
- Anti-gravity: Does not work anymore. Old power up that probably would have reversed gravity
- Shield: Does not work anymore. Old power up that probably would have protected the player
- Homing: Does not work anymore. Old power up that probably would have homed to obstacles
- Life: Does not work anymore. Old power up that gave the player a life
- Balls: Does not work anymore. Old power up that gave the player ten balls
The difficulty property allows setting the difficulty range for which the powerup will be visible when using mgSetDifficulty
.
Copyright © 2020 — 2023 Blender Tools Documentation Contributours, Copyright © 2023 Shatter Documentation Contributours. Licenced under the Creative Commons Zero licence.