Here you can see my test key items are stacking on top of my keyitemicon sprite (which updates the image for the collected key item, which works because it has the 2 key item images on top of it, so it is updating the new image for the new collected item just not in the right place) it should be picking the next empty slot.
If I do not collect any items it shows no sprite and no items. (Proving that its only when i collect items they are being updated and added into the slot)
Everything to me seems like it should be working?? I just don't get it. I really don't want to start all over again because I built this to my needs. I just don't understand why it cannot find the next empty slot and place the image and text there.
Everything seems to be working correctly apart from it going to the next empty slot. The image is updating the text is updating.
The way I can see this is by removing the destroy action under line 36 of the create keyitemicon. By removing this I can see the items stacking. If I have it activated it only shows the latest item which again is right and what I want but because the items are stacking and not moving along its not working.
Again I'm confused and unsure if there's an issue when adding the new item and it's not being recorded properly into a new empty slot (line34). Or if the issue is when I'm creating the keyitemicon for each new keyitem when collected and its somehow destroying or recreating the image in the same location preventing it going to the next empty slot. (Line36)
It's probably something so simple but I've been tinkering for ages now and nothing lol. Also took advice from others (not from construct) and not sure what effect that has had. My code has slightly updated now but anytime any issues arrived i backtracked. I do have some updated code but it didn't seem to make a difference good or bad. Still have my back ups to revert back to if needed.
Absolutely clueless. Lol.