two9a / c64clicker Goto Github PK
View Code? Open in Web Editor NEWCommodore Clicker, the incremental-driven emulator
License: MIT License
Commodore Clicker, the incremental-driven emulator
License: MIT License
This is easier to see if Reduce FPS is ticked, and the pixels per second is high. If enough pixels are picked up between steps, the next frame is reached without the current frame being drawn. The portion of the next frame which is then reached is drawn, which may only be a small percentage of the new frame.
Present behaviour is for an item to pass its display threshold and appear greyed-out, then to become active when enough pixels are in the bank. However, once the item is purchased and bank falls below the display threshold, the item disappears and the threshold needs to be crossed again.
The display threshold should act in a one-time fashion.
It gets a little confusing to see 175,888Hz (for example), especially if you're in a country where the comma is a decimal point. An optional display of 175kHz would be nice.
The game is a CPU hog. My first guess would be that it's updating the display too frequently.
So this is easiest to see if you run the following in console, having built up to a decent per-click value:
CClicker.loadDisk('/rom/truth.d64');
setInterval(function(){$('#click').click()},3)
Notice how, once loaded and running, the 64 #1
moves in a jerky and jumpy fashion. Compare to the same disk image running in VICE.
If the "Sanyo TV" upgrade is enabled, the current-position tickers don't extend all the way to the right/bottom edge, but stay in their pre-Sanyo positions.
Occasionally, a jQuery plugin will load before jQuery, and will crap itself on loading. This is non-ideal.
I've never written a sound emulation before, so I've no idea how to go about this.
Two sticking points: the click that accompanies volume changes in the hardware SID, which we may want to emulate as the fourth voice; and the analog filter chain.
If you load with reduction off, and turn it on, PPS drops 40x; conversely, if you load with reduction on and turn it off, PPS increases 40x.
There's probably a way to turn this off, so you can tap more than once every couple of seconds.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.