If you mean the descriptive text that displays above the image, in AC that can be done with a function surrounded by [[ ]] for that particular page.
For example, in the AC Text field at the top enter something like:
Player, your current score is [[scorefunction()]]
then in game.js
- Code: Select all
function scorefunction()
{
var score = whatever; //Whatever you need to calculate the score, or whatever you want to display
document.write(score);
}
Let's say the result of the function is 42. The top of the webpage would display:
Player, your current score is 42
For changing text, just do something like:
document.write('This is the variable text to include')
This would fill in the score for that page only. This also works for the AC title fields for bottom text or hit target text. Hope I understood what you were asking, and hope this helps.
Wolfschadowe