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

Pages: [1]
1
Support / OnMouseOver - Camera Clipping Plane
« on: September 29, 2014, 04:38:46 pm »
How does the unity`s OnMouseOver is affect with Camera Clipping Plane when working with a tk2dsprite?

My camera was near: -100 far :100

Objects (sprites) at middle position wasnt affect by OnMouseOver/Exit. I changed to near:0 far: 30. Problem solved. Whats the deal?

2
Support / Order In Layer based on parent object
« on: April 29, 2014, 08:22:58 pm »
Is it possible to have an object with 3 childrens (order 0, 1 and 2) and a "parent order" of 0. And another same object with "parent order of "1" be entirely in front of that first object, but respecting the it's own children order (0,1,2)?

3
Support / Re: 2D Toolkit and Git
« on: April 23, 2014, 03:26:26 pm »
I should have been clearer.
Resources/tk2d.meta and Resources/tk2d/* should not be in the ignore file and should be checked in.
In theory, rebuilding the index should regenerate these, but I've not tested that since the feature was first implemented ages ago, so that may be what is causing your problem.

Try removing this from the ignores, and check these in, see if it works better.
Assets/-tk2d* is the only tk2d related thing that should be in the ignores.

I re-tested.

Checking out on another machine, rebuilding index, closing unity and reopen again, fixes the problem. But I`ll leave only on Git Assets/-tk2d*


4
Support / Re: 2D Toolkit and Git
« on: April 22, 2014, 03:25:40 pm »
Resources/tk2d.meta should be regenerated, but the other files should be there. Let me know how it goes. Not sure how I overlooked that in the first post...

What do you mean by regenerated? From what I understood you`re telling me to keep Resources/tk2d.meta out of source control? It`s already on my git ignore... so it`s suppose to regenerated everytime. Maybe, it`s related to this issue ( http://2dtoolkit.com/forum/index.php/topic,3989.0.html )?

5
Support / Re: 2D Toolkit and Git
« on: April 20, 2014, 05:21:41 pm »
The Resources folder is not on my git project. When I change machine, the Resources/ files are not changed. Maybe thats the problem? I will add these files to git project and see what happens...

My .gitignore:
Code: [Select]
Assets/-tk2d*
Assets/Resources/tk2d.meta
Assets/Resources/tk2d/*

6
Support / Re: 2D Toolkit and Git
« on: April 20, 2014, 01:29:58 am »
Not sure what to suggest here. This is not a known problem. The only thing I can think of is to look at the project, should be sufficient even if you can isolate it to 1 sprite collection thats broken.

Almost sure it won't help, but anyway.. the error when I open a project in another machine:

Quote
NullReferenceException: Object reference not set to an instance of an object
tk2dSpriteCollectionData.get_inst () (at Assets/TK2DROOT/tk2d/Code/Sprites/tk2dSpriteCollectionData.cs:555)
tk2dBaseSprite.Awake () (at Assets/TK2DROOT/tk2d/Code/Sprites/tk2dBaseSprite.cs:901)
tk2dTiledSprite.Awake () (at Assets/TK2DROOT/tk2d/Code/Sprites/tk2dTiledSprite.cs:87)

7
Support / Re: 2D Toolkit and Git
« on: April 16, 2014, 01:50:32 pm »
My Libraries folder is not included. Here is my .gitignore:

http://hastebin.com/nuxevocawe.pl

And my generic .gitattributes file:

http://hastebin.com/resejemabo.mel

Edit: yes, I do have this problem every time..

8
Support / Re: 2D Toolkit and Git
« on: April 15, 2014, 05:45:27 pm »
Do you have meta files turned on and are you checking in all the meta files for everything?

After you import on the new machine you should 2D Toolkit > Rebuild.

Meta files turned on and included for everything. Rebuild Index didn`t worked. Tried before...

9
Support / 2D Toolkit and Git
« on: April 15, 2014, 01:47:41 pm »
Everytime I pull my project from another machine, I need to re-commit every sprite collection. Heres what happen:

Code: [Select]
NullReferenceException: Object reference not set to an instance of an object
tk2dSpriteCollectionData.get_inst () (at Assets/TK2DROOT/tk2d/Code/Sprites/tk2dSpriteCollectionData.cs:555)
tk2dBaseSprite.Awake () (at Assets/TK2DROOT/tk2d/Code/Sprites/tk2dBaseSprite.cs:901)
tk2dTiledSprite.Awake () (at Assets/TK2DROOT/tk2d/Code/Sprites/tk2dTiledSprite.cs:87)

And here is my .gitignore about 2dtk:

Code: [Select]
Assets/-tk2d*
Assets/Resources/tk2d.meta
Assets/Resources/tk2d/*

Read it somewhere and started using. Anyway, whats is the necessary files to avoid this error?

10
Support / Flash Export - Supported?
« on: February 20, 2014, 07:58:37 pm »
I'm having this error when trying to export:

I'm not using TileMap, is there anyway to totaly disable this part of 2dtk ?

Code: [Select]
Assets/TK2DROOT/tk2dTileMap/Code/tk2dTileMap.cs(197,17): error CS0103: The name `BuilderUtil' does not exist in the current context
Version 2.3.3

Thanks

11
Releases / Re: 2D Toolkit 2.2 beta 1
« on: September 07, 2013, 12:56:33 am »
Sorry if wrong thread  :-[

I want to know what version I'm using right know.. anywhere in the code says the version?

12
Support / Re: Camera, Fullscreen and Ratio?
« on: March 02, 2013, 04:24:48 pm »
Got it working, but I don't know what I did :P

13
Support / Camera, Fullscreen and Ratio?
« on: March 01, 2013, 10:06:37 pm »
How do I setup a camera to avoid my background (and everything else) to stretch?

Heres what I need:
- The game have a usable centered area of 1024x768, but my background is wide, 1280x720. When in fullscreen, its ok to stretch everything, but keep the aspect intact, just showing extra side areas already in my background.
- Plus, my GUI (is 2D Toolkit concern?) must remain in that usable area of 1024x768

I got it working with "resizeable windows" enabled, but i really don't want that. Is this a bug?

Pages: [1]