Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sound panning on javascript bindings please? #20

Closed
johnmore opened this issue Feb 28, 2013 · 10 comments
Closed

Sound panning on javascript bindings please? #20

johnmore opened this issue Feb 28, 2013 · 10 comments
Assignees

Comments

@johnmore
Copy link

Hello there, I'm hoping to be doing it right out here, I would like to file a request for someone to (preety please?) get the javascript bindings for native panning (as in left and right positioning of mono sounds) into GameClosure DevKit. Right now you can load, queue, play and loop sound as well as define and alter volume for both sound effects and background music, so the only thing I'm asking here is panning, which is like really essential for some games, especially when you're going for some user immersion, even if its only in 2d...

So can someone do it or at least create a tutorial to help out on the addition?

Thanks in advance

John More

@chris-gc
Copy link
Contributor

John,

We really appreciate your interest in improving the DevKit. And we would like to enable you and other people to do that! So, what we came up with is a plan for a guide for contributing hooks from JavaScript down to native on iOS. And we'll use this new panning feature as a real-world example.

I'm going to tackle this as a specific blog post with this panning example, and a more generic guide in the documentation. Ideally, if you're up for it, we'd like for you to actually follow through the guide and contribute this feature back to the project. Just for the iOS platform, and we can handle porting to Android for now, and of course all of the testing and documentation. =)

Are you game?

Thanks again! =)

@johnmore
Copy link
Author

johnmore commented Mar 1, 2013

Hi Christopher,

First of all, thank you so much for taking the time to answer me personally it's a great attitude that is not that common these days! 

As for your question, of course I'm game! I would only ask you if it could be the other way around as in if you could create the guide in regard to Android and I would follow it and contribute back to the project and you would handle porting to iOS.

The reason is simple, I am running Snow Leopard here and can't change the OS for now due to the fact that I need to spend a lot of cash updating my Audio Software (I'm also a sound engineer and soundtrack composer so can't really stop using it) so I do not have access to the latest xcode since apple does not allow me to install it due to having an OS that is 2 years old... That's why I've been tackling Android development for the time being.

If that was possible I would love to follow your guide and contribute back with that panning implementation.

Please just give me the heads up when you launch the blog post.

Awaiting your reply:

John More

mikehenrty added a commit that referenced this issue Mar 1, 2013
@chris-gc
Copy link
Contributor

chris-gc commented Mar 1, 2013

Okay -- I will do an Android guide first then and handle the iOS port myself. Will let you know when it's ready!

@ghost ghost assigned chris-gc Mar 1, 2013
@johnmore
Copy link
Author

johnmore commented Mar 1, 2013

Thanks! I'll be eagerly awaiting it! I believe it's the key feature of GameClosure, easy creation of javascript hooks for native features. I know I'll dwell on all that, have a very simple wish-list to tackle in regard to GameClosure addons like in-app purchases for android and iOs, sql lite, box2d integration, advertising SDK's, Soomla etc...

@johnmore
Copy link
Author

Hey Chris how's that guide going? Really eager to mess around with it? Will it take much longer now? Thanks

@johnmore johnmore reopened this Mar 12, 2013
@chris-gc
Copy link
Contributor

I've been totally overwhelmed with fixing things lately! T_T; We did decide to prioritize this native contribution guide and coincidentally I started working on it again today. Will let you know when it's out.

@johnmore
Copy link
Author

No problem Chris, just say something when you get that online so that I can dive in. By the way what's the best way of contributing with changes? I created some extra devices for browser testing and I would like to contribute them to the community. Thanks in advance.

@johnmore
Copy link
Author

Hey Chris long time no see! Still no Guide for me on sound panning?

There's also Still no plugin available to deal with sound or is it?

Please say something.

Thank you

@chris-gc
Copy link
Contributor

Oh right sorry I didn't post about the new plugin system here also. There is now a native plugin system:
http://docs.gameclosure.com/guide/plugins.html

And there are now examples: (scroll down)
http://docs.gameclosure.com/

@chris-gc
Copy link
Contributor

Sound panning isn't a really good plugin example as it turns out, since it's tied closely in with existing native code, so we went a different route and wrote plugins for Billing, Geolocation, Ad/Analytics Networks, and we're about to release a Facebook plugin.

bubbleboy14 pushed a commit that referenced this issue Sep 13, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants