Features
Kalamba SDK Wrapper has few features implemented and every game can use them instead of implementing them on Game Client side.
Preloader
Branded preloader is shown right after opening page with wrapper. It is very useful because in general loading Game Client JS files takes some time. After getting loadStart
event, preloader will fade ouy, iframe with Game Client will be fully visible and one can show game loader.
Bars
If you want to handle it on your own you can disable them by adding showBars: false
to object sent by sdk.configure
.
Top bar
Game name
Game name can be shown on top left corner on the black bar.
Clock
Current time can be shown on top right corner on the black bar.
Bottom bar
Balance
Current balance can be shown on bottom left corner on the black bar.
Bet
Current bet can be shown on bottom right corner on the black bar.
Reality Check
Wrapper can show popup with all information about current session and action buttons.
If you want to handle it on your own you can disable it by adding showRealityCheck: false
to object sent by sdk.configure
.
Error
Wrapper can show popup with requested message and action button.
If you want to handle it on your own you can disable it by adding showErrors: false
to object sent by sdk.configure
.
Free Rounds
Wrapper can show free rounds popups.
If you want to handle it on your own you can disable it by adding showFreeRounds: false
to object sent by sdk.configure
.
Offer
Popup shows offer with free rounds.
Info
Popup shows active free rounds session information.
Complete
Popup shows summary of free rounds session.