Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by GamezAtWork · May 04, 2012 at 06:50 PM · androidmultiplayernetworkcontrollerpc

Using your Android as a controller for your Unity PC Game

Hi guys,

I know this sounds real crazy, but... Is it actually possible to connect your Android to your PC as a "controller" of sorts?

Lets say... A 2-player game with one person on the computer, and another on the android. The person on the android taps on tiles he sees on the screen, and on the computer, those tiles that the person tapped on explode.

Is there a way how to do this? If so... Can someone point me in the right direction?

(Because god forsake, I have no clue as to how to search for this...)

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image hijinxbassist · May 04, 2012 at 07:23 PM 0
Share

Cool idea.

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by dannyskim · May 04, 2012 at 08:08 PM

A good example of a working title that does a similar affect to what you're trying to achieve would be Real Racing 2, which uses Apple AirPlay through an AppleTV to make your iPhone or iPad as a controller for what you're pushing to the screen. Son in essence, your iDevice becomes the accelerometer controller and mini-map, while your watch your content on the tv screen.

And yes, this is possible, but unless someone makes an open-source project for this or an API / SDK, I highly doubt you're going to get any help on this regard. It's much more complex than you might imagine. The short way of doing it (which is something I'm also working on) would be to use a common networking stack such as lindgren and modifying it to your use case. I've somewhat successfully have made a blackjack game that uses an Android tablet as the table itself, while other users get to view their cards on their android phones.

It all comes down to networking really, which is one of the more complex aspects of gaming ( if not the most complex, in a large scale ). I would suggest you take a look at making turn based networked games over wifi or bluetooth, and then using that as a jumping off point.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to make a P2P Unity Android Game 0 Answers

Table Tennis game using PC as screen and smartphone as Controller 1 Answer

Can you use Unity to make multiplayer IOS/Android games? 1 Answer

Multiplayer Tutorial android problem 0 Answers

How to control "portable hotspot" function on Android? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges