Commit graph

10 commits

Author SHA1 Message Date
8dabc472f7 Fix touchscreen input on anything that isn't Android or iOS
Previously, to check if touch input should be used, the game checked if the runtime platform was Android or iOS. As such, using a mouse on these platforms (well, Android, did not test iOS) does not work. On other platforms, touch input appeared to work, however since it was technically mouse input features, some things, such as zooming in and out of levels did not work. This commit should fix that for all platforms.

Instead of checking the runtime platform, now, it checks if the device supports touchscreen (regardless of platform), and if there is at least one current touch. As such, both types of input should now be supported on all platforms. (this was tested on a windows 8.1 tablet pc)
2023-10-03 22:40:58 -04:00
372c794a84 Fix WebGL once and for all
* Refactored the assetbundle building script (and added a temporary workaround because for some reason the filenames are now lowercase).

* Changed the style used for preprocessor directives.

* Fixed PlayFab, and as such cake race should now work.

* Refactored NetworkManager

* Fixed integer overflows in `TimeManager.ConvertDateTime2Seconds(DateTime)` and `Spine.AnimationState.Update(Single)`. This fixes the instant crashes on development builds.

* Fixed `AnimationCurve`s in levels by telling unity not to strip the `AnimationCurve` class using a `link.xml` file. This should fix crashes in levels such as Little Pig Adventure.

* Updated README.md
2023-09-30 21:17:54 -04:00
3142c035eb Improve variable names in LevelLoader 2023-07-14 11:16:53 -04:00
9bb357de38 Do not add device identifiers to rovio redirect URLs 2023-07-10 10:05:44 -04:00
bcbb80abab (maybe) fix NetworkManager on WebGL 2023-06-13 17:16:37 -04:00
b28e5044fb Send empty device data to the playfab/cakerace server
(for privacy reasons)
2023-06-13 16:58:02 -04:00
10e5c53ecf enable fps counter 2023-05-20 14:37:22 -04:00
a69c28dcad Catch exceptions when saving contraptions before starting
This theoretically should fix issues occurring when playing Bad Piggies on low storage
2023-05-17 20:23:26 -04:00
90e409459a WebGL Support :D
* Added WebGL support (obviously)
* Unpacked AssetBundles
* Added some info to README.md
2023-03-03 10:17:51 -05:00
e40bc8bd07 Initial unity project 2023-02-25 23:04:03 -05:00