+1
Résolu
Dumbed down calculator
Trying to make an educational game that uses counting where a series of sounds play then the user clicks the right object to play the sound the same number of times. Ive got the sounds and everything working great, but I'd like to add a counter that goes up by one every time the object is clicked. Tried using the sample calculator code but it seems a little too complicated for what I'm trying to do. Using a combination of and tags but can never get the desired value to display.
Service d'assistance aux clients par UserEcho
Then every time you perform a defined action that will move the counter, add an assign tag to the action that does this:
So above your DISPLAY object will be the counter that you want to display, so once you know the variable, you can use object properties to update that value on your object.
Also you aren't quite using alias correctly. For your "increment" action you are calling object:E1.text when you should be using the alias and calling object:ENTRY.text
And finally, are you trying to populate a textfield with the number or just a normal text tag?
Were you able to make the other changes I mentioned ok?
When you use leftof or rightof, etc. you only have to put it on one of the objects.