mirror of
https://github.com/FlamedDogo99/EaglerMobile.git
synced 2024-11-09 14:06:05 -08:00
A userscript that allows EaglerCraft to run on mobile browsers
.github/ISSUE_TEMPLATE | ||
.gitignore | ||
eaglermobile-ef.js | ||
eaglermobile.user.js | ||
LICENSE | ||
README.md |
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)