A userscript that allows EaglerCraft to run on mobile browsers
Go to file
FlamedDogo99 a4a90072e2 Added polyfill for apply and call
I really hope this works
2024-06-03 17:31:47 -06:00
.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 Updated eaglerforge copy 2024-06-01 21:29:40 -05:00
eaglermobile.user.js Added polyfill for apply and call 2024-06-03 17:31:47 -06:00
LICENSE Initial commit 2024-05-26 15:11:24 -06:00
README.md Added goal 2024-06-02 17:30:49 -05:00

Eagler Mobile

A userscript that allows eaglercraft to run on mobile devices

To-do

  • Gamepad support
  • Cancel button for file upload
  • Styling for file upload
  • Back button for Kiwi browser?
  • Fix keyboard input for Android devices

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/picking, 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)
  • Strafe buttons when holding forward
  • Crouch lock on hold
  • Re-orginize button layout
  • Redo the display button functions
  • Sprint button (sperate from double tapping forward)