top of page
Featured posts

Make Storyline number variables become your turbocharged game engine

Oct 10, 2020
2 min read

Updated: Oct 12, 2020

I'm super lucky to work at Wolf Learning and work occasionally on a preferred e-learning project. Usually, it's something I've never created before and this time it happened to be a board game that I always wanted to build in Storyline.


As the world's situation is dominated by COVID-19 I called my game...VIRUS WARS.

In this game, you play the role of a nurse fighting with a virus attack. The virus is very strong at the start (100% vitality) and you got no power to beat it but every time you roll the dice and stop on a colored spot you’ll be given a chance to answer a question. If you’re correct, you’ll get some points, your strength increases and the virus will weaken. If you’re unlucky to answer enough questions and you get to the end of the board, you’ll be given a final question to beat this pesky virus.


I used multiple number variables to make everything work in Storyline and they’re the engine of the game.

Here's a list of number variables I made work to:

- measure nurse and virus strength starting with 100% vitality for the virus and 0% for nurse

- roll the dice (random number variable generating 1-6 dots on each face six-sided dice)

- move the player along the path by the number of moves the dice rolled

- count on which numbered spot the player is (there are 50 spots in total)

- count questions asked

It wouldn't be possible to build this game without number variables which were my best friends in Storyline for this project.


When you look at the play path being numbered from 1 to 50, you can see the pawn can go either up, right, or down and it happens thanks to motion paths.

Every time you roll the dice - the dispatcher layer is shown which determines the direction of movement and activating either the up, right or down layer with a few variables making some maths on layer start.


This tutorial by elearning Locker was very helpful if you’d like to know all the details on how to set your layers up and I’m grateful to David Charney to share his practical tips on the game mechanics.

Let’s spread this knowledge even further!

(click image to launch the interaction)


In my questions, there's lorem ipsum for the moment as I wanted to have the functionality working in the first place but it can be easily replaced with relevant content.


Check this game yourself now and let me know your thoughts.

 
 
 

12 Comments


nginhm.an.gm.an.g
Nov 18

soi cau xo so làm mình tò mò nên ghé vào nhìn thử một lát, chứ cũng chưa có ý định tìm gì cụ thể. Lúc mới mở trang, mình thấy cách chia các khối nội dung khá gọn, nhìn từ trên xuống không bị rối mắt. Mình hay ngại những trang dồn quá nhiều thứ vào cùng một chỗ nên kiểu trình bày này có vẻ dễ xem hơn. Cũng chỉ lướt sơ thôi, đoạn nào muốn đọc thì dừng lại chút chứ chưa xem kỹ hết. Có lẽ vì các phần được tách ra rõ nên mình không phải kéo lên kéo xuống liên tục để tìm lại chỗ vừa nhìn. Menu cũng dễ nhận ra ngay lúc…

Like

anyadoug.hert16.7
Nov 14

kqxsmn nhắc chuyện lấy cắp ở chỗ làm theo kiểu khá dễ hiểu, không vòng vo nên mình đọc cũng thấy gần gũi. Có khi một món đồ nhỏ bị lấy đi thì mọi người chẳng để ý mấy, nhưng cứ lặp lại mãi là thành khoản tiền không nhỏ rồi. Mình thấy nhắc vậy hợp lý, vì bình thường dễ bỏ qua những thứ tưởng chẳng đáng bao nhiêu. Đọc tới câu hỏi nếu biết có người trong bộ phận lấy cắp thì mình sẽ làm gì, mình cũng khựng lại chút. Nói ngay hay tìm hiểu cho chắc trước, nghĩ tới mới thấy không đơn giản như lúc đứng ngoài nói chuyện. Mình thích cách trang để người…

Like

katrinach.av.e.z.5202
Nov 14

kqxsmn làm mình chú ý ở cách chia các khối thông tin, nhìn qua khá gọn chứ không có cảm giác mọi thứ dồn hết vào một chỗ. Mình thường chỉ lướt vài lượt để xem trang có dễ nhìn không, vì chữ với bảng mà chen nhau quá là hơi ngại đọc tiếp. Ở đây các phần được tách ra tương đối rõ nên cũng dễ biết mình đang xem tới đâu, không phải kéo lên kéo xuống để tìm lại. Mình cũng thích kiểu menu đặt ngay chỗ dễ thấy, cần đổi mục thì đỡ mất công ngó quanh. Không có gì quá cầu kỳ, nhưng với thói quen xem nhanh của mình thì cách trình bày này…

Like

Stive Joy
Stive Joy
Jun 12

I enjoyed reading this post because it showed a practical use of Storyline number variables rather than just explaining the theory. The Virus Wars example was interesting, especially how the game used variables to track the nurse’s strength, the virus vitality, dice rolls, player movement across 50 spaces, and question counts. It really highlighted how variables can become the engine behind interactive learning experiences. While working on Assignment Writing tasks through projects connected with New Assignment Help, I often notice similar logic-based structures being discussed. It made me curious about what other creative game mechanics could be built using number variables in Storyline.

Like

Bradley Sheppard
Bradley Sheppard
May 25

The ideas about using number variables in eLearning projects were really creative and practical for course designers. While working on online learning assignments, I used online statistics course help service to manage deadlines and focus more on interactive projects like these. I liked how the article explained technical ideas in a simple and engaging way.

Like
Recent posts
Archive
logo.png

An award winning e-learning developer.

  • Black LinkedIn Icon
  • Black Twitter Icon
Stay up to date with blog posts and freebies

Thanks for submitting! I'll be in touch.

© 2022 Joanna Kurpiewska - Senior Learning Experience Developer. All rights reserved.

bottom of page