Author Topic: Inventory: Create a new Button on the fly  (Read 4032 times)

meeydoo

  • Guest
Inventory: Create a new Button on the fly
« on: April 13, 2012, 08:49:20 AM »
hey,

i create a spliced sprite with 150x200 dimension.
Now i want to fill this sprite with Buttons/Items.

How do i achieve this on the fly ?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Inventory: Create a new Button on the fly
« Reply #1 on: April 13, 2012, 03:15:28 PM »
Add those buttons and items to the parent of the sliced sprite, not to the sprite itself.