How do I submit / store a variable?

0 favourites
  • 3 posts
From the Asset Store
About 900+ game portals: 400 e-mails, 514 contact/submit forms (last update: 2022, October, +275 contacts)
  • Hello!

    I teach Computing and this semester we worked on building a reaction tester. The goal is to invite students , and teachers, during lunch and find the quickest student and teacher

    Not everyone was able to complete the project, but everyone learnt something. I'm planning now to hand out a template that students can use to add their own sprites.

    I've attached the project file.

    What I would like to know / implement, is some form of submission of final test result.

    Basically when the average reaction time after the three tests is calculated, I would like to save the result somewhere. Could be in the cloud or local, doesn't matter too much. If possible, I'd like to extend the program so that at the beginning users have to enter some information such as student or teacher and year level. So that later we can do some data analysis, create some histograms, box-plots. A way to save into an Excel or Google document would be awesome.

    The event sheet is pretty straight forward. I use a single sprite with 4 frames to switch between modes. It has cheat detection built in, you will get a red screen when you "jump the gun" and the game reloads shortly after.

    Please help!

    Phil

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • See manual on Webstorage: https://www.scirra.com/manual/120/webstorage

    and here is a link to a tutorial on how to use it: https://www.scirra.com/tutorials/266/we ... nformation

    If you need cloud storage, i would like to point you to our excellent plugin for Parse.com: https://www.frostyelk.se/products-page/ ... /parse-fe/

  • That seems easy enough, but I would like to store ongoing data. Like a logger. Every time a valid test results is obtained, it is stored. Ideally with a user name. But it seems this isn't as easy as I thought...

    And of course be able to later view and analyse it somehow.

    EDIT:

    I might have found a solution.

    I'm using the NodeWebkit object, which has an Append action. This seems to be working well

    I'll have to open it in a better text editor than notepad, but it's easy enough to copy. Might just use , to separate the data.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)