Problem Description
Using a timer to edit local variable works once but then repeat calls fails with the "Check: local var stack not big enough" message in the console. Seems to work if I make the variables global instead of local.
Attach a Capx
dl.dropboxusercontent.com/u/71308871/c2-timer-local-variable/timerlocalvariable.capx
Description of Capx
A sprite has a Timer behavior that decrements a local variable and updates it's display in a text box every second.
Steps to Reproduce Bug
Observed Result
Runs properly once, but further calls show message in the console
Expected Result
Variable gets decremented and text gets updated
Affected Browsers
- Chrome: (YES)
- FireFox: (YES/NO)
- Internet Explorer: (YES/NO)
Operating System and Service Pack
Windows 10
Construct 2 Version ID
Release 216 (64-bit)