Maintained fork of Bad-Piggies-Original
https://chipmunk.land/bad-piggies
Chipmunk
8dabc472f7
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) |
||
---|---|---|
Assets | ||
Packages | ||
ProjectSettings | ||
.gitignore | ||
LICENSE | ||
README.md |
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.