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.


Topics - JackMariani

Pages: [1]
1
Support / Tilemap mesh needs normals for unity 5.6
« on: April 04, 2017, 04:44:44 pm »
I've just updated unity version to 5.6 and I keep receiving the following message from the console.

"Mesh doesn't have normals. Please create some for GI."

I'm using a tile map and if I delete it from the scene the message stops.

Still this message keeps repeating indefinitely without any stop so I can't use the console properly.

I would ask you to give it a look.

Thank you very much!

PS: it is probably unrelated but my tilemap keeps creating empty gameobject called "Prefabs" when I load the scene.

2
Support / 2d toolkit Camera Clamp Setup
« on: August 02, 2015, 11:52:22 am »
Hi, I'd like my 2dtoolkit camera to always stay within the borders of a background (made of multiple game objects), also if I zoom in and out, keeping the pixel perfect view.

My camera setup is the following:
https://www.dropbox.com/s/4wlh9pcj2pd1qym/camera.png?dl=0

Let me know if the setup can be adjusted. The basic element of my game is a Unity Sprite of 64 x 64 pixels.

That said. I know the position of the bottom left element (that is a gameobject with 64x64 sprite) and the top right (same type of game Object is a 64x64 sprite).
Example:
https://www.dropbox.com/s/j3iwg5fotwc4kjz/Tile.png?dl=0

The position of these elements may change depending on the scene level. But they will stay fixed for all the scene, so I need to adjust this just after each level loading.

How can I clamp the camera between these 2 gameobjects (to avoid showing outside elements in the view)?
How is the best way to zoom in and out without losing the pixel perfect? (ex. changing the zoom factor or the ortographic size).

Thank you very much in advance.

Pages: [1]