Giter Site home page Giter Site logo

Comments (12)

dirkwhoffmann avatar dirkwhoffmann commented on May 27, 2024

12" C64 tablet with a pencil. Awesome 😎.

IMG_3675

BTW, I've started to work on VirtualC64 4.0 a couple of days ago. In v4.0, I want to port back a lot of stuff from vAmiga, so both emulator will eventually be closer together, both internally (code base) and externally (GUI).

from virtualc64web.

mithrendal avatar mithrendal commented on May 27, 2024

nice !! That looks cool 🀀 🀀 🀀 🀀 ... is it fas enough ?

here I tried the brand new virtual joystick on desktop with the mouse ... flys ok

grafik

@jeromeetienne has a super cool feature called mouse emulation ... the joystick takes mouse events as touch events... yeah !!

from virtualc64web.

mithrendal avatar mithrendal commented on May 27, 2024

In v4.0, I want to port back a lot of stuff from vAmiga, so both emulator will eventually be closer together, both internally (code base) and externally (GUI).

should be ok for vC64web as it has only a handful of modifications in the core code to make it run with wasm ... I am looking forward to copy the new emulator core into vC64web when you are done with it... then afterwards it should be easy to do the vAmigaWeb right?

does the touch joystick work with the pencil ?

from virtualc64web.

dirkwhoffmann avatar dirkwhoffmann commented on May 27, 2024

Hmm, it doesn't load any more on the iPad 🀭. It says "Emscripten - Downloading...", but doesn't finish. It loads well in Chrome or Safari.

from virtualc64web.

mithrendal avatar mithrendal commented on May 27, 2024

I had this too πŸ₯΄. Go to ipados settings ... choose safari...

27C3ECB1-CC97-40C5-A7FA-1E63327BE295
scroll down the last item β€œextended” ... then choose β€œwebsite data” then type in the search field dirk and then delete the website data by swiping to left

E1F6136F-54C0-4D8C-BEBD-07DE4A409F9A

This only deletes website files not the snapshots in the indexeddb nor the settings in localstorage.

I have to dig into the PWA thing again I think...

from virtualc64web.

dirkwhoffmann avatar dirkwhoffmann commented on May 27, 2024

Deleting the cached data did the trick, it loads fine now 😎. But I wasn't successful with the game.

I wasn't able to load T64 files on the iPad. When I select a T64 file on the iPad (from the Documents folder like I did with the Roms), nothing happens. Typing "Run" has no effect, too.

CRTs work, but I wasn't able to move PacMan with the new joystick. When I use the pen in the left screen area, I get two white circles, but when I use the pen in the right area, I get red circles. In both cases, PacMan doesn't hear on my commands. Furthermore, using the pen causes the game to freeze from time to time 😲. And there is no sound on the iPad πŸ™.

from virtualc64web.

mithrendal avatar mithrendal commented on May 27, 2024

For enable sound you have to demute the ipad and touch into the emulator canvas. That enables sound. (We should have an overlay icon for it I guess ✌️)

The virtual joystick are effective two. When you touch with the finger in the left half of the screen then this gives the directions ... it shows it with white circles. When you touch the right side ... that tells vc64 the fire πŸ”₯ press ... this is drawn with a red circle

As the two virtual joystick instances handle effectively multitouch the mouse has problems with it ... it seems to draw direction and fire at the same position and time.

For pacman game try the other port should work. When this does not work reset to blue c64 screen and put touch to port1 and move it ... it should print strange numbers 2221.... and so on, no?

Tape files is still an open issue. I did not connected it to the core yet.

Do you see freezes with fingers only too?

I have to fly another round FortApo...

from virtualc64web.

mithrendal avatar mithrendal commented on May 27, 2024

I got the freezes too now. When enabling the touch joystick... πŸ™ˆ

Strange the last 5 times or so it worked so well...

I got it ... it is an JavaScript exception

Look... half transparent
22828DAA-C3C8-43DB-83F6-5FC1311CF143

from virtualc64web.

mithrendal avatar mithrendal commented on May 27, 2024

found it πŸ˜…

the first problem was a copy paste error πŸ™„ ... that made "port2 touch" selectable ... but it effectively did not create the virtual_joystick component... (only when you had before selected port1 and then directly switched to port2 then it was working)

found the second problem 😬... this was a null pointer exception and kind of interrupted/freezed the allmighty "draw_one_frame_into_SDL". The problem was that the drop down box selected the touch but the joystick was not created (due to first problem) hence it stopped

both are fixed and pushed to gh-pages ...

you see it that it is the new version when you straight go to select port2 to touch and when it then draws circles ... and does not freeze then it is the fixed version

is PacMan in port2 ?

this time again iOS did not update (well known issue on the net for iOS) ... but then I used the "manually update installation" button in the vc64web settings ... and it worked ... had not to clear the cache ... anyway .. we have to keep an eye on that one 🧐

from virtualc64web.

dirkwhoffmann avatar dirkwhoffmann commented on May 27, 2024

PacMan works. Woohoo πŸ₯³. Now I know what tablets are made for 😎.

IMG_6301

For enable sound you have to demute the iPad

How do I demute the iPad? πŸ™„

from virtualc64web.

mithrendal avatar mithrendal commented on May 27, 2024

what is it for an iPad ? Does it have a hardware mute switch like an iPhone ? Or software mute only ? Did you ramp up the volume ?

try this https://discussions.apple.com/thread/4239117

what about the pencil does it work now ? Maybe cool for GEOS 😁!

from virtualc64web.

mithrendal avatar mithrendal commented on May 27, 2024

look we got a tiny favicon now ... do you see it ? Its very small...

grafik

other news ... I prepared a trap for bugs ... when an exception occurs it will be displayed as an alert .. with line number and source file name ... it is also appended to the live debug output even if that was disabled ... so enabling it should make one see all the trapped bugs ...πŸ‘» πŸ‘» πŸ‘»

from virtualc64web.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.