I have a function which updates my dynamic fields, but nothing happens…any ideas on what could be wrong?
function updateBar(){
progressBar.scaleX = percentToLevel;
levelText.text = level.toString();
expText.text = String(currentExp);
nextLvlText.text = String(baseLevelExp);
}
The progressBar line works. The rest don’t. No errors. I checked the instance names of the text fields and they are all correct….what could it be?
The problem was I did not embed the font. When I did all was well.