Results 1 to 2 of 2
  1. #1
    MSgt. Shooter Person
    Join Date
    Dec 2011
    Location
    Lahore, Pakistan
    Posts
    123

    Question Default Mobile Input Joysticks...

    hi all.. well i have a simple little problem. i was following the tutorial http://forums.epicgames.com/threads/...Basic-iOS-Game Creating a Basic iOS Game in order to create the classes and other files and link em all up so that i can start working with scripts too and not only the levels. well i have completely followed the tutorial and got no error but there is just 1 problem. i can no longer see the default Joystick inputs that are visible on the screen when you preview your map in mobile previewer... it was very handy to use it but can anyone tell me how can i get it back... or i'l just have to create a use input thing using script or kismet?

  2. #2
    MSgt. Shooter Person
    Join Date
    May 2011
    Posts
    45

    Default

    Its probably because of what your extending for the controller and HUD classes
    I've found that if your extending the GameplayerController class you need to set the input in default properties
    DefaultProperties
    {
    InputClass=class'GameFramework.MobilePlayerInput'
    }

    also the HUD needs to set up textures etc to use so that the inputs are visible so u may need to add things to the default properties in the HUD
    HUD extends from MobileHUD
    DefaultProperties
    {
    JoystickBackground=Texture2D'MobileResources.T_Mob ileControls_texture'
    JoystickBackgroundUVs=(U=0,V=0,UL=126,VL=126)
    JoystickHat=Texture2D'MobileResources.T_MobileCont rols_texture'
    JoystickHatUVs=(U=128,V=0,UL=78,VL=78)

    ButtonImages(0)=Texture2D'MobileResources.HUD.Mobi leHUDButton3'
    ButtonImages(1)=Texture2D'MobileResources.HUD.Mobi leHUDButton3'
    ButtonUVs(0)=(U=0,V=0,UL=32,VL=32)
    ButtonUVs(1)=(U=0,V=0,UL=32,VL=32)

    TrackballBackground=none
    TrackballTouchIndicator=Texture2D'MobileResources. T_MobileControls_texture'
    TrackballTouchIndicatorUVs=(U=160,V=0,UL=92,VL=92)

    SliderImages(0)=Texture2D'MobileResources.HUD.Mobi leHUDButton3'
    SliderImages(1)=Texture2D'MobileResources.HUD.Mobi leHUDButton3'
    SliderImages(2)=Texture2D'MobileResources.HUD.Mobi leHUDButton3'
    SliderImages(3)=Texture2D'MobileResources.HUD.Mobi leHUDButton3'
    SliderUVs(0)=(U=0,V=0,UL=32,VL=32)
    SliderUVs(1)=(U=0,V=0,UL=32,VL=32)
    SliderUVs(2)=(U=0,V=0,UL=32,VL=32)
    SliderUVs(3)=(U=0,V=0,UL=32,VL=32)

    ButtonFont = Font'EngineFonts.SmallFont'
    ButtonCaptionColor=(R=0,G=0,B=0,A=255);
    }

    might not be your problem but it solved it for me when it wasn't visible hope it helps


 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright ©2009-2011 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by CompletevB.com.