• Register

Noble’s Land is a 2D Sandbox MMORPG (Multiplayer Online Role Playing Game). Live in a world of consequences. Loot or be looted with always-on PVP. Explore the world by foot, horse, train, or boat. Buy a house in a city or build your own in the wilderness. Plant, tend, and harvest fields of crops. Cook food to support local taverns,or to supply players setting out for adventure. Travel the world in search of rare fish. Grow your guild from a few friends into an army with their own castle. In Noble’s Land the players run the world.

  • View media
  • View media
  • View media
  • View media
  • View media
  • View media
Add media Report RSS Pixel Perfect Item Interaction (view original)
Pixel Perfect Item Interaction
previous next
Share Image
Share on Facebook Post Email a friend
Embed Image
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account:

Description

Tonight I added transparent pixel detection when trying to interact with an item. All items are 32x32 pixels in size, even if an item is smaller then that. The unused parts of the images are filled with one particular color which is turned transparent when loaded into the game.

Now when you interact with an item it will check if you are clicking on the transparent part of the image. If you are, it will do nothing. With this new functionality you can grab items underneath others, as demonstrated above. Items on the map still have to be picked up in order. If you try grabbing an item under another, even if it's visible, it won't allow it.