Re: TD game (hijacking Re: Performant Controls (hijacking Re: Developing controls based on Canvas?))

2013-08-06 Thread Jose Martinez
...@gmail.com To: Richard Bair richard.b...@oracle.com Cc: openjfx-dev@openjdk.java.net List openjfx-dev@openjdk.java.net Sent: Tuesday, August 6, 2013 1:32 AM Subject: Re: TD game (hijacking Re: Performant Controls (hijacking Re: Developing controls based on Canvas?)) I'm out for that one

RE: Performant Controls (hijacking Re: Developing controls based on Canvas?)

2013-08-06 Thread John Smith
...@openjdk.java.net] On Behalf Of Daniel Zwolenski Sent: Monday, August 05, 2013 5:39 PM To: Jonathan Giles Cc: openjfx-dev@openjdk.java.net List Subject: Performant Controls (hijacking Re: Developing controls based on Canvas?) Sneaking in here, as you've given an opening with if implemented wisely, there is very

Re: Performant Controls (hijacking Re: Developing controls based on Canvas?)

2013-08-05 Thread Richard Bair
I know Table uses a rubber stamp approach, where it re-uses cell views where possible One small correction -- this isn't what we call the rubber stamp (which is what Swing did). The rubber stamp approach is to use a *single* cell and change its state and reuse it for rendering everything

Re: Performant Controls (hijacking Re: Developing controls based on Canvas?)

2013-08-05 Thread Jonathan Giles
I don't think there is any particular secret sauce going on in what I do compared with the general guidelines that have been spelled out numerous times. It's the same old, same old: don't create more nodes than you need, don't modify the scenegraph needlessly, don't update the scenegraph

Re: Performant Controls (hijacking Re: Developing controls based on Canvas?)

2013-08-05 Thread Daniel Zwolenski
Thanks Jonathan, it's good to get your insight. You did finish by muddying the waters again though - to do something complex with zooming and scrolling you'd be tempted to fall back into Java2D paint-style programming, and use Canvas for this, not the Scene graph? It's more a couldbe/maybe

Re: Performant Controls (hijacking Re: Developing controls based on Canvas?)

2013-08-05 Thread Jonathan Giles
I only said that I'd consider using Canvas given my past experiences in doing the same kind of thing in Java 2D, so I'm familiar with it in that sense (but not in the real sense of having ever used Canvas in production). If I were to ever implement something like this I would of course be

Re: Performant Controls (hijacking Re: Developing controls based on Canvas?)

2013-08-05 Thread Richard Bair
To add to the confusion, Canvas currently has some drastic z-order bugs, and some clipping issues, so using it combined with Nodes is currently a no-go. I believe those have all been fixed in the last couple of weeks. Richard

TD game (hijacking Re: Performant Controls (hijacking Re: Developing controls based on Canvas?))

2013-08-05 Thread Richard Bair
It really wasn't ever supposed to be my TD game, I keep trying to get you (and others interested in the community) to develop it. I'm up to my eyeballs in work already, as I'm sure you can relate :-) Richard On Aug 5, 2013, at 9:24 PM, Daniel Zwolenski zon...@gmail.com wrote: You should be

Re: TD game (hijacking Re: Performant Controls (hijacking Re: Developing controls based on Canvas?))

2013-08-05 Thread Daniel Zwolenski
I'm out for that one for the foreseeable future. I've burnt up any and all free time on getting the desktop and iOS workflows working with Maven. I'm big time behind on client work. Tell you what though, if you can get someone at Oracle to take over the deployment tools and iOS stuff, I'd very