Change controllers dynamically?

20 views
Skip to first unread message

Dobes Vandermeer

unread,
Sep 8, 2013, 1:24:08 AM9/8/13
to brassmo...@googlegroups.com
In javascript how can I do the cool stuff they are doing with the controller in this game?


They have a different controller as you set up your player compared to in the game, and their in-game controller is really nice, too.


Andy Shaules

unread,
Sep 8, 2013, 5:38:57 AM9/8/13
to brassmo...@googlegroups.com
Hello,

Most of what they do is exposed to js, there just arent any examples.
> --
>
> ---
> You received this message because you are subscribed to the Google
> Groups "Brass Monkey SDK" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to brassmonkey-s...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

Andy Shaules

unread,
Sep 10, 2013, 6:57:13 PM9/10/13
to brassmo...@googlegroups.com
I stand corrected, there are some examples on this.

Here is the json for paged controls.

https://github.com/brassmonkey/brassmonkeyjs/blob/master/examples/dynamic/basicDynamic.json

On 9/7/2013 10:24 PM, Dobes Vandermeer wrote:

Andy Shaules

unread,
Sep 10, 2013, 6:59:09 PM9/10/13
to brassmo...@googlegroups.com
Add page specifiers to the display objects, and call

bm.setControlpadPage(device,page);



On 9/7/2013 10:24 PM, Dobes Vandermeer wrote:

Dobes Vandermeer

unread,
Sep 11, 2013, 12:40:54 AM9/11/13
to brassmo...@googlegroups.com
Awesome, thank you Andy!



On Tue, Sep 10, 2013 at 3:57 PM, Andy Shaules <bowl...@gmail.com> wrote:
I stand corrected, there are some examples on this.

Here is the json for paged controls.

https://github.com/brassmonkey/brassmonkeyjs/blob/master/examples/dynamic/basicDynamic.json


On 9/7/2013 10:24 PM, Dobes Vandermeer wrote:
In javascript how can I do the cool stuff they are doing with the controller in this game?

http://playbrassmonkey.com/doubleedged

They have a different controller as you set up your player compared to in the game, and their in-game controller is really nice, too.


--

---
You received this message because you are subscribed to the Google Groups "Brass Monkey SDK" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brassmonkey-sdk+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.
--

--- You received this message because you are subscribed to the Google Groups "Brass Monkey SDK" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brassmonkey-sdk+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages