Tables,User Input, and Math
CaptFinn
Member Posts: 1,828
Has anyone made a app or created a template...( if this is possible ) that can allow a user to input data and get a sum?
Example:
User Mile Average
Day 1-- 5.6 Miles
Day 2-- 5.9 Miles
Day 3-- 6.4 Miles
Day 4-- 6.5 Miles
Day 5-- 6.6 Miles
Mile average = 6.2
The user can write to the table and a cell or actor be formulated to get the avg and display it?
Save?
Reset?
All this using Tables? If so is there a video or template or demo?
Example:
User Mile Average
Day 1-- 5.6 Miles
Day 2-- 5.9 Miles
Day 3-- 6.4 Miles
Day 4-- 6.5 Miles
Day 5-- 6.6 Miles
Mile average = 6.2
The user can write to the table and a cell or actor be formulated to get the avg and display it?
Save?
Reset?
All this using Tables? If so is there a video or template or demo?
Comments
Universal Binary Template - Universal Binary Template Instructions Rev 4 (Short) - Custom Score Display Template
Tables can support very sophisticated math, on par with almost anything Excel can do. If you need further help, there are videos (google gamesalad tables) or you can post more specific questions here.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Also, it's based on a table with 5 rows for 5 days. To make this a useable system, you'd need to display and calculate table data (i.e. average) using a loop that iterates through the table rows. That functionality exists in the current nightly build ("Loop over table") but I used the current stable build for the demo so I didn't include any kind of loop. It's certainly possible to create a loop using the stable build but it's a bit more work.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User