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 - Ngapi

Pages: [1]
1
Support / Re: One pixel high image gets doubled in height
« on: October 02, 2014, 03:23:31 pm »
Thanks! Always something new to learn.... Sounds then like textures actually have a minimum of 2px in either width or height. Another workaround I found is to make a 2px high texture with one row of pixels transparent, so I get the effect of a 1px high image. (That does leave a little bit of wasted storage I guess.) Thanks again, the quick turnaround on this forum is great,

- Gabe

2
Support / Re: One pixel high image gets doubled in height
« on: October 01, 2014, 05:47:26 pm »
Sorry, forgot to mention versions of things:

Unity 4.5.1f3 on Mac OS X 10.9.2
2D Toolkit 2.4.0

3
Support / One pixel high image gets doubled in height
« on: October 01, 2014, 05:41:23 pm »
Hey forum,

I've run into an issue with one pixel high images in a sprite collection. When I add a sprite to my scene with this image, the sprite shows up as two pixels high, like it stretched the image to twice its height. It appears this way both in the scene window and the game window.

The sprite collection is set to use point sampling for the filter mode. My tk2dCamera is set to use one pixel per meter.

Here's a sample image that results in the problem (one pixel high, so it's probably hard to see!):


Here's a screenshot of the scene view with the image zoomed way in. The image appears twice as tall as intended:


I can also email a zip of the project if that's useful. Thanks!

- Gabe


4
Support / Re: How to go about updating 2D Toolkit?
« on: July 30, 2013, 11:42:34 pm »
Ah, got it. Good to know why that step is there. By the way I am really liking the new tilemap editor in 2.1. That feature is making my life so much easier right now  ;D

5
Support / Re: How to go about updating 2D Toolkit?
« on: July 30, 2013, 07:44:03 pm »
Worked perfectly, thanks! I had seen those directions for upgrading from 1.x to 2.x, but wasn't sure if they also applied for upgrading minor versions. I assumed you can safely throw away the empty scene you create during the upgrade. That's what I did anyway - doesn't seem to be causing problems. I really appreciate your quick response.

6
Support / How to go about updating 2D Toolkit?
« on: July 30, 2013, 04:59:33 pm »
Hi forum!

Simple question here: I've been trying to stay up to date with the current 2DTK releases, and I'm wondering what the best way of updating is? I guess this might be a more general-Unity type question, but figured I'd try asking here. I have 2.1 Beta 3 installed, so what's the best method of updating to 2.1 Final in my current project? Thanks!

Pages: [1]