Unity Development tutorials?

41 views
Skip to first unread message

ZooBoy

unread,
Jun 16, 2012, 11:52:52 PM6/16/12
to brassmo...@googlegroups.com
Hi guys,

I really love this opportunity brassmonkey has to offer for developers like myself, with the right creativity and presentation, the results could be amazing.
But I was wondering if anybody knows of any tutorials or help on the brass monkey controller system? I've downloaded the Unity SDK and had some luck with minor movement on my own objects, but some sort of explanation to how the "BM" code works would really help a lot. the onacceleration and button interface is a little confusing if your not too confident with coding.

thanks 


Andy Shaules

unread,
Jun 17, 2012, 12:14:21 AM6/17/12
to brassmo...@googlegroups.com
Hey!

I havnt worked with the unity endpoint specifically, but Im pretty handy
with the protocol, and might be able to address a question or two.

Andy

Abhishek Shankar

unread,
Jun 17, 2012, 12:26:21 AM6/17/12
to brassmo...@googlegroups.com
how to use plabrassmonkey?

Francois Laberge

unread,
Jun 17, 2012, 12:58:36 AM6/17/12
to brassmo...@googlegroups.com, sup...@playbrassmonkey.com
hi Abhishek,

Are having issues trying to use the Brass Monkey mobile app to play games? If so, please do check out our support page first to see if it helps. If you have any other questions, please do ask and we'll do everything we can to help.

Or wanting to learn more about using our Developer SDK?

Francois
--
Francois Laberge
CTO
Brass Monkey Inc.
San Francisco | Boston

Abhishek Shankar

unread,
Jun 17, 2012, 1:05:42 AM6/17/12
to brassmo...@googlegroups.com
No problem in using it.

It works like a charm.

I wanted to know 

Who develops the game for playbrassmonkey?
Who designs the on device interface to provide game controls?
Is it free for developers then if the game developer has developed the game who will develop the controls?
What is in it for Brands/Advertisers?
What is in it for game developers?
What is in it for end users?

Regards

Andy Shaules

unread,
Jun 17, 2012, 2:21:58 AM6/17/12
to brassmo...@googlegroups.com
On 6/16/2012 10:05 PM, Abhishek Shankar wrote:
No problem in using it.

It works like a charm.

I wanted to know 

Who develops the game for playbrassmonkey?
Anybody can. There is both in-house and independent developers.


Who designs the on device interface to provide game controls?
Anybody can design the interface. The unity ide provides a wysiwyg editor. Designs can be made in flash professional likely cs3 and above as a semi-wysiwyg editor, but at this time, the creative suite tool makes it easy to do dynamic controls. Designs can also be made by hand in xml or json format. The html5 sdk has json design examples.

Is it free for developers then if the game developer has developed the game who will develop the controls?
Usually the game developer will make their own pad design. It is extremely easy to make control designs and there is no iOS developer membership needed.

Chris Allen

unread,
Jun 17, 2012, 1:01:44 PM6/17/12
to brassmo...@googlegroups.com
Hey Abhishek and ZooBoy,

Andy Kostuik or Andy Zupko (yea, we have too many Andys at Brass Monkey 😉) will be the best guys to help you with getting up to speed with the Unity SDK. I will make sure that one of them responds very soon so that you can be productive and create some great games for our platform. Overall though, it is pretty simple to work with once you get the basics down. Ours is an event based architecture, and in general it's just a matter of hooking up events from the smart-devices to you controls functions in your game. I'm assuming you already know this, but you can download and start playing with the tools from here: http://playbrassmonkey.com/developers

Caroline Murphy can provide you with details on publishing on the platform, rev shares, and other terms of our agreement with developers. I'm super excited to see what you guys come up with! And welcome to the Brass Monkey developer community!

Chris Allen
CEO
Brass Monkey

Sent from my iPhone

zooboy

unread,
Jul 4, 2012, 8:51:22 PM7/4/12
to brassmo...@googlegroups.com
Hi Andy 

would it be possible to explain how I can implement the isAccel to my character input. 

for example i have something like.... run = Input.GetAxis ("Vertical")  
this obviously works with the keyboard but how can i replace the Input.GetAxis ("Verticle") with the controllers tilt?

Thanks

Andy Shaules

unread,
Jul 5, 2012, 12:09:58 PM7/5/12
to brassmo...@googlegroups.com

IN your control scheme, if you enable acceleration, then in your device client handler you would receive an onAccel(accellEvent); call.

THe acceleration event has an acceleration property with the x,y,z values. Depending on your control orientation, you could set the vert control axis according to the y value.

The function will be called at interval.

zooboy

unread,
Jul 5, 2012, 7:04:39 PM7/5/12
to brassmo...@googlegroups.com
I think to somebody that knows coding well, that would probably make perfect sense. but is there any chance you could create some sort of simplified tutorial on how the script works? or something that would allow me to create my own device client handler? 

ADK

unread,
Jul 5, 2012, 10:38:07 PM7/5/12
to brassmo...@googlegroups.com
Hey Zooboy, have you seen this video for integration with the car tutorial from the Asset Store on Unity3D. 


If that doesn't help we're still working on Unity tutorials for different integration uses, so we will be updated them on our Developer portal as we complete them.

Cheers,
-ADK

Andy Zupko

unread,
Jul 6, 2012, 8:20:14 AM7/6/12
to brassmo...@googlegroups.com
You can also look at the demos included int he project - both the splitscreen scene and the simple cube scene use the accelerometer and it should be fairly easy to see their implementation there.

zooboy

unread,
Jul 8, 2012, 2:51:00 PM7/8/12
to brassmo...@googlegroups.com
cheers ADK, i followed this and found it fairly easy to keep up with but i ended up with 7 errors that arent making much sense to me

zooboy

unread,
Jul 8, 2012, 2:56:22 PM7/8/12
to brassmo...@googlegroups.com
i followed everything you said but i get these errors....
Assets/Scripts/JavaScripts/Car.js(323,10): BCE0044: expecting (, found 'CheckHandbrake'.

Assets/Scripts/JavaScripts/Car.js(323,26): UCE0001: ';' expected. Insert a semicolon at the end.

Assets/Scripts/JavaScripts/Car.js(325,9): BCE0043: Unexpected token: if.

Assets/Scripts/JavaScripts/Car.js(325,49): UCE0001: ';' expected. Insert a semicolon at the end.

Assets/Scripts/JavaScripts/Car.js(327,17): BCE0043: Unexpected token: if.

Assets/Scripts/JavaScripts/Car.js(327,31): UCE0001: ';' expected. Insert a semicolon at the end.

Assets/Scripts/JavaScripts/Car.js(329,35): BCE0044: expecting :, found '='.

and this is the area of text its reffering too....

line 323 function CheckHandbrake()
{
if(Input.GetKey("space") || isHandBrake)
{
if(!handbrake)
{
line 329 handbrake = true;

i hope this helps

Francois Laberge

unread,
Jul 9, 2012, 11:22:25 AM7/9/12
to brassmo...@googlegroups.com
Can you send us more of your file? Usually the cause of errors is above point where it is generated. Usually because some required character was mistyped or is missing.

Francois

ZooBoy

unread,
Jul 18, 2012, 11:57:40 PM7/18/12
to brassmo...@googlegroups.com
not to worry i missed out an } further back somewhere. but thanks for your help

also i wanted to ask, would it be possible for a tut on the angry bots controller system? much like the car tut on vimeo? 

thanks 
Reply all
Reply to author
Forward
0 new messages