device_get_tilt

  1. M

    Walls gliding with gyroscope

    Hello! I try to make gliding at walls with this code: if place_meeting(x+1*sign(hspeed),y,oWall) { while !place_meeting(x+1*sign(hspeed),y,oWall) { vspeed = (device_get_tilt_x() * hsp); } vspeed=0 } if...
  2. N-Code

    Android movement buffer in device_get_tilt

    Hi Everyone, Does anyone know a good way to create a no movement buffer in a device_get_tilt movement system. Movement buffer might not be a good term to describe what I'm looking for. But ... I'm trying to switch sprites to an idle state when the player has stopped moving. My problem is that...
  3. M

    Android device_get_tilt and collisions

    Hi All, So I'm working on an android game with tilt functions. device_get_tilt _x()*hSpd ; device_get_tilt _y()*vSpd; Everything works great. I add a collision event and set the player vSpd to 0 when place_meeting. Works great. The player stops. if (place_meeting(x,y, obj_solid)) { vSpd = 0; }...
Top