blob: 2150eaa49a12d77bbf6d96fc5aa2d3ea3013b962 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
BUGS:
TODO:
- update game viewport on zoom
- german promotion sound
- tutorial
- moves
- HQ moves
- objectives
- engagement
- pause / resume
- maybe do not need cancel button in engagement and HQ mode, but must support canCancel option
- desktop config :
- config.fullscreen = false;
- config.forceExit = true;
- config.vSyncEnabled = true;
NEXT:
- support different board layout
- north orientation
- hex orientation
- inverted even/odd row scheme
- automatic overlays to show unit stack depth
RESOURCES
- better to track installation:
- http://android-developers.blogspot.ch/2011/03/identifying-app-installations.html
- integrate native android stuff in libgdx:
- https://code.google.com/p/libgdx-users/wiki/IntegratingAndroidNativeUiElements
- crypt:
- https://code.google.com/p/gwt-crypto/
- font:
- http://kvazars.com/littera/
- device unique ID:
final TelephonyManager tm = (TelephonyManager) getBaseContext().getSystemService(Context.TELEPHONY_SERVICE);
final String tmDevice, tmSerial, androidId;
tmDevice = "" + tm.getDeviceId();
tmSerial = "" + tm.getSimSerialNumber();
androidId = "" + android.provider.Settings.Secure.getString(getContentResolver(), android.provider.Settings.Secure.ANDROID_ID);
UUID deviceUuid = new UUID(androidId.hashCode(), ((long)tmDevice.hashCode() << 32) | tmSerial.hashCode());
String deviceId = deviceUuid.toString();
|