Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - bletalik

Pages: [1]
1
Support / Re: Painting "coin" prefabs with tilemap
« on: November 12, 2012, 05:40:40 pm »
It turns out the gear sprite the prefab was using had to be scaled down massively.

When the gear prefab was attached to the tile, it reset the scaling to one. So it wasn't "disappearing", it was just too big that it was completely outside of the camera view.

We just scaled everything to the appropriate size and everything is working great now.

Thanks for all your help and your quick replies!


2
Support / Re: Painting "coin" prefabs with tilemap
« on: November 09, 2012, 10:06:01 pm »
I'm pretty sure the z-axis is 0 for everything, and I'm using an orthographic camera.

In the first screenshot, you'll see that I applied the "gear" prefab to the copper gear tile in my tilemap.

I then placed that copper gear between the grey and white gears in the scene view.

The next screenshot shows the game view, and the copper gear has disappeared.

My goal is to copy to properties from the regular gears (the white and grey ones), to the copper gear that I can place easily using the tilemap.

Does that make sense? Do I need to use the same texture for this to work?

3
Support / Painting "coin" prefabs with tilemap
« on: November 09, 2012, 08:11:45 pm »
I am new to Unity and 2DToolKit. I'm really loving the tool, but I'm having difficulty using the tilemap editor to paint prefabs.

I'm making a basic 2D sidescroller platformer, and I have a basic coin prefab that works as intended when placed as individual objects in the hierarchy.

I want to be able to paint the location of the coins throughout the level using the tilemap editor. I tried dragging the coin prefab into the prefab slot in the data menu of one of my tiles (a placeholder box tile), but nothing happens when it's placed into the game. Although the box can be seen in the scene editor, it is not present in the playtest view.

What am I missing?

Thanks for your help!


Pages: [1]