A userscript that allows EaglerCraft to run on mobile browsers
Go to file
2024-05-28 21:36:56 +03:30
.github/ISSUE_TEMPLATE Updated 2024-05-26 15:21:04 -06:00
.gitignore Updated 2024-05-26 15:21:04 -06:00
eaglermobile-ef.js add eaglermobile for eaglerforge 2024-05-28 09:58:20 +03:30
eaglermobile.user.js Updated userscript version 2024-05-28 08:14:16 -06:00
LICENSE Initial commit 2024-05-26 15:11:24 -06:00
README.md Create README.md 2024-05-28 10:48:42 -06:00

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)