TouchScript 9.0, and "Mouse Cursor (clone)" (s)

Random discussions.

TouchScript 9.0, and "Mouse Cursor (clone)" (s)

Postby tswalk » Tue Aug 01, 2017 1:48 am

Just taking a look at the new release... hope to integrate asap into a new project.

Anyway, I'm looking over your examples and am curious to know about the new cursor handling you have made. Is it normal for these clones of "Mouse Cursor" to remain in the scene after a an alt- touch has completed?

Image

I didn't hightlight anything, but you can see them stacking up in the Cursors gameobject and their canvas in the scene.. just wondering.
User avatar
tswalk
 
Posts: 33
Joined: Sun Sep 20, 2015 6:37 am
Location: Texas, US

Re: TouchScript 9.0, and "Mouse Cursor (clone)" (s)

Postby valyard » Tue Aug 01, 2017 2:16 pm

Yes, this is ok. They shouldn't be consuming any resources. They are there not to instantiate them over and over which is less performant.
Though, there are still things I'd like to change in how cursors are handled.
valyard
Site Admin
 
Posts: 435
Joined: Mon Sep 08, 2014 11:57 pm

Re: TouchScript 9.0, and "Mouse Cursor (clone)" (s)

Postby tswalk » Tue Aug 01, 2017 8:41 pm

I see ok.. makes sense. I can see some potential in them being used for more than just 'debug' mode... could almost be a feature to help enhance/visualize the UI. Thanks!
User avatar
tswalk
 
Posts: 33
Joined: Sun Sep 20, 2015 6:37 am
Location: Texas, US

Re: TouchScript 9.0, and "Mouse Cursor (clone)" (s)

Postby valyard » Wed Aug 02, 2017 11:09 am

Well, it started as a debug feature but people continued using it in their projects as visualization.
BTW, I optimized Cursors a bit in master branch on Github.
valyard
Site Admin
 
Posts: 435
Joined: Mon Sep 08, 2014 11:57 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest