How do I Let teachers add their own questions to my game?

Get help using Construct 2

Post » Wed Mar 11, 2015 7:22 pm

Hey Guys Im doing a game for an educational setting and Im trying to let teachers write in their own questions which would then be played out in the game any suggestions?
B
4
Posts: 2
Reputation: 204

Post » Wed Mar 11, 2015 9:26 pm

you can use TextBox to allow your teacher to write questions
you can use Array or Dictionary to store your data (both questions and answers)
you can use their save/load functions to store and restore data in JSON format

all other is your imagination and experience to make game mechanics
B
8
Posts: 72
Reputation: 456

Post » Thu Mar 12, 2015 12:07 am

Thanks Ill give it a shot
B
4
Posts: 2
Reputation: 204

Post » Thu Mar 12, 2015 11:13 am

@chaoskool32, welcome to the forums!

In addition to the having the ability to enter text, you will need to consider what needs to be done with the text after it is entered. If you need the ability to send the information from the teacher's device to the students, then you will need a lot more infrastructure:

1. Use the "AJAX" object in Construct 2 to send the questions to a server.
2. You will need a server running a server-side language like php to communicate with teacher and student devices. In addition, the server will need a database running mysql or similar to store and retrieve the questions.
3. You will need to build a student version of the app to poll the server and display the questions. The student version will use the "AJAX" object in Construct 2 to retrieve the questions from the server.

If you don't do this, then the teacher will need to type in all of the information into their device/computer, then give that device/computer to the student to use. This might be a little weird, depending on how the class is set up.

I'm a teacher who is up to my eyeballs in all of this at the moment. If you have any questions, please feel free to PM me. Good luck, and happy Constructing!
B
29
S
7
G
2
Posts: 106
Reputation: 3,534


Return to How do I....?

Who is online

Users browsing this forum: dmrev, plinkie, Zebbi and 2 guests