I've been learning UDK iPad development, and ran across something that has wasted a half a day.
I thought I was having a problem with the MobileMenu classes. But I now realize that I am having a loading problem on the iPad. I have two simple game classes. Both of these examples work as expected on PC and mobile previewer. But on Ipad, only the first one works.
but this one only works on PC and mobile PC:Code:// Works on ipad, pc and pc mobile preview class pickleGame extends MobileMenuGame; var int count; function Tick( float deltaTime ) { WorldInfo.Game.Broadcast(self, "In Pickle Game with Menu Extension"); count++; } DefaultProperties { DefaultPawnClass=class'pickleA.picklePawn' PlayerControllerClass=class'pickleA.picklePC' HUDType=class'pickleA.pickle_HUD' bDelayedStart=false InitialSceneToDisplayClass=class'pickleMobileMenu' }
The only real difference is the name of the class. I have been modifying DefaultGame.ini two tell the game how to startup like this:Code:// Only works on pc and pc mobile preview class pickleMenuGame extends MobileMenuGame; var int count2; function Tick( float deltaTime ) { WorldInfo.Game.Broadcast(self, "In Pickle Menu Game"); count2++; } DefaultProperties { DefaultPawnClass=class'pickleA.picklePawn' PlayerControllerClass=class'pickleA.picklePC' HUDType=class'pickleA.pickle_HUD' bDelayedStart=false InitialSceneToDisplayClass=class'pickleMobileMenu' }
This works...
This doesn't work...Code:[Engine.GameInfo] DefaultGame=pickleA.pickleGame DefaultServerGame=pickleA.pickleGame DefaultGameType="pickleA.pickleGame"
Whats going on on the iPad here?Code:[Engine.GameInfo] DefaultGame=pickleA.pickleMenuGame DefaultServerGame=pickleA.pickleMenuGame DefaultGameType="pickleA.pickleMenuGame"



Reply With Quote
![Send a message via ICQ to Blade[UG]](images/styles/TwistedDark/misc/im_icq.gif)
![Send a message via AIM to Blade[UG]](images/styles/TwistedDark/misc/im_aim.gif)
![Send a message via MSN to Blade[UG]](images/styles/TwistedDark/misc/im_msn.gif)
![Send a message via Yahoo to Blade[UG]](images/styles/TwistedDark/misc/im_yahoo.gif)

but it's gotta be done


Bookmarks