Maintained fork of Bad-Piggies-Original https://chipmunk.land/bad-piggies
Find a file
Chipmunk 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
Assets Fix touchscreen input on anything that isn't Android or iOS 2023-10-03 22:40:58 -04:00
Packages Initial unity project 2023-02-25 23:04:03 -05:00
ProjectSettings Update the project settings more 2023-05-15 21:07:21 -04:00
.gitignore Fix WebGL once and for all 2023-09-30 21:17:54 -04:00
LICENSE i forgor about this 💀 2023-02-26 19:07:17 -05:00
README.md Update the README 2023-09-30 21:19:24 -04:00

bad-piggies-2.3.6

Maintained fork of bad-piggies-original

Currently tested platforms: PC, Mac & Linux Standalone, and WebGL.

Building

Firstly, clone the repository (git clone https://code.chipmunk.land/ChipmunkMC/bad-piggies-2.3.6.git), and then open it in the Unity Editor.

Next, switch to your preferred platform, and generate AssetBundles with Assets > Build AssetBundles.

Then, copy all files ending in .unity3d from the Assets/AssetBundles folder to StreamingAssets/AssetBundles (create the directory if it doesn't exist).

Now, you can either play in the editor, or build and run the game.