Jump to content


Photo

iOS and YoYo_GetTilt


  • Please log in to reply
5 replies to this topic

#1 brighteyes

brighteyes

    GMC Member

  • GMC Member
  • 103 posts
  • Version:GM:Studio

Posted 10 April 2012 - 06:38 PM

I'm just trying to print the values to the screen. Here's my draw event.
draw_text(0,0, YoYo_GetTiltX());
draw_text(0,16, YoYo_GetTiltY());
draw_text(0,32, YoYo_GetTiltZ());

The YoYo_GetTilt functions always return 0 on my iPhone 4, but seem to work just fine on my Android tablet. I searched around but didn't see anyone else reporting the problem, so I just wanted to double check.
  • 0

#2 benoit.rouleau

benoit.rouleau

    GMC Member

  • GMC Member
  • 1526 posts
  • Version:GM:Studio

Posted 10 April 2012 - 10:56 PM

I'm also having this problem on my iPad.
  • 0

#3 GameDevDan

GameDevDan

    YoYo Games Staff

  • Administrators
  • 1212 posts
  • Version:GM:Studio

Posted 11 April 2012 - 09:32 AM

Yeh I finally got around to testing on iOS and tilt doesn't work for me either. I'm sure someone with a bug tracker account can report it :)

Edited by GameDevDan, 11 April 2012 - 09:32 AM.

  • 0

#4 brighteyes

brighteyes

    GMC Member

  • GMC Member
  • 103 posts
  • Version:GM:Studio

Posted 11 April 2012 - 08:41 PM

Yeah, I reported it last night. Seems likes there's a few functions that work on android but not iOS yet (can't seem to write files, but reads them fine). I guess that to be expected during a beta though. Can't wait for the full version!
  • 0

#5 benoit.rouleau

benoit.rouleau

    GMC Member

  • GMC Member
  • 1526 posts
  • Version:GM:Studio

Posted 16 April 2012 - 05:00 AM

I cannot find the bug report... Can you post a link to it please?
  • 0

#6 brighteyes

brighteyes

    GMC Member

  • GMC Member
  • 103 posts
  • Version:GM:Studio

Posted 16 April 2012 - 06:04 AM

Sorry, I was sure I reported it, but I never noticed it didn't show up in my reported issues section. Did it correctly this time >_<

http://bugs.yoyogame...view.php?id=778
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users