Basically use socket to communicate with Android cellphone
Shake phone to recover health, the harder you shake, the more health you will recover
Phone vibrates when the player is taking damage
Issue:
1.It cannot be used with dedicated server, since socket clients are opened on the (dedicated) server, it's hard to make the socket server on a cellphone from LAN of client to listen to the socket client on the dedicated server, although I wrote vars for supporting multiplayers in the future...
2.Normally the sensor of phone will sleep after the screen is locked, so the acceleration will remain still after the screen of cellphone is locked, this will happen a while after the locking operation, but not immediately.
3.In a word, these junky code are just for reference rather than practical gameplaying, use this plugin/Android app at your own risk
Plugin: Download
Android SocketServer: Download
Preview:
A Video showing the gameplay with HandShake MedicKit
https://projectgodmode.com/custom_conte ... 7828~1.mp4
[SMA]HandShake MedicKit & VibrateOnDamage 4 Sven Coop
- Archive-Poster
- Posts: 1189
- Gender:

[SMA]HandShake MedicKit & VibrateOnDamage 4 Sven Coop
- Attachments
-
- LiveHelper-CellPhoneControlledCrowbar_CPCC.zip
- (12.82 MiB) Downloaded 6 times
-
- cpcc.sma.zip
- (1.66 KiB) Downloaded 8 times
Who is online
Users browsing this forum: No registered users and 1 guest