Merge branch 'FlamedDogo99:main' into main

This commit is contained in:
radmanplays 2024-05-28 21:36:56 +03:30 committed by GitHub
commit dd65423625
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 175 additions and 132 deletions

22
README.md Normal file
View File

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

File diff suppressed because one or more lines are too long