After experimenting with the drag and drop behavior for an item UI I have been working on I have come across something interesting.
Link to cap
Basically in my main project that I am currently working on I chose to have a main layout for where my game draws and an object library layout where all of my project sprites etc reside.
The reason for doing so is that my game relies on 5400 randomly generated tiles for each room the player enters. Once the player leaves a room all of the tiles are destroyed and when the new room is randomly generated all the tiles are redrawn. It has been working wonderfully and I encourage anyone curious about the results to check out my progress at twinsonian.com.
Anyhow, as previously stated, I am working on my itembar UI at this time and am making use of the drag and drop behavior. As it stands now when my game loads in chrome I am getting:
PERFORMANCE WARNING: Some textures are unrederable.
How much of a performance issue is this? I hope that my cap illustrates what is happening etc.
PS: I intentionally have a second sprite in the cap that is not created in the first layout which acts similar to the inventory items in my game.
Oops: to clarify I get this error in my chrome console (CTRL + SHIFT + J) during preview