How do I create sprites as long as available amount and subtracting the total of each of them (as an inventory)? I can create only two and the amount does not decrease. Any help? Thanks in advance.
https://www.dropbox.com/s/6cmdderd2v93m32/test.capx?dl=0
,,,maybe...
capx:
http://s000.tinyupload.com/index.php?fi ... 5160542039
I am sure korbaach covered it, but I would say use frames would be best bet. Each loaded state would be a different frame.
,,,maybe... capx: http://s000.tinyupload.com/index.php?fi ... 5160542039
...surely... <img src="{SMILIES_PATH}/icon_razz.gif" alt=":P" title="Razz">
Exactly what I needed.
Thank you, korbaach
Hi korbaach
Sorry, but do you still have this file? I lost my files and I need to check this script again.
Sorry RenatoB I also can not find it..
I can make capx again.but I can not guarantee that a solution will be identical or even similar to a previous...
I''l really appreciate that. No problem if it's not the same. I need that kind of solution to redo my project.
RenatoB I finally found oldTest.capx
As I suspected..I used an additional sprite object..
I think this could be easily done also with only two sprites if you use families ..but that will have to do it someone else
Develop games in your browser. Powerful, performant & highly capable.
Thank you korbaach
I didn't remember how it was. I had changed drag'ndrop event for on touched. Now I'll need to remember what I did. But sorry again and thanks anyway for you time.