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

Pages: [1] 2 3
1
Releases / Re: 2D Toolkit 2.5.8.16
« on: September 05, 2019, 06:02:11 pm »
Is there an update to work on 2019.3?

"tk2dCamera.GetGameViewSize - has a Unity update broken this?
This is not a fatal error, but a warning that you've probably not got the latest 2D Toolkit update.

System.NullReferenceException: Object reference not set to an instance of an object
  at tk2dCamera.Editor__GetGameViewSize (System.Single& width, System.Single& height, System.Single& aspect) [0x00021] in D:\Games\Green Sauce Games\Tales of the Orient - The Rising Sun\Assets\TK2DROOT\tk2d\Code\Camera\tk2dCamera.cs:371
UnityEngine.Debug:LogError(Object)
tk2dCamera:Editor__GetGameViewSize(Single&, Single&, Single&) (at Assets/TK2DROOT/tk2d/Code/Camera/tk2dCamera.cs:430)
tk2dCamera:GetScreenPixelDimensions(tk2dCamera) (at Assets/TK2DROOT/tk2d/Code/Camera/tk2dCamera.cs:709)
tk2dCamera:UpdateCameraMatrix() (at Assets/TK2DROOT/tk2d/Code/Camera/tk2dCamera.cs:782)
tk2dCamera:OnEnable() (at Assets/TK2DROOT/tk2d/Code/Camera/tk2dCamera.cs:275)
"

2
Support / Re: 2d toolkit update roadmap
« on: December 01, 2016, 01:44:24 pm »
Yes...

I have some old projects when I have a mixed tk2d and Native Sprites. I know that is not recommended, but I was not able to migrate everything yet. Is there some way to support both on 5.5?

3
Support / Re: 2d toolkit update roadmap
« on: November 11, 2016, 05:59:38 pm »
I have a problem on Unity 5.5 when I'm using a Texture as Unity Default Sprite and on the tk2DCollection... On Unity 5.5 tk2d is always reseting the configuration from my native sprite and reseting it do default.

4
Support / Re: CreateProfile 2dtk UI
« on: November 23, 2015, 03:36:46 pm »
You can use 1 tk2dUIToggleButton per each ListBox item and tk2dUIToggleGroup to allow you to select only one.

5
Releases / Re: 2D Toolkit 2.5.3
« on: May 28, 2015, 02:02:36 pm »
"Official support for Unity Windows Mobile and Windows Store in Unity 5"

What is really new here? I was using it before and it seems to be working.

6
Support / tk2dTextInput on Windows 8 Tablet
« on: March 11, 2015, 11:39:49 am »
Hi!

I am testing my game on a Windows 8 Metro Tablet but the tk2dTextInput does not display the virtual keyboard when necessary.

Is there a fix to it? I'm using Unity 5.

Thanks

7
I created a build for testing on Windows Store/Windows Phone Simulator and the virtual keyboard seems to be not showing!

Is there anything I can check?

8
Support / Re: Extra transparent border in atlas?
« on: December 09, 2014, 06:35:49 pm »
+1 vote for this!

9
Support / Re: Resolution
« on: November 24, 2014, 02:58:07 pm »
It worked but I had to change tk2dCamera.cs code.

It would be possible if a future update add this option?

FitHeightorScaleToFit

And add two Addittional Properties : MinWidth and MaxWidth bounds.

It tries to Fit Height, but if it not fits using Min/Max bounds, so it will Scale It using the Min/Max bounds configuration.

I'm sure this will be usefully to tons of people here! =)




10
Support / Re: Resolution
« on: November 24, 2014, 02:14:16 pm »
How to create this behavior? I have some ideas of how to calculate the desired scale but how to change it on runtime?


11
Support / Resolution
« on: November 21, 2014, 08:04:29 pm »
I do use Fit Height to all my cameras and it works very well...

But... I want that if the Aspectio Ratio is lower than 1,33, instead of using Fit Height it keeps the 1,33 aspect ratio and then scale to fit the screen... How can I achieve this?

12
Support / Re: A little suggestion
« on: October 28, 2014, 03:26:40 pm »
+1 to this! I created a workaround for this (don't remember what), but this bothered me for a long time.

13
Hi!

I suggest adding a generate polygon button when creating collision of sprites on a sprite collection.

There is an algorithm which is very easy to implement and gives good results,  "Graham's (1972) point elimination algorithm", basically you get all non alpha points of the image, runs the algorithm on it and it returns the final polygon! =)

I have ton of sprites and have to create all polygons by hand! This would be an excellent addition to 2DToolkit! =)

Is this possible?

14
Support / Changing Color is Slow
« on: October 10, 2014, 03:52:47 am »
I have +- 200 child sprites, and I need there sprites to match the parent sprite color.

In fixedupdate I have this :

Code: [Select]
childSprite.color = parentSprite.color;

But this seems to be very slow, please see the attached profiler screenshot.

Why is this code so slow? How can I change it to improve it?

Thanks!


15
Support / Re: Best Resolution & Camera Settings for a 2D Android Game
« on: July 14, 2014, 01:43:58 pm »
I'm using 1430x768, but keep only 1024x768 as usable area. Use Fit Height on Camera Settings. This will fit 99% of Android/iOS phones and tables!





Pages: [1] 2 3