libgdx MeshBuilder - why are so many methods deprecated? - libgdx

I'm playing around with MeshBuilder and I'm noticing that many of the methods are deprecated. Anybody know why these are deprecated and what's suggested to use instead?

Related

Embedding WebKit in C++ Application

I'm writing a game in C++ using the SDL framework, and want to create my game's GUI using HTML/CSS. I've looked into frameworks such as Awesomium, however I'm turned off by the fact that it's not open source. I want to create my own implementation of a similar idea.
However, I can find almost no documentation on actually using WebKit in this manner. The closest I can find is this Apple Developer guide to using WebKit but it's targeted at MacOS-specific applications written in Objective-C. It makes mention of a "Webkit C Reference" toward the bottom of the page, but I cannot find this actual document anywhere. Additionally, I've read the resources on the WebKit Wiki as well as prior StackOverflow questions on the same topic, but I haven't been able to find anything in the way of direct, clear documentation on embedding WebKit in a C++ program.
Does this documentation exist somewhere? What is the best resource for documentation on embedding WebKit within a C++ application?
I'm not really sure about this, but when I read about "c++" and "html/css". QT comes to my mind. Maybe you want to check it out.

Capturing Audio from system-audio or browser via HTML5

I wonder if it's possible to capture browser-audio or even system-audio via html5 and then sending to a server? i searched already 2 years ago for a solution but maybe now it's possible. :) i think the main problem is the internal routing in the OS right?
iv'e found a tutorial for this kind of things - http://www.html5rocks.com/en/tutorials/getusermedia/intro/

Malformed HTML in a OSX Webview

Is it possible to detect parse errors in an HTML submitted to a WebView, using -loadHTMLString:baseURL:?
Is there a method that can be called when parsing errors occur?
The only possible delegate callback might be this, but I don't think it will give you what you're looking for (it's almost certainly network errors). A quick perusal through the list of possible NSError codes (near the bottom), don't have anything that might relate to your error. It seems you're out of luck here.
If you need to deal with parsing, then you're going to be using a different HTML renderer, such as WebKit or Blink. There are a few frameworks for building native apps that use the WebKit or Blink renderer. One of the most active is called Node-Webkit. While I can't say for absolute certainty that it will expose the parsing that you're looking for, the odds are much higher.
Some others that are similar are appJS and CEF. I like Node-Webkit because it's very simple to set up while also being fairly mature and in rapid development. If it doesn't give you what you're looking for, one of those others might.

html5 swipe events

I am pretty new to HTML5. Coming from Flash background, I can call the swipe events easily from Actionscript API. But for HTML5, I believe I have to code this myself by listening to touchstart, touchmove, and touchend. Is there a simpler way to do this? And also I am looking for a website that contains complete HTML5 references
Your best bet for handling touch events is to look at some JavaScript libraries that can handle them: JQuery Mobile, Sencha Touch and jQT (formerly jQTouch) are the big ones.
If you're not already using JQuery, I would highly recommend it.
As far as HTML references, the (highly verbose and technical) specification document might be too much, so I would suggest starting with w3schools. (A tip: Keep in mind that HTML5 is still a work in progress and browser/client support varies.)
If you need help figuring out how to manipulate the DOM (i.e. how to use JavaScript to make things happen), the JQuery documentation is also be a good reference point.

Adding Prototip disabled Mootools. How can these two coexist?

Using both libraries will make my life easier. But there seem to be some sort of a problem. Anyone knows the solution to this? Thank you.
I agree with Dimitar, use one framework where you can, it will make life much easier. Mootools has a raft of goodies that you can plug in and get going with. I suggest you have a look at the clientcide site http://www.clientcide.com/ and their download page where you will find Tips.Pointy which will do just what you want.
http://www.clientcide.com/js
So you know Mootools has done alot of work to allow it to run side by side with other frameworks but any plugins written for them have to use these new features for it to all play nice. All of clientcide's code has been re-written to allow it to use these new "play nice" features in Moo.
Enjoy
you can make a non-prototypial library co-exist with mootools or prototype (for example, jquery) but you can't easily get libraries that change / extend the native prototypes to co-exist with each other.
chances are you can get things going if you namespace but any code that you have that depends on the first framework that you load may stop working as expected (prototypes again)
as far as i remember, there were some efforts in the past to get this going - there was a project called SmoothGallery or something.
my advice is - find a tooltip plugin for mootools and drop prototip. forcing two frameworks on your users is a bad practice anyway
good luck :)