Author Topic: NGUI and Touchscript problems  (Read 4787 times)

oskanaan

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
NGUI and Touchscript problems
« on: January 16, 2014, 04:44:33 AM »
Hello,

I've been using NGUI for a while now and its working great. I've tried adding the TouchScript library to my game, the problem is, since I've done that, the NGUI items got all messed up. This happens on my Android device only. So here is what is happening:

1- When I start the game, everything works fine and all the sprites are displayed normally
2- after a second or two, most of the sprites gets messed up as if they get mixed together.

I've attached two screenshots for before, and after the interface gets screwed :(

appreciate any help
thanks!

rize

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 15
    • View Profile
Re: NGUI and Touchscript problems
« Reply #1 on: January 16, 2014, 09:33:03 AM »
Try having different layers for objects using TS and GUI + adjust culling mask settings for TS cam and GUI cam. Never had problems mixing nGUI with TS.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI and Touchscript problems
« Reply #2 on: January 16, 2014, 11:47:33 PM »
Something that looks like that usually implies video memory corruption, so I can't suggest much.

oskanaan

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
Re: NGUI and Touchscript problems
« Reply #3 on: January 17, 2014, 05:20:41 AM »
Sorry, it seems I was wrong in my previous post. I've removed TouchScript from my project and tried again, the same problem persists. The issue began to happen since I've purchased NGUI Version 3.0.8 and upgraded my project from the free version. Any idea what might cause that?

Thanks

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI and Touchscript problems
« Reply #4 on: January 17, 2014, 09:35:19 PM »
Does it happen on a specific machine? If it happens on more than one, and you're using the latest NGUI, I can have a look at the project if you send me a stripped down copy. Just don't post it here. PM me or email a download link to support at tasharen.com.

oskanaan

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
Re: NGUI and Touchscript problems
« Reply #5 on: January 18, 2014, 06:05:30 AM »
After copying the assets folder to new project, it works :), too bad I wasted too much time trying to figure out what was the problem and I didn't.