ruffle-android icon indicating copy to clipboard operation
ruffle-android copied to clipboard

better toolbar and keyboard

Open soundsnow opened this issue 2 years ago • 71 comments

background: outline or fill opacity: 0-255 color: RGB0-255

screenshot: outline, 255, white shift and capslock is one key after you input another key grey keys will be transparent (default), but purple keys won't be changed unless tap them again manually landscape portrait press hold

I remember some hotkeys for web browsers Ctrl+R, F5 Refresh page Ctrl+W, Alt+ F4 close page I added them to top toolbar Rufffle bar (toolbar) should be hidden/shown in landscape mode manually by pressing back triangle

soundsnow avatar Jun 18 '23 03:06 soundsnow

can you fix this flash game in portrait and landscape https://archive.org/download/EYEZMAZE/EYEZMAZE/Black_Box.swf

another thing it can't close current swf and open another swf unless force stop this app

soundsnow avatar Jun 18 '23 03:06 soundsnow

sorry, my English isn't good add these to toolbar (left side) mute/unmute, play/pause

this should be helpful if you want to play different flash games custom profiles and per game profile

keyboard should be hidden by default because a lot of flash games only support mouse

"SWF URL" should be removed I don't want to backspace "SWF URL" manually every time then paste URL

mouse mode: mouse (move a finger on screen), touchscreen (exact position)

mouse sensitivity if real mouse mode is enabled

touchscreen is enabled by default because of Android phone screen size is less than PC monitor

I tried scare maze, that's too easy. Tap the goal, you passed that level

keep screen on if you're watching a flash animation and you can hide toolbar

add a shortcut to launcher for swf you're playing

soundsnow avatar Jun 18 '23 04:06 soundsnow

profiles create new profile

rename profile set a profile as default delete profile edit profile

screen options custom resolution on/off add/remove resolution input width and height scale % screen orientation: default, auto, portrait, landscape screen gravity: default, left, top, center, right, bottom scale type: as is, fit to window, fit to window (ignore aspect ratio) graphics mode: software, hardware (opengl es), hardware (vulkan) force fullscreen on/off

input devices touch input (mouse) on/off add/remove custom layout

virtual keyboard on/off button shape: oval, rectangle, rounded rectangle opacity label color button color (transparent default) outline color

soundsnow avatar Jun 18 '23 05:06 soundsnow

keylayout edit keylayout resize

for custom onscreen gamepad and flash lite phones

soundsnow avatar Jun 18 '23 05:06 soundsnow

image1

soundsnow avatar Jun 18 '23 07:06 soundsnow

there're some java phones supports Flash Lite that's why screen orientation and screen gravity needed for some touchscreen phones, you can play flash games in portrait without its keyboard some phones have extra buttons: ABCD Nokia or SonyEricsson phones you can play a game in portrait or landscape some phones have a 8-way D-Pad instead of 4 arrow keys I didn't find backspace and enter, but nokia phones have these keys often used virtual keyboard for landscape and portrait should be different. like my screenshots keyboard shouldn't be filled with color by default, I can't see background in landscape, It should be transparent. only labels and outline should be filled with colors

soundsnow avatar Jun 18 '23 07:06 soundsnow

These 4 smartphones may support Flash Lite They're iPhone's opponents you can find their or more different old phone IMAGES/3DModels on gsmarena.com konkurencja-1000x498

soundsnow avatar Jun 19 '23 13:06 soundsnow

toolbar, keyboard, mouse cursor, virtual gamepad can be hidden mouse touch or mouse move can be disabled

keyboard, mouse cursor, virtual gamepad color can be changed. transparent default mouse cursor, virtual gamepad size can be changed

why mouse cursor is needed? mouse cursor on/off mouse mode touch: no need commonly unless my hand is too big, and I don't have Samsung S-Pen or Motorola Stylus. They're more accurate than my fingers move: it's necessary because you need to know cursor position. Move on screen like a mouse mat. Cursor position may be not your finger position.

what's mouse mode I'm thinking? move: route is followed by moving direction. you can't make cursor from (1,1) to (4,4) instantly (1,1) (2,2) (3,3) (4,4) touch: route is followed by your finger. you can make cursor from (1,1) to (4,4) instantly or move your finger from one position to another position (1,1) (4,4) or (1,1) (2,2) (3,3) (4,4)

movement keys can be placed at left side or right side of screen for different handed people

2 way paddle (up/down) 2 way paddle (left/right) 4 way dpad 8 way dpad 16 way analog stick 3 way paddle (2 way + center button) 5 way phone controller (dpad+ center button) 9 way phone controller (dpad+ center button) 17 way analog stick (16 way + center button)

pick keys what you need from full size keyboard. 104 keys? pick all keys you need then you can close that window, don't like some apps let user choose only one key then reopen that window to choose next key

Capslock, Numlock, Scrolllock, Shift switchable keys are hidden by default. you can show those keys then pick from them

LCtrl, RCtrl, LAlt, RAlt, LShift, RShift can be picked from key grid

soundsnow avatar Jun 20 '23 01:06 soundsnow

Allow add 1 to 4 Paddles/D-Pads/Analog sticks on screen because some flash games support 4 players to play (wireless or one keyboard) left 2 fingers control p1p2, right 2 fingers control p3p4 play fanmade bomberman

rotate animation window 0, CW 90°, 180°, CCW 90°

soundsnow avatar Jun 20 '23 03:06 soundsnow

You can switch freely between paddle/dpad/anglog stick, and four players can move in different ways

for example p1: dpad, p2: paddle, p3: analog stick, p4: paddle

center buttons like xbox/ps controller l3 and r3 l3 is left stick button, r3 is right stick button like old java phones, 4 or 8 way + center button

soundsnow avatar Jun 21 '23 07:06 soundsnow

canvas color I'm not sure, but some flash games show me pure white background color. It's harmful to my eyes pure black is better

i can't back to animation window page but it's still playing Back to Ruffle home page then you can't back to content page

blackscreen bug: open an animation swf it's playing you tap circle (navigation bar) back to your system home launcher then back to ruffle it's blackscreen. yes it's still playing

soundsnow avatar Jul 01 '23 07:07 soundsnow

screen position: top left center right bottom Screenshot_20230701-161310_Trebuchet Screenshot_20230701-161253_Trebuchet Screenshot_20230701-161232_Trebuchet Screenshot_20230701-161142_Trebuchet Screenshot_20230701-161112_Trebuchet Screenshot_20230701-161032_Trebuchet

soundsnow avatar Jul 01 '23 08:07 soundsnow

how to open a flash game with many levels 1 game but more than 2 files even many folders for just 1 game some Nitrome games

https://archive.org/download/all_nitrome_games/Hot%20Air%202/ https://archive.org/download/all_nitrome_games/Hot%20Air/ https://archive.org/download/all_nitrome_games/Hot%20Air%20Jr/ https://archive.org/download/all_nitrome_games/Magneboy/

soundsnow avatar Jul 01 '23 08:07 soundsnow

how to open a flash game with many levels 1 game but more than 2 files

That doesn't work yet, sorry. But it is planned of course. No time estimate though...

torokati44 avatar Jul 01 '23 08:07 torokati44

select, cut/copy/paste and clipboard (IME and built-in) cutcopy1 Early year of iPhone OS, Apple showed ushow to copy, cut and paste Today, Windows 11 has its built-in clipboard tool I think they're useful I can copy the Answer of that Question from a website Firefox copy or cut, Ruffle paste or clipboard input or Ruffle copy/cut then paste or clipboard input Sometimes you need to type something too long is possible copy/cut from Flash content? It's used to do something like cheat code, unlock premium levels or easter egg

https://en.m.wikipedia.org/wiki/Macro_key Macro keys are also needed For some fighting games (king of fighters, street fighter fanmade), It allows you to defeat your opponent in a short time

Turbo keys hold to enable that turbo key until you release press to enable that turbo key until you press again

you can also rename turbo, macro or one key i added two keys one run, another is jump they (one key or all keys) can be hidden, shown, deleted, added

soundsnow avatar Jul 02 '23 02:07 soundsnow

add turbo, macro, clipboard to toolbar You can add or enter multiple virtual buttons or clipboard sentences at a time. Instead of adding a button and it disappears, you have to click Add and select the button again. Because small screen devices cannot display all functions, you have to click more to open them

soundsnow avatar Jul 02 '23 02:07 soundsnow

don't make it refresh recent list or file list this is better for hardware life

i used some apps, after i exit from a opened file, it refresh/rescan all files 29GB. MAME4droid costs me too much time to REscan files so don't scan files automatically scan files automatically when there's no files are shown in list after you scanned files, next time you don't need to rescan them again unless you added or deleted files then scan files manually

For example If someone copied 65GB files from flashpoint to his Android phone. He don't want to Ruffle Android REscan files too many times automatically

soundsnow avatar Jul 02 '23 03:07 soundsnow

Can you implement some useful functionality in Adobe Animate?

soundsnow avatar Jul 02 '23 03:07 soundsnow

turbo speed, interval, delay

zoom+, zoom- button pinch gesture 0-100% slider+custom inputted value

minium size screenshot original screenshot custom resolution screenshot folder: Pictures/Ruffle or Android/data/ruffle app/screenshot filename: swf filename_time.jpg/.png(or other file format) Dude.swf Dude_20230512-162755.png don't create screenshot folder like some apps, even no pictures but create an empty folder

custom toolbar layout like this show keyboard,more(add button) to add button, more (show keyboard) you can place some toolbar buttons to the best position

key layouts delete add set default rename (default name 0,1,2,3), you can choose from them

soundsnow avatar Jul 02 '23 04:07 soundsnow

Different toolbar and others layout for tablets and foldables Phone stylus and Tablet keyboard (famous manufacturer: Samsung?)

soundsnow avatar Jul 02 '23 06:07 soundsnow

For different machines, they have different aspect ratio of screen

This is a Vertical/Horizontal (Portrait/Landscape) game It's a phone game made by gameloft Prince of Persia It allows players to change its in-game screen options

Another game called Ikaruga It's an arcade Vertical shooter like Space Invaders It has Sega Dreamcast and Nintendo Switch versions To play Ikaruga home version like Arcade Dreamcast: Buy a rotating monitor, change display settings from horizontal to vertical mode. Rotate your screen Switch: change settings and play that game with Joy-Con or other Wireless controller

Device Orientation: Auto, Portrait, Landscape Screen Rotation: 0, 90°CW, 180°, 90°CCW Screen Position: Left, Top, Center, Bottom Right Notch & Status Bar Screen: On, Off Navigation Bar (Navibar) Screen: On, Off Toolbar: On, Off Virtual Keyboard: Built-in, IME, Off Screen Mouse: Touch, Real-like, Off Mouse Cursor: On, Off

Buttons are not allowed to extend beyond the edge of the screen. A button is not allowed to be covered by another button, it can only be close to the border of another button at most.

Another useful feature comes to mind. For more than two buttons, I don't want to remove them one by one to another position after rotating the screen. Before moving them, I can specify which added adjacent buttons to move, for example I want to move all numbers or all arrows. To move multiple numbers, click "Select" 1234567890 or UpDownLeftRight, then click "Move", and finally click "Finish" There are two ways I recommend providing multiple selection buttons, list checkboxes and clickable multiple buttons. Because some people make the buttons very small, which makes it difficult to precisely select the button that needs to be moved Individual buttons can also be moved individually

Screenshot_20230702-183656_Trebuchet Screenshot_20230702-183537_Trebuchet Screenshot_20230702-183416_Trebuchet

soundsnow avatar Jul 02 '23 10:07 soundsnow

These keys are very commonly used, adding multiple keys to the screen at once You can change the size of these overall after adding

slider+input or corner extrude individually 26 letters 10 numbers 17 Numpad keys 4 Arrows: Arrows, 4way Dpad, 8way Dpad

I don't know if other mobile phone OSs (Blackberry, Palm, Windows) support Flash Lite. I know a truth, Nokia S60v3 Symbian OS at least support it https://en.m.wikipedia.org/wiki/File:Nokian97.png Ruffle doesn't support phone keys? Some directional controller is arrows, some D-Pad(8way,4way) with/without OK/Fire(I don't what's it's name) That N97 directional controller left side I know some other controller like trackball,touchpad for mobile phone

Why don't you add Touchpad? https://en.m.wikipedia.org/wiki/Touchpad Use it like your phone screen, It should support multiple fingers, gestures and others I don't know how to say there're 2 mouse keys for Touchpad at the bottom I think these 2 Touchpad keys can be added on screen individually if you choose Touchpad mode Mouse: Touch, Real-like, Touchpad, Off

That's what? Notebook or Laptop? English isn't my native language

Add a "menu" button to the toolbar, it won't be hidden. After tapping it you can use all the settings without tapping the "More" button in the toolbar All settings are presented as a list, through which you can change/add or remove toolbar buttons and sorting After opening the menu page, the background is transparent, and the player will be paused. You can click the first “resume” to return to the player page, and it will unpause and continue playing On the menu page, you can also replace other swf file or exit (the last one). The bottom three-button navigation bar will also be displayed

menu page like these but more option categories https://image.winudf.com/v2/image1/Y29tLmV4cGx1c2FscGhhLlN3YW5FbXVfc2NyZWVuXzBfMTY2Mjc3NDI4N18wOTg/screen-0.webp?fakeurl=1&type=.webp https://image.winudf.com/v2/image1/Y29tLmV4cGx1c2FscGhhLkx5bnhFbXVfc2NyZWVuXzJfMTY4MDczNTg0Ml8wNjE/screen-2.webp?fakeurl=1&type=.webp

soundsnow avatar Jul 02 '23 12:07 soundsnow

Those are 240x320 These are 320x240 I don't like Rounded Rectangle (Navigation bar, Status bar and Notch) Screenshot_20230702-204823_Trebuchet Screenshot_20230702-204612_Trebuchet Screenshot_20230702-204136_Trebuchet

soundsnow avatar Jul 02 '23 12:07 soundsnow

I think you should save one (two total) button layouts each for Landscape and Portrait. Unless your screen has an aspect ratio of 1:1, the display will be messed up after you switch. for example Add Portrait button layout for qweswf, switch to Landscape and it will not be displayed. Because you need to add a new button layout for Landscape

soundsnow avatar Jul 02 '23 13:07 soundsnow

Windows 11: Settings - Bluetooth & devices Mouse, Touchpad, Touch (hidden because of Non-Touchscreen?), Pen

I don't have a Windows 11 PC. I think They're useful for Ruffle Android pure white make eyes die earlier Touchpad_settings-1 Touchpad-Settings-Windows-11-1280x830

soundsnow avatar Jul 02 '23 14:07 soundsnow

I remember Flash support Camera and Microphone For my Android 12 phone you need to allow Mic access and Camera access permissions But I don't what flash productions support these 2 hardware Windows 11 also support Camera and Microphone, you can add some settings from them I guess ruffle doesn't support them currently, it's used to play games or animations by most people

soundsnow avatar Jul 02 '23 14:07 soundsnow

Microphone source: Device Hardware Noise (Non Hardware) Background Music player (Non Hardware)

add a button microphone button

record volume reduce echo

display enable hardware acceleration

camera source: front back I know an open source Game Boy Color emulator GBCC supports 2 cameras for camera cartridge games. It have Google play version and github debug version

if you know more knowledge how about this They're used to do different things front 1, front 2 back 1, back 2, back 3, back 4

soundsnow avatar Jul 02 '23 14:07 soundsnow

Toolbar is used like Android's quick setting for quick access, but it can't let you manage all settings you can add or remove some of them on/from toolbar what's QS? How do you enable Mobile data or WiFi?

Touchable/Draggable Scrollbar, Slidable Tabs, Slider+Inputted Value, Switch, Search

Settings Categories

Graphics: Rendering mode, Framerate control, Speed Hacks, Performance, Texture Scaling, Texture Filtering, Google Cardboard VR settings, Camera, Hack settings, Overlay Information

Controls: Controls, On-screen touch controls, Keyboard control settings

Audio

Networking

Tools

System: UI, Flash memory (savedata?), Emulation, General, Flash settings

Search: Find settings

About History/Recent page limit to 10 contents to avoid waste of RAM add a Clear list to bottom of that page

soundsnow avatar Jul 02 '23 21:07 soundsnow

Settings subpages top left a back button

manage toolbar like Android Language manager you can sort, add or remove them Screenshot_20230703-092714_Trebuchet Screenshot_20230703-092705_Trebuchet Screenshot_20230703-092652_Trebuchet

back|remove toolbar left|right refresh|menu close|screenshot open|zoom add

you can also access menu page or settings by tapping virtual keyboard cog/gear.

Another thing, remove toolbar "Ruffle" We know its name by the way this will reduce app size Commonly used buttons should be left side of toolbar

I used an app, it scan files faster before Android 11 after updating, it scan files slower that developer optimize code, then it's slower than Android 10, but it's faster than previous Android 11 build. that app is Snes9x EX+, i prepared 4000+ zip files 3GB+ to test So I think optimizations are important if you want to it cost less time to scan a large folder files you can also access chosen folder's subfolders

About "REscan Automatically" don't do that automatically, it's harmful to hardware life. this is what I recommend

choose a folder (scanning), show file list force stop and reopen app, show file list (not scanning) if you want to rescan, you can access its subfolder then back to that folder or stay current folder, tap rescan button

what i don't want to be happened rescan folder after open app everytime rescan folder after you exit from a content rescan when you're searching

soundsnow avatar Jul 03 '23 01:07 soundsnow

record or expert to videos (music and no music), music or pictures (including gif, Vector format)

macro keyboard virtual button or real hardware macro mouse virtual button or real hardware

if you bought some expensive gaming mouse, you'll see those keys as far as i know, some styluses also have shortcut

Magic Touch by Nitrome https://youtu.be/eoIn6DuwNPg This game is so hard

difficulty Touchpad hard Mouse normal Touchscreen easy graphics tablet+stylus easy

but it will be faster and faster so virtual button mouse macro is needed

first, you need to tap toolbar pause button to pause it select mouse status: hold leftkey then draw U O V C Z N M and more. move these virtual buttons on screen disable mouse to avoid screen mouse behavior you can unpause after drawing first, wait for next draw second then unpause wait for next draw third finally, you only need to do is tap buttons

mouse macro tools allow users redo, undo, 2 points connect to a line, leftkey hold/release/click (step by step or full steps), teleport (click/hold/release)

you can specify which line is hold or release (move only)

what's teleport? Scary Maze: you're cheating (actually some touchscreens support this, it's not cheating) (56,29) to (96,87) within 1 frame

how to draw a good line? line tool, first point to second point choose how you draw? hold leftkey or just move mouse to second point! if you did something wrong, undo and redo.

soundsnow avatar Jul 03 '23 07:07 soundsnow