You are on page 1of 4

QUIZ GAME STARTER KIT

UE4 MARKETPLACE LINK

Playable Demo

How does it work?

Basically it takes 15 questions from an array that gets shuffled, you can add as
many questions you want. The more there are, the better.

For demonstration purposes I only added around 20 questions, this should give
you an example on how to add more.

The interface is UMG based and uses common practices when it comes to
placing elements on screen.

The objective of the game is to answer all 15 questions correctly, if you fail, the
game will start over.

How to add more questions

1.Open the DT_Questions Data Table and add a minimum of 16 questions to it.
2. Once you add a question, add 4 possible answers and specify what index in
the answers array is the correct answer, as shown in the example on the picture
bellow.
Content/Quiz_Game/Blueprints/DT_Questions

What you need:


-minimum of 16 questions in order for them to randomize properly
-each needs 4 answers
-image answers have been added via update as a new mode, any pictures can
be used, just make sure that the correct one has the same index like the text
answer
-specify which of them is the correct one (arrays start at 0, so it sees your
answers as 0,1,2,3 and not 1,2,3,4)

Alternative language:
Basically open the E_Languages enum and rename “Other” to whatever
language you wish to add, then go over all widgets and specify in the translation
function what the other language string should be for that UI element
To add questions in a different language, simply add them into
DT_Questions_OtherLanguage

That’s it!
Update 1.1
-Added DataTable support

Update 1.2
-Added background music checkbox to the setting menu
-Added “Are you sure?” to when the Give Up button is pressed
-Changed: Give Up on 1 million question now gives 500K (instead of 1 million)
-Changed: Losing on the 1 million question now gives 32K (instead of 1 million)

Update 1.3
-Added image based answers as Play Pictures mode
-Added progress bar

Update 1.4
-Added alternative language support

Update 1.5
-Added a migration version, in case it needs to be used from an already existing
project

You might also like