1. Design
  2. Design School - Advanced Designs

How to Guide: Design Tutorial - Santa's Slot Machine

Our step by step guide to design your very own Santa Slot Machine promotion.

Requirements

Before getting started you will need to have a BeeLiked Account and have upgraded to the Premium Plan. Only with this plan will you be able to complete all the customizations needed. See our pricing page.

Slot Machine is a game of chance. It is your choice how many different prizes you offer and the quantities you set for each of these prizes. Follow along the instructions below to see how you customize the game and make it your own.

Step 1.

Click the Create Promotion button to create a Slot Machine promotion   (not sure how? Then follow this guide to create your first promotion). 

Screenshot 2024-11-27 at 10.57.51

Step 2

a) Select this Ready Made design from the available designs (if you don't see it immediately you will find it under the Christmas selection or can search Santa ).

thumb (3)

Follow the steps to create this promotion by giving it a name and then proceeding to the Builder where you will be able to customize it. 

Now you have the base promotion for the Santa Slot Machine, we can set about pimping it :) 

Step 3

First we're going to make a few updates to the prize options just to get familiar with how to set prizes and quantities.

First, let's take a look at the images we've added to the Media Library so you can see the selection available.

(If you would like to use your own images, that's easy to do. Learn about adding your own imagery.)

Screenshot 2024-11-27 at 11.03.18

We've got lots of options here.  

Let's change the images shown in the slot machine windows:

Click on the Slot Machine itself and in the Settings Window, choose Segment > Gift Box 1 (and then each subsequent one).

Screenshot 2024-11-27 at 12.28.13

Opening each of the Gift Boxes, hover with your mouse over the image and click on the pencil icon. The Media Library will open and in the Ready Made folder you can select one of the alternative images (or follow along these instructions to add your own images instead:  Learn about adding your own imagery.)

Screenshot 2024-11-27 at 12.30.35

I'll swap the images to the $ signs and change the label text to $5 prize.

Screenshot 2024-11-27 at 12.46.15

Setting Prizes & Quantities

If you want to add more than 3 potential prizes, either duplicate one of the existing prize options or click the Add New button under the existing prize options.

Screenshot 2024-11-27 at 12.34.49

Screenshot 2024-11-27 at 12.35.35

To set the prize quantities, switch on the option at the top of the Slot Machine settings window: 

Screenshot 2024-11-27 at 12.43.56

You will then see a Quantity field appear under each prize option.

Screenshot 2024-11-27 at 12.44.12

 

Losing Segment

In this example we named our losing segment 'Sweepstakes' ( you can call it  whatever you want or remove it entirely).   When an entrant get's this result, instead of having 3 identical images, instead they are shown a combination of the other images.

Screenshot 2024-11-27 at 12.37.50

If you do want to conduct a random draw Sweepstakes for people that get this prize (or any subset of entrants), that's easy to do with the Winner Picker

If you only have a limited number of prizes to give and don't want to limit your number of entries by setting a quantity, you could also use BeeLiked's random draw Winner Picker to select winners at random from daily entries.  Learn how to choose random Sweepstakes winners here.

 


Pimp the Design

Screenshot 2024-11-27 at 13.00.34

If you want to add some animation and cool effects to your sleigh, follow along these steps. Whilst you won't need to be able to code, you will need a basic understanding of design concepts and html  and css.

Here's what we'll do:

  • Add a background video of clouds to give the impression of motion
  • Add a white block for the Template Header with a logo
  • Add a reindeer to the sleigh
  • Tilt the angle of the sleigh slightly upwards

Step 1

Let's start by grabbing the URL's of the images and videos you will need.

Each of the code blocks below contain a placeholder for the URLs [ADD-URL-HERE].  These URLs are all contained in the Ready Made folder of your Media Library. 

 

Screenshot 2024-11-27 at 16.54.29

You will need to copy the URL's for the following  image and video: 

Screenshot 2024-11-27 at 16.56.11

 

select the MP4 file

Screenshot 2024-11-27 at 17.02.00

copy the file URL

Screenshot 2024-11-27 at 17.03.29

Find the two URLs and copy them somewhere handy as you'll need them in a minute.

Step 2.

Let's start by adding a video as the background:

A) Copy the following CSS code to the Theme > Advanced

/** Add video background **/
.video-bg {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: -2 !important;
  object-fit: cover;
}

Screenshot 2024-11-27 at 15.56.15

 

B) Now open the Template Header section and click the 'Source' button in the editor and paste the following code. Replace the ADD-URL-HERE with the MP4 url you copied earlier.

<video class="video-bg" src="https://ADD-URL-HERE" loop="" muted="" autoplay=""></video>
</p>

Screenshot 2024-11-27 at 15.57.42

If you want to add a different video, you can upload it to the Media Library and then copy the URL it is assigned.

Step 3

Adding a white block at the top of the promotion page could be useful if you wanted to create a clear separation from the promotion imagery and a header section that could contain your logo.

Screenshot 2024-11-27 at 17.24.15

It's simple to do this, but requires a little bit of css code.

/** Add header background **/
.blkd-block-template-header{
  background: #ffffff;
  height: 90px;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;


/** Add top content background **/
.blkd-block-top-content{
  background: linear-gradient(180deg, rgba(33, 33, 33, 0.70) 29%, rgba(25, 28, 38, 0.00) 100%);
}

/** Limits the width of the top content **/
.blkd-block-top-content .content{
  max-width: 800px;
  margin: 16px auto;
}

If you would like to change the color of the block, alter the RGBA colors. 
If you would like to change the transparency, alter the percentage values. 

 

Step 4

Adding some animation to the sleigh so it bobs up and down in the winds . You need to add this code to the Theme > Advanced (put it in a new line below existing code).

/** Add Sleigh animation **/
#blkd-section-start-block-slot-machine {
  animation: machine 2s ease infinite !important;
}
@keyframes machine {
  0% {
    top: 0px;
  }
  50% {
    top: 10px;
  }
  100% {
    top: 0px;
  }
}

 

Step 5

Add a reindeer to pull the sleigh . You need to add this code to the Theme > Advanced (put it in a new line below existing code). You will need to replace the [ADD-URL-HERE] with the URL you copied earlier from your Media Library.


/** Add reindeer **/
#blkd-section-start-block-slot-machine .machine-mask:after{
background: url(https://ADD-URL-HERE) left center no-repeat;
  background-size: cover;
  width: 310px;
  height: 312px;
  right: -117px;
  bottom: 150px;
  content: '';
  position: absolute;
  overflow-x: hidden;
  transition: all 0.1s;
  pointer-events: none;
}  

 

Step 6

Let's tilt the sleigh upwards a bit so it's a bit more realistic. As before, you'll copy this code to the Theme > Advanced. 

/** Add Sleigh rotate  **/
#blkd-section-start-block-slot-machine{
  transform: rotate(-5deg);
}

 

Step 7

Adding a sound effect to the slot machine is entirely optional, but can add a bit of fun to the experience.  We have added both a spin and winner default sound file to the Media Library. You can add these to the Slot Machine Settings. 

See the Media Library for the MP3 files. You can click Open, to be able to play and listen.

Screenshot 2024-11-27 at 17.07.05

and insert them as shown below. 

Screenshot 2024-11-27 at 17.06.25

Currently no icon is shown when a sound file is added so it might look like it wasn't successful. You can test if it works when you Preview and enter.

 

Remember:

Whilst you now have the design ready, you still have to update all the rest of the copy and map each Slot Prize to its own corresponding Result Message. 

If you've never created a promotion with BeeLiked before, get yourself familiar by following this guide to create your first promotion

As always, if there are images that you want to change, then feel free to customize to your own requirements. Not sure how? Here is a guide for how to upload images to your Media Library