Releases: FlamedDogo99/EaglerMobile
Releases · FlamedDogo99/EaglerMobile
Eagler Mobile v3.0.5b
Touch Controls Update
- Rewrote touch controls handling (See readme for controls)
- Crafting tables and other GUI can now easily be used (See #21)
- Fixes text selection on Mobile controls
- Fixes the rest of #15
- Removed unsafeWindow reference left over from testing
What's Changed
- GUI Update by @FlamedDogo99 in #31
What's Next
- Dynamic enabling and disabling features
- Full GamePad support
- EaglerForge version rewrite (See #28 for details)
Full Changelog: v3.0.4...v3.0.5
Eagler Mobile v3.0.4
What's Changed
- Compatibility mode now uses
beforeinput
instead ofinput
keyboardEnabled
has been replaced withhiddenInputFocused
- The keyboard button previously just called
select
orblur
based onclientWindow.keyboardEnabled
. When the user dismissed the keyboard without pressing the keyboardButton, they would need to repress the button twice to enable the keyboard. This change makes it callselect
andblur
based on the focus state, eliminating that issue
- The keyboard button previously just called
toggleKeyboard
no longer exists, and has been moved inside of the keyboardButton touch event listener- By moving the script for toggling the keyboard into the event listener, we can directly reference hiddenInput without needing to use querySelector again
- Compatibility mode has been completely reworked
- Some Android devices only dispatch input events with inputType set to insertCompositionText, even with deletion. There now is a check for that. This change also allows detecting the enter key from insertLineBreak.
- Fixes #18
html
,body
, andcanvas
now have aheight: 100 svh
before-webkit-fill-available
- Previously Android Chrome and FireFox had content hidden by the navigation bar. This change fixes that.
- Better comments and documentation have been added
Tested On
- MacOS Brave
- MacOS Safari: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
- iOS Safari: Mozilla/5.0 (iPhone; CPU iPhone OS 17_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2 Mobile/15E148 Safari/604.1
- Tested on Xcode Simulator
- Android Chrome: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Mobile Safari/537.36
- Android Firefox: Mozilla/5.0 (Android 10; Mobile; rv:126.0) Gecko/126.0 Firefox/126.0
Full Changelog: v3.0.3...v3.0.4
Eagler Mobile v3.0.3
Changes
- All calls to
window
are nowclientWindow
- Tampermonkey does not allow Userscripts to run outside of the sandbox, while the iOS Userscripts app does. This change allows the
window
object to be used when unsafeWindow is undefined.
- Tampermonkey does not allow Userscripts to run outside of the sandbox, while the iOS Userscripts app does. This change allows the
- Added
inputFix
window state, which is turned on when double input events are detected- Some Android devices dispatch an additional
input
event when the input element is programmatically updated. When we set the input for the first time as the DOM loads, we can see if this is happening. If it is, we ignore every other duplicate key press.
- Some Android devices dispatch an additional
- Added CSS and eventListener to prevent long presses on Chrome triggering the save-image dialog
- To use the touch controls, the user is required to hold or drag on buttons. On iOS Chrome, this causes the save-image dialog to appear. This change should prevent that.
Relevant Issues
- Repo link fix by @FlamedDogo99 in #16
- Fixes for Android keyboard input, and mobile selection by @FlamedDogo99 in #17
Full Changelog: v3.0.2...v3.03
Eagler Mobile v3.0.2
Bug Fixes: File Uploads
- Rewrote
Document.prototype.createEvent
injected function to fix #11 and avoid conflicts causing crashes with #7.
What's Changed
- Fixed input handling by @FlamedDogo99 in #12
Full Changelog: v3.0.1...v3.0.2
EaglerCraft 3.0.1
Big changes!
Keyboard support (Android and iOS):
- Added window.keyboardFix, which controls wether
keydown
orinput
events are used for keyboard capture. - Added input monitoring to seamlessly transition between window.keyboardFix states
Better keyEvent functions
- Consolidated
shiftKeyEvent()
,deleteKeyEvent()
, andkeyEvent()
into a singlekeyEvent
function that supports more keys - All keyboardEvents should either be called through
keyEvent()
or setevent.isValid
totrue
to allow theinput
keyboard events to work
Fake pointerlock and fullscreen API
- Pointerlock and the fullscreen API are read-only on some mobile devices, even though they had no functionality. This is now no longer the case
What's Changed
- Android Keyboard Fallback & Other Improvements by @FlamedDogo99 in #10
Full Changelog: v2.4...v3.0.1
Eagler Mobile 2.4
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)
What's Changed
- Keyboard Button by @colbychittenden in #1
- Added select button by @FlamedDogo99 in #3
- add eaglermobile for eaglerforge by @radmanplays in #2
- added keyboard toggling by @colbychittenden in #8
New Contributors
- @colbychittenden made their first contribution in #1
- @FlamedDogo99 made their first contribution in #3
- @radmanplays made their first contribution in #2
Full Changelog: https://github.com/FlamedDogo99/EaglerMobile/commits/v2.4