Announcement

Collapse

The Infinity Blade Forums Have Moved

We've launched brand new Infinity Blade forums with improved features and revamped layout. We've also included a complete archive of the previous posts. Come check out the new Infinity Blade forums.
See more
See less

MobileInputZone problem/oddity

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • MobileInputZone problem/oddity

    I'm trying to do something extremely simple - have button zones for the left 50% of the screen and right 50% of the screen. Here are my inputzones:

    [LeftTriggerZone MobileInputZone]
    Type=ZoneType_Button
    bRelativeX=true
    bRelativeY=true
    bRelativeSizeX=true
    bRelativeSizeY=true
    X=0
    Y=0
    SizeX=0.49
    SizeY=1
    RenderColor=(R=0,G=200,B=0,A=200)

    [RightTriggerZone MobileInputZone]
    Type=ZoneType_Button
    bRelativeX=true
    bRelativeY=true
    bRelativeSizeX=true
    bRelativeSizeY=true
    X=-0.49
    Y=0
    SizeX=0.49
    SizeY=1
    RenderColor=(R=200,G=0,B=0,A=200)

    Apart from RenderColor not doing anything (I'm sure it used to), when I try this on the mobile previewer (using UDK Remote) or on an actual device (iPhone 4S), wherever I touch on the screen the LeftTriggerZone OnTapDelegate delegate is called. However, if I "Play -> On PC" and use UDK Remote (in exactly the same way I use the mobile previewer) it all works how I would expect it to (the left/right inputzone OnTapDelegates are called when I touch the left/right half of the screen).

    1) Why is there a difference between "Play -> On PC" and the others
    2) What have I misunderstood/done wrong?

    Thanks!
Working...
X