|
Post by drsnuggles on Dec 30, 2019 18:28:46 GMT -5
playvectrex: Your Feat.Req. is now online. Click "Copy Link" button. I had a another req. from FB group: "can you make the rom parameter be a URL?" Maybe that also helps you. You can now use URLs as rom parameter like this: DrSnuggles.github.io/jsvecx?rom=https://DrSnuggles.github.io/jsvecx/roms/Commercial/Rip-Off.binInfos: - Take care that rom also has to be hosted with HTTPS. Mixed content is blocked by browsers. - CORS has to be enabled on server where rom is hosted - I try to load an overlay with same URL but with .png file extension
|
|
|
Post by drsnuggles on Jan 2, 2020 14:20:58 GMT -5
Just another small keyboard mapping update. Player One had one mapping Player 2 had two of them. I cleaned that up and now it's still the known JSVecX settings as default for player one. Player two is only found on Numpad. See above. To fit all wishes i made parameters where you can set your keys. There are 2 parameters "keys1" and "keys2" for player one and two. The order is Up,Down,Left,Right,Button1,Button2,Button3,Button4 playvectrex: your player two settings look like this &keys2=Digit8,KeyI,KeyU,KeyO,KeyQ,KeyW,KeyE,KeyR Another setting i discussed with my friend Daniel. He likes to play with stick: WASD + buttons: Numpad1-Enter &keys1=KeyW,KeyS,KeyA,KeyD,Numpad1,Numpad2,Numpad3,NumpadEnter For a detailed list of codes you can use see: developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/code/code_values
|
|
|
Post by playvectrex on Jan 6, 2020 10:32:21 GMT -5
That works drsnuggles, although it's going to be one of those hidden features that nobody uses without documenting it well. Would be good to have some kind of a "custom keys" link that opens a window to explain the URL settings for keys ;D
|
|
|
Post by VECTREXER on Jan 6, 2020 12:03:13 GMT -5
Thanks for all of the work drsnuggles. It's been fun playing and seeing the improvements.
|
|
|
Post by drsnuggles on Jan 7, 2020 2:26:59 GMT -5
That works drsnuggles , although it's going to be one of those hidden features that nobody uses without documenting it well. Would be good to have some kind of a "custom keys" link that opens a window to explain the URL settings for keys ;D Yes, the documentation part ... Actually there is little to none but i promise to change that. All URL parameters are kind of hidden right now. Quick summary: ?rom=Accepts URL, filename or simple rom name &sound=on | off : Nice for office playing and if you want to link to a rom with known audio problems (Berzerk) &pause=on | off : Opens in paused mode &menu=on | off : Opens menu with instructions &rtm= on | off : Opens chips view &aa=on |off : Toggles antialias &overlay=1 | 2 : Numeric, how often ToggleOverlay is pressed when opened &keys1=Up,Down,Left,Right,Button1,Button2,Button3,Button4 &keys2=Up,Down,Left,Right,Button1,Button2,Button3,Button4 &gp1=Up,Down,Left,Right,Button1,Button2,Button3,Button4 &gp2=Up,Down,Left,Right,Button1,Button2,Button3,Button4 &bios=B796 | 7931 | 7ADB (default) &bopt=ori | fast (default) | skip
|
|
|
Post by drsnuggles on Jan 7, 2020 16:47:57 GMT -5
Instead of writing documentation i decided to add different BIOS versions. I also added the option to patch the selected BIOS to make it a fastrom or even skip welcome screen.
Again there are parameters for that: &bios=B796 | 7931 | 7ADB (default) &bopt=ori | fast (default) | skip
Benefit: bugfixed MineStorm without loading a rom, fast and skip option for all BIOS version
|
|
|
Post by VECTREXER on Jan 7, 2020 17:13:52 GMT -5
Instead of writing documentation i decided to add different BIOS versions. I also added the option to patch the selected BIOS to make it a fastrom or even skip welcome screen. Again there are parameters for that: &bios=B796 | 7931 | 7ADB (default) &bopt=ori | fast (default) | skip Benefit: bugfixed MineStorm without loading a rom, fast and skip option for all BIOS version How about a Custom BIOS URL load feature? For those people who want to roll their own BIOS with a custom game or new BIOS routine.
|
|
|
Post by drsnuggles on Jan 8, 2020 6:01:47 GMT -5
How about a Custom BIOS URL load feature? For those people who want to roll their own BIOS with a custom game or new BIOS routine. Thanks for that. Now it is similar like cart rom loading behaviour. ### 01/08/20 (0.3.10) (DrSnuggles) - Idea by Vectrexer: load BIOS from URL (looks for // in bios parameter, take care of mixed content and CORS) - Take care of bios options which default to fast. Better to set &bopt=ori - drsnuggles.github.io/jsvecx/?bios=https://drsnuggles.github.io/jsvecx/bios/b796.bin&bopt=ori
|
|
|
Post by drsnuggles on Jan 13, 2020 17:06:25 GMT -5
Just some minor updates after a lot of tests
### 01/13/20 (0.3.13) (DrSnuggles) - automatic quality (one button less and attached to resize, smaller viewports benefit a lot, huge viewports need bit more CPU) - analog touch input (known issue while using stick and buttons) - reduce amount of requests (manifest + favicon)
### 01/12/20 (0.3.12) (DrSnuggles) - favIcon
### 01/11/20 (0.3.11) (DrSnuggles) - improved mobile experience (manifest) - a lot of tests... and roll-backs - GFX (branch rAF-test): - use reqAnimFrame everywhere: 50.0fps are hard to get - try to use more canvas draw like routines instead of pixel stream: worked but had some flickering, felt different to play - SFX (branch Audio-test): use Ayumi as audio renderer: sounded "colorful"
|
|
|
Post by drsnuggles on Jan 14, 2020 10:49:37 GMT -5
YES YES YES !!!Next step forward in jsVecX emulation/evolution. I reworked the osint function. It was more an ancient c pixel representation than modern canvas drawing... Don't want to bore you with details Result: now there a vectors drawn (lines and rects) you can save a svg/png by pressing "Print". Also looks a bit different because i added this phosphor luminescence (will add slider for that effect).
|
|
|
Post by VECTREXER on Jan 14, 2020 11:58:04 GMT -5
Support for the Vectrex Light Pen yet?
|
|
|
Post by drsnuggles on Jan 14, 2020 13:45:25 GMT -5
Support for the Vectrex Light Pen yet? I'm sorry, not yet. It's in my ToDo list but there is a lot in there. Still have this touch input unfinished, which i do not really love. Finishing that is higher prio but distraction is welcome.
|
|
|
Post by drsnuggles on Jan 14, 2020 13:46:12 GMT -5
Meanwhile i did the volume and luminescence sliders and ofc parameters for that - &vol=0.00...1.00 (default:0.3) - &lum=0.00...1.00 (default:0.5)
|
|
|
Post by ls650 on Jan 14, 2020 22:02:25 GMT -5
I just wanted to write that I'm really enjoying this emulator. Of course it's not quite as nice as a real Vectrex, but it's a very good substitute. When I'm home my "daily driver" computer is a 15-inch Acer Chromebook. It's fine for web-browsing or watching Netflix, but gaming is severely lacking. I just tried playing a few Vectrex games (Minestorm, Armor Attack, Rip-off, Solar Quest) with this emulator and it works great. Heck, I plugged in an iBuffalo USB gamepad, and that works really well too. Thanks for making this available!
|
|
|
Post by drsnuggles on Jan 15, 2020 4:07:54 GMT -5
ls650 Thank you very much for your feedback. Since i decided to make it friendly, i mean without cookies, ads, trackers and all that annoying stuff i lag a bit of user feedback. Also thanks for the iBuffalo USB gamepad testing. Most gamepads should run out of the box, maybe some need a button configuration via parameter &gp1=... I like to play the Rip-Off co-op mode and yes two gamepads are supported. Reminder: Please do not use your laptop/notebook built in keyboard for playing! You cannot replace it easily.
|
|