Getting Penelope to work

Created a new project and installed the Penelope Complete Tutorial. This is the Penelope that’s supposed to work out of the box, right? However,…

When it runs it says to Touch Here to Start, but nothing happens. The script is checking Input.position, but it’s simply not recognizing a mouse click, or a tap using Unity Remote 3. I tried all Y positions in case that coordinate was getting inverted.

After selecting one of the three options the demo croaks, saying that it could’t load a level because it’s not in the build settings. This happens with all three options.

Are there some other actions this tutorial needs in order to run?

I tried using those controls also for an android build- I got nothing from it- nothing worked-

I know the feeling. I’ve been fiddling around for about a week now trying to find a way to test the build in the Unity Editor, having given up on the excruciatingly slow Android emulator and failing to use Android x86 and VirtualBox as I discovered after finally getting it running that the Unity produces ARM code which won’t run on it :slight_smile:

I then resorted to finding tweaks that would allow mouse clicks to work in Windows mode as well as screen taps in Android mode.

I’ve found the scripts in various other places and cut and pasted them together (the Joystick one as here: http://www.powenko.com/en/?p=1533 but I’ve lost track of where I got the other stuff from sorry!) and if you replace the ones that came with the Complete build with these you should be able to run in WebPlayer/PC mode for testing, then simply select Android mode when you build for Android (don’t forget to choose the appropriate player settings when you do that).

NB A word of warning if you’ve made a build in Android then you need to make another one in WebPlayer/PC mode before you start testing the game with Unity again (otherwise Unity thinks you’re still running in Android mode and won’t respond to the mouse).

These scripts should make the Camera Relative Control and Player Relative Control work OK on PC but I haven’t been able to get anything for TapControl as yet.

To avoid the ‘crash and burn’ after the opening screen, you need to make sure that you include the Camera Relative Control, Player Relative Control and Tap Control scenes in your “Scenes in Build” box as well as the Erithracite Mine ( just load each one and use ‘add current’ to add it to the box).

NB most of this has been found by trial and error and Google so please don’t take this as the definitive or correct approach!!!

I’ve attached a zip file with the scripts (AnimationController,Control Menu and Joystick)

I thought they were too long to post as scripts and hope this is OK with mods and Unity folks sure they’ll let me know if it’s not :slight_smile:

767510–28051–$pennypc.zip (5.64 KB)

Stuartf, thanks for mentioning the whole “add scenes to build” part. That was stopping me from even getting the game going in the first place on my phone.

Thank you guys.