How can I incorporate NFC input into my game?

Get help using Construct 2

Post » Thu Sep 06, 2012 3:59 am

I'm interested in designing a simple game for my Nexus and/or Nexus 7. Both of these are NFC enabled devices. I'd like to allow players to touch objects to the phone/tablet to interact with the game.

I'm unsure how to accomplish this. I'm currently able to use the tags to launch video or perform complex tasks with the Tasker app, but I'm unsure how to plug that input directly into my Construct game.

Any suggestions? Tasker is quite versatile, I feel I'm really close on this.
B
10
S
5
Posts: 28
Reputation: 1,508

Post » Thu Sep 06, 2012 12:15 pm

@Resslx : since the stock browser in android doesn't allow access to NFC from Javascript, you need to create an app with Phonegap, which has a NFC plugin on Android.
B
33
S
9
G
6
Posts: 709
Reputation: 6,704


Return to How do I....?

Who is online

Users browsing this forum: Governador, tarek2, Thelegendvinny, Yahoo [Bot] and 19 guests