Hello
Guest
Home
Help
Search
Login
Register
2D Toolkit Forum
»
2D Toolkit
»
Support
»
Tileset not working
« previous
next »
Print
Pages: [
1
]
2
Author
Topic: Tileset not working (Read 9464 times)
Bridgeman
Newbie
Posts: 24
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
Logged
Bridgeman
Newbie
Posts: 24
Re: Tileset not working
«
Reply #1 on:
August 13, 2014, 10:59:55 am »
Bump
Logged
unikronsoftware
Administrator
Hero Member
Posts: 9709
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?
Logged
Bridgeman
Newbie
Posts: 24
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
Logged
unikronsoftware
Administrator
Hero Member
Posts: 9709
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?
Logged
Bridgeman
Newbie
Posts: 24
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
Logged
unikronsoftware
Administrator
Hero Member
Posts: 9709
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?
Logged
Bridgeman
Newbie
Posts: 24
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
Logged
unikronsoftware
Administrator
Hero Member
Posts: 9709
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
Logged
Bridgeman
Newbie
Posts: 24
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.
Logged
unikronsoftware
Administrator
Hero Member
Posts: 9709
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.
Logged
Bridgeman
Newbie
Posts: 24
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.
Logged
Bridgeman
Newbie
Posts: 24
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
»
Logged
unikronsoftware
Administrator
Hero Member
Posts: 9709
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.
Logged
Bridgeman
Newbie
Posts: 24
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
Logged
Print
Pages: [
1
]
2
« previous
next »
2D Toolkit Forum
»
2D Toolkit
»
Support
»
Tileset not working