Hello Guest

Author Topic: Tileset not working  (Read 9464 times)

Bridgeman

  • Newbie
  • *
  • Posts: 24
    • View Profile
Tileset not working
« on: August 12, 2014, 08:16:38 pm »
I imported a custom tileset by following this tutorial: http://www.unikronsoftware.com/2dtoolkit/doc/2.4/tilemap/tutorial.html

But when I go to paint none of my tiles are showing up

Bridgeman

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: Tileset not working
« Reply #1 on: August 13, 2014, 10:59:55 am »
Bump

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Tileset not working
« Reply #2 on: August 13, 2014, 11:23:39 am »
Can you create sprites from this sprite collection? Do you see the tiles in the tilemap editor palette?

Bridgeman

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: Tileset not working
« Reply #3 on: August 13, 2014, 11:41:07 am »
Yes I do, I click Create, then Sprite Sheet, set my tile size and all that, and click Commit. But then when I create a TileMap and select my Sprite Collection, I can't see any tiles whatsoever

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Tileset not working
« Reply #4 on: August 13, 2014, 12:15:05 pm »
Can you create a new sprite and assign this sprite collection. Can you see your tiles there?

Bridgeman

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: Tileset not working
« Reply #5 on: August 13, 2014, 12:24:23 pm »
I can create a new sprite sheet, and I can see my tiles fine in the SpriteCollection Editor, but when I go to the Tilemap object no tiles are visible at all

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Tileset not working
« Reply #6 on: August 13, 2014, 01:56:49 pm »
You havent answered my question. Can you create a new sprite in the scene, and then assign this sprite collection to it. If you do that, do you see the tiles?

Bridgeman

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: Tileset not working
« Reply #7 on: August 13, 2014, 03:01:42 pm »
Can you walk me through it? I don't really understand what you mean exactly

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Tileset not working
« Reply #8 on: August 13, 2014, 03:09:08 pm »
In the hierrarchy window,
Create > 2D Toolkit > Sprite.

Select the sprite collection you just created, and see if it draws correctly on screen and that all your sprites are available in the picker

Bridgeman

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: Tileset not working
« Reply #9 on: August 13, 2014, 04:41:50 pm »
I can create a sprite, but then I get the heart sprite on my screen, which is not what I want. I want to use a tileset. So I followed the tutorial on how to do that, and it said I had to create a TileMap in the hierarchy window and link it to my spritecollection I created in the assets window. But the problem is the tileset doesn't show up in the TileMap when I try to paint.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Tileset not working
« Reply #10 on: August 13, 2014, 04:50:21 pm »
"I can create a sprite, but then I get the heart sprite on my screen"
Can you switch to your new sprite collection for the tilemaps? Does that work?
If not post a zipped project. tilemaps and sprites use the same data. I dont know if you've created your sprite collection properly as you're not answering my questions.

Bridgeman

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: Tileset not working
« Reply #11 on: August 13, 2014, 04:59:35 pm »
I tried switching to my new SpriteCollection, but I get the error message "No sprites in <SpriteCollection>". But when I open up my SpriteCollection with the editor, it clearly has sprites.

Bridgeman

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: Tileset not working
« Reply #12 on: August 13, 2014, 05:13:34 pm »
Here it is [removed link]
« Last Edit: August 13, 2014, 08:42:53 pm by unikronsoftware »

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Tileset not working
« Reply #13 on: August 13, 2014, 08:43:15 pm »
Can you attach it to the forum here, I can't download from that site.

Bridgeman

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: Tileset not working
« Reply #14 on: August 13, 2014, 09:45:29 pm »
But the max attachment size is 8000KB, and the 2D Toolkit package on its own is already like 18MB