flameddogo99-eaglermobile/README.md
2024-05-28 10:48:42 -06:00

989 B

Eagler Mobile

A userscript that allows eaglercraft to run on iOS safari

To-do

  • Strafe buttons when holding forward
  • Crouch lock on hold
  • Sprint button (sperate from double tapping forward)
  • Gamepad support
  • Cancel button for file upload
  • Styling for file upload
  • Pick block button
  • Back button for Kiwi browser?

Implemented

  • Fake pointerlock API (tricks the client into loading)
  • Fake fullscreen API (so that selecting full screen doesn't crash the client)
  • Custom upload button for files (because safari is a pain with button clicks)
  • Fake mousemove events (Allows touch and drag to simulate mouse movement)
  • Fake cursor scroll events (Allows scrolling through hotbar and in menus)
  • On-screen controls (Movement, block placement/removal, inventory, item dropping, keyboard, and exiting keys)
  • Styling for html, body, and canvas (So that the canvas doesn't ignore the navigation bars for viewport sizing)