Logic game with empty slots

broken image
broken image
broken image

Seens that I missed something when I used the 'local storage' plugin or the 'str' function, but I cant see where. Place balls in to empty slots, solve examples and write the numbers. If i start the game, save in slot 1 and try to delete that save, I have to click in the delete sprite than click in the slot again to it change to the 'empty' frame sometimes if u delete just one save the two slots change to 'empty' frame sometimes I need to click on delete in the second slot to delete the first sometimes when theres a save in one and the other is empty, when i try to load one it changes to 'empty' and the other changes from 'empty' to 'used' and a lot of other weird interactions. Logic puzzle game for children and adults. One of the problems is that the slots seem to be on the same position, I want to have a space of 25 pixles and the other problem is that the game only show one slot at the time instead of all of them. The problem is the two slots seens to have being interacting with each other. I am trying to make an inventory for my game and I have two problem that i cant figure out how to fix. I put an instace variable in each one of the duplicates for identifying with slot is being clicked and create the save file, u can see in use in the code above. I have one sprite with 2 frames (one for 'empty' slot and one for 'used' slot) for the slots and one sprite for the delete button which I made a duplicate so I have 2 slots.

broken image