You can prepare custom skin for the 'Spin the Wheel', 'Scratch Card', 'Treasure Hunt', 'Lootbox 2.0' and 'Giftbox' games directly from the Smartico Back Office by navigating to the Gamification tab and then to the Mini games skin menu
When you upload an image package, you'll now see detailed information about each file, including a preview, format, dimensions, status, size, and more. If there are any missing or incorrect files, you'll be notified immediately. To view the currently uploaded package, simply click the 'Open files' button.
In the configuration screen, you can upload the game's image package and customize the skin using the Custom CSS option.
For the 'Spin the wheel', you need to upload a set of images using the reference package from the archive.
For the 'Scratch Card,' you need to upload a set of images using the reference package from the archive.
For the 'GiftBox,' you need to upload a set of images using the reference package from the archive.
We can provide a template for Mini-games skins upon request.
Please note that any images exported from the template must be compressed before uploading them to the BO. You can use [this link] to compress your images.
For further assistance, please contact your Customer Success Manager!
Note:
For the 'Giftbox' game your JSON file should be a valid Lottie animation. You can test it with https://app.lottiefiles.com/preview or another Lottie files tester website. The animation should have the same frame count, as follows:
[0-35] -> loop;
[36] -> stop frame before opening for all boxes except the selected one;
[35, 80] -> win animation frames;
[91, 118] -> lose animation frames;
You can customize your own JSON from the default skin pack, but please ensure that you maintain the total frame count and frame animations as per our guidelines.
Important:
All images should be in the same format, and size and have the same names as in the reference package
Images should be uploaded unpacked (not as an archive)
For the "Spin the Wheel" game, pay attention to how background images for different sectors are designed. There are separators for each sector that should be placed exactly at the same angles as in the reference design, otherwise, the text of the prize will overlap the separators
You can also customize some elements using custom CSS. The most useful styles that you can use are the following.
You can use only 'Google Font' fonts.
To change the font family you need to Copy the import of the needed font family from Google Fonts and paste it in the CSS/SCSS file.
The Font family can be set globally for all texts or used only in a specific location.
/* Google fonts only, example of import query */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
/* text of the prize on sector */
.saw-view .wheel-sector-name .sector-text {
color: yellow !important;
}
/* the name of the game shown under the wheel */
.saw-info-name {
color: red !important;
}
/* style of the "?" mark opening description of the game */
.saw-info-link {
filter: invert(0);
}
/* style of the buttons in the description popup */
.saw-modal-actions > div {
background-color: white !important;
color: black !important;
border: 2px solid black !important;
}
/* color of text main text in the description popup */
.saw-modal-body-content {
color: white !important;
}
/* color and style of the links in the description popup */
.saw-modal-body-content a {
color: white !important;
text-decoration: underline;
}
/* style of the title in the description popup */
.saw-modal-content .saw-modal-title > div > div {
color: yellow !important;
text-shadow: none !important;
}
/* the default lights on the wheel’s rim removed and the shining turned off */
.wheel-light-behind, .wheel-lights {
display: none !important;
}
/* style of the sound button */
.saw-sound-button {
filter: invert(0);
}
/* style of the Play button on Scratch Card */
.button-area > div {
box-shadow: 0 0 6px 0 black !important;
color: white !important;
background: #0077FF !important;
}
/* border of the Scratch Card */
.scratch-card-content {
border: none !important;
}
For Giftbox Only
/* style of game rules text button (text under attempts) */
.giftboxes-root .prizeboard-game-rules {
}
/* styles for popup title */
.saw-modal-wrapper .saw-modal-container-v2
.saw-modal-content .saw-modal-title {
}
/* styles for popup content */
.saw-modal-wrapper .saw-modal-container-v2
.saw-modal-content .saw-modal-message {
}
/* style of game modal action button */
.saw-modal-wrapper .saw-modal-container-v2
.saw-modal-content .saw-modal-actions {
}
For the 'Treasure hunt,' you need to upload a set of images using the reference package from the archive.
Lootbox 2.0
To create a custom skin for the Lootbox 2.0, you can use the ‘Mini-games skin editor’, following the same approach that is used for mini-games. The lootbox comes with 2 different layouts - Cards and Map.
You can find the existing packages below and create a custom one. Here are the available skins for the Card layout:
Below you can find the available skins for the Map layout:
When selecting a skin for the Map layout (25 and 31 days) in the BO game template, you may need to manually adjust the positions of some prizes. The simplest way to handle this is by copying the prizes from the skin editor and pasting them directly into the game template.
We can provide a template for Lootbox 2.0 skins upon request.
Please note that any images exported from the template must be compressed before uploading them to the BO. You can use [this link] to compress your images.
For further assistance, please contact your Customer Success Manager
Please follow these guidelines when creating a Custom Lootbox Map skin:
For all skins (7, 14, 25, 31 days):
'game-bg' and 'game-bg-mobile' images should be less than 900kb
For all skins (7, 14, 25, 31 days):
'game-bg' and 'game-bg-mobile' images should be inJPEGformat
For 7 days skin:
The 'game-bg' image should be exactly 1835x1284
The 'game-bg-mobile' image should be exactly 527x1072
For 14 days skin:
The 'game-bg' image should be exactly 1835x2193
The 'game-bg-mobile' image should be exactly 527x1622
For 25 and 31 days skin:
The 'game-bg' image should be exactly 1835x3895
The 'game-bg-mobile' image should be exactly 527x3260
For the map layout, the positions of the prizes are pre-defined for 7, 14, 25, and 31 days, so if you create a Lootbox with 7, 14, 25, or 31 days you don't have to adjust the positions of the prizes on the map. If you want to introduce more or less than the pre-defined prizes you need to adjust the positions of the prizes in the CSS editor in the skin or in the game template. The maximum amount of days that can be added is 31.
Please note that you must use '!important' when adjusting CSS on the game template and skin levels.
Prize positioning for Lootbox Map
The default prize styles for the Lootbox map layout are shown below:
With the Generic skin in the Mission Lootbox, you have the flexibility to add your own images directly from the BO. Additionally, you can customize the colors of the cards. Below is a list of the customizable images:
Custom section background image for desktop
Custom section background image for mobile
Image for closed box
Image for locked box
Image for opened box
Below you can find a reference package with the images:
You can further customize certain elements by applying your own CSS. Below are some helpful styles to get you started:
/* 1. The color of the cards' main (thick) border */
.generic-layout .cards-container .mission-card {
background-color: #101010;
}
/* 2. The color of the cards' thin border that fills the space between the corner and
the main border */
.generic-layout .cards-container .mission-card .gap-filler {
border: 4px solid #101010;
}
/* 3. The color of the lighter background behind the rotating lines of the cards */
.generic-layout .cards-container .mission-card .mission-card-inner {
background: #352B12;
}
/* 4. The color of the rotating lines of the cards */
.generic-layout .cards-container .mission-card .mission-card-inner .generic-rotating-bg {
background: #101010;
}
/* 5. The color of the background of the numbers in the corners of the cards */
.generic-layout .cards-container .mission-card .mission-card-inner .mission-card-corner {
background: #101010;
}
/* 6. The color of the ACTIVE card main (thick) border */
.generic-layout .cards-container .mission-card.active {
background-color: #AB8219;
}
/* 7. The color of the ACTIVE card thin border that fills the space between the corner and
the main border */
.generic-layout .cards-container .mission-card.active .gap-filler {
border: 4px solid #AB8219;
}
/* 8. The color of the lighter background behind the rotating lines of the ACTIVE card */
.generic-layout .cards-container .mission-card.active .mission-card-inner {
background: #B8963E;
}
/* 9. The color of the rotating lines of the ACTIVE card */
.generic-layout .cards-container .mission-card .mission-card-inner .generic-rotating-bg.active {
background: #AB8219;
}
/* 10. The color of the background of the numbers in the corners of the ACTIVE card */
.generic-layout .cards-container .mission-card.active .mission-card-inner .mission-card-corner {
background: #AB8219;
}
/* 11. The color of the CTA button */
.generic-layout .cards-container .mission-card .mission-card-inner .card-center .cta-lootbox {
background-color: #001F43 !important;
color: white !important;
}
/* 12. The color of the Title text */
.generic-layout .generic-layout-title {color: white !important;
}
/*13. The color of the Reward text */
.generic-layout .cards-container .mission-card .mission-card-inner .card-center .card-reward {color: white !important;
}
/*14. The color of the description text on the bottom */
.generic-layout .layout-description {color: white !important;
}