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

Pages: [1]
1
Support / Sprite Clipping and Jittering with Vertex Lit Rendering Path
« on: April 05, 2014, 07:13:16 pm »
We were recently going through trying to optimize our iOS game made with 2D Toolkit. We had released the game using the Forward rendering path. However, we realized we could use the Vertex Lit rendering path so the few lights in the game would perform better.

However, since switching to vertex lit we have problems with several sprites. One of our sprites is mysteriously clipping, and another is jittering up and down while animating.

The cameras are on "Use Player Settings" for the rendering path, and the sprite collection is using the default LitBlendVertexColor shader for its material.

The most frustrating part is that it's only occurring on iOS devices, making it hard to debug. I've attached some screenshots to show the problem –

Editor (correct rendering):


Device (incorrect rendering with clipped right ski):


Let me know if any other info would be helpful. Thanks!

2
Support / Re: Docset documentation
« on: March 10, 2014, 04:34:12 pm »
Thanks! With a little bit of tweaking I got it mostly working! I've attached a link to the docset file.

However, if you'd like to produce your own docset, here's what you do:

1) Download the two files above
2) Download doxygen
3) Open the Doxyfile in a text editor and change the INPUT to point to your local copy of TK2DROOT. (e.g. if you put the doxygen files in the same directory as your TK2DROOT you'd change INPUT to look like this:

INPUT            = ./TK2DROOT/tk2d \
                         ./TK2DROOT/tk2dUI \
                         ./TK2DROOT/tk2dTileMap \
                         ./DoxygenData.cs
4) Also change "GENERATE_DOCSET = NO" to "GENERATE_DOCSET = YES"
5) Create doxygen_footer.html and doxygen_header.html in the same directory as your doxyfile. I copied the code from the header and footer divs from the current online documentation, and tweaked it a bit based on how it turned out.
6) Download the doxygen_stylesheet.css from the current online documentation (view source on the current documentation and find the link to the stylesheet and download it).
7) Run "doxygen Doxyfile" from the terminal in the directory where the Doxyfile exists.
8) This will have generated a folder called "Generated" and a directory inside there called "html". Navigate inside the html directory with the terminal. Run "make" inside that directory.
9) You should now have a file called "org.doxygen.Project.docset" in the html directory. Open Dash and add this docset.

That should be it! Thanks again, unikron, for hooking me up with those files.
 

3
Support / Re: Docset documentation
« on: March 07, 2014, 06:54:51 pm »
Has there been any update on this? I searched through the forums and there doesn't seem to have been much else posted concerning docsets.

Using doxygen I was able to generate a docset that Dash can use. The biggest problem is that it just looks really ugly in Dash and doesn't have the same layout as the current online docs. It looks like http://kapeli.com/docsets says that the main thing you have to do is have GENERATE_DOCSET = YES in the doxygen config file. I could be vastly underestimating the complexity of doing this, but could it be that the main thing you have to do is simply flip that flag in the config file?

I understand that hosting the docset is a whole other beast, but for those of us looking for it, would it be possible for you to post the Doxygen config file you're currently using so we could try to generate our own docset?

Again, I know I could be misunderstanding the complexity of this, but I'd super appreciate it! I'm going to be making a game on a train without internet access next week so having Dash access would be amazing.

Pages: [1]