new Scene_BHell_Shop()
Shop scene for the bullet hell minigame. Allows to buy new players and upgrade existing ones.
- Source:
Methods
activateBuyPlayersWindow()
Activates and shows the windows related to players' purchases.
- Source:
activateBuyUpgradesWindow()
Activates and shows the windows related to upgrades' purchases.
- Source:
activateSelectPlayerWindow()
Activates and shows the windows related to player selection (prior to purchasing upgrades).
- Source:
cacheSprites()
Caches all the sprites required for the preview.
- Source:
commandBuyPlayers()
Callback for the "Buy players" command.
- Source:
commandBuyUpgrades()
Callback for the "Buy upgrades" command.
- Source:
create()
Creates the menu windows.
- Source:
createBuyPlayersWindow()
Creates the players' purchase window and attaches the command handlers, and the preview and status windows.
- Source:
createBuyUpgradesWindow()
Creates the upgrades list window and attaches the command handlers and the status window.
- Source:
createCommandWindow()
Creates the command window and attaches the handlers.
- Source:
createDummyWindow()
Creates a dummy window filling the empty space left before choosing a command.
- Source:
createGoldWindow()
Creates the gold window.
- Source:
createPlayerSelectWindow()
Creates the player selection window for the "buy upgrades" command and attaches the command handlers and the preview window.
- Source:
createPreviewWindow()
Creates the preview window, which shows the selected player's behaviour.
- Source:
createStatusWindow()
Creates the status window.
- Source:
doBuyPlayer()
Performs a player purchase.
- Source:
doBuyUpgrade()
Performs an upgrade purchase.
- Source:
initialize()
Constructor. Caches all the sprites required for the preview.
- Source:
onBuyPlayersCancel()
Callback for cancel operation in the "Buy players" menu.
- Source:
onBuyPlayersOk()
Callback for player purchase in the "Buy players" menu.
- Source:
onBuyUpgradesCancel()
Callback for cancel operation in the "Buy upgrades" menu.
- Source:
onBuyUpgradesOk()
Callback for upgrade purchase in the "Buy upgrades" menu.
- Source:
onSelectPlayerCancel()
Callback for cancel operation in the player selection submenu.
- Source:
onSelectPlayerOk()
Callback for player selection in the "Buy upgrades" menu.
- Source: