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
0
Question by jsr2k1 · Oct 09, 2011 at 05:25 PM · iphonecontrolremotegamepad

Using iPhone as gamepad for Standalone

Hey guys,

I've seen this video from CES 2011. An iPhone is used as gamepad for a game: youtube video

I really like to know how this can be done, it's very interesting! Any idea? Suggestions?

Joel

Comment
Add comment · Show 5
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 jsr2k1 · Oct 10, 2011 at 07:52 AM 0
Share

Yes, that's the idea, but I want to use the iPhone as gamepad for a standalone game running on $$anonymous$$AC or Windows. The problem is how to connect the iPhone app with the standalone app? sockets? Any suggestion? :-)

avatar image Fattie · Oct 10, 2011 at 01:50 PM 0
Share

there is a $$anonymous$$ac version of PadRacer which does exactly what you say, I believe. iphone == handset, your mac == the screen of the game.

avatar image jsr2k1 · Oct 10, 2011 at 01:54 PM 0
Share

Yes, this is the game: http://itunes.apple.com/us/app/padracer-for-mac/id419992421?mt=12

This is what I want to know how can be done.

avatar image KvanteTore · Oct 10, 2011 at 02:11 PM 0
Share

http://unity3d.com/support/documentation/Components/Networking%20on%20iOS.html looks like it should be achievable using standard networking code.

avatar image Fattie · Sep 26, 2012 at 11:12 AM 0
Share

http://getjoypad.com/

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by KvanteTore · Oct 10, 2011 at 01:57 PM

I guess some kind of socket connection would be the way to go. Shooting a bit from the hip, you might be able to use the built in unity networking client (caveat: I don't know if the desktop and mobile networking stacks are compatible) and let iphone client control one controller object (use accelerometer to rotate a box or something like that), and the read off those values in the desktop client.

Comment
Add comment · Show 1 · 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
avatar image KvanteTore · Oct 10, 2011 at 02:14 PM 0
Share

http://unity3d.com/support/documentation/Components/Networking%20on%20iOS.html seems to suggest that the network stacks are compatible, so it should at least in principle be possible.

avatar image
0

Answer by PatrikNyblad_SI · Oct 14, 2011 at 06:56 AM

If you are making your own game in Unity and have the ability to build for iPhone as well I would suggest you hook your game up to your iPhone with Unity Networking. After that i would use the joysticks from the latest unity example project (AngryBots) and just sent the input from the joysticks to the server (your game) with RPC calls.

Do you have a more concrete example so we can give more feedback?

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 camera position relative to a specific target. 1 Answer

Does the iPhone use it's GPU when using the Unity remote? 1 Answer

Remote iOS build from Windows to iPhone on Windows 0 Answers

Stop Unity Remote service 1 Answer

iPhone swipe to look 0 Answers


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