richardl64 / visual-pinball Goto Github PK
View Code? Open in Web Editor NEWMy Visual pinball & associated software mods/scripts settings.
My Visual pinball & associated software mods/scripts settings.
Hello.
Im using LaunchVideo.js script on my PinballY machine but something its going wrong.
I have the files into correct path: PinballY/Media/Launch Videos/nametable (manufacturer year).mp4
And log file show something like this: Playing White Water (Williams 1993) This video file exists, and if it doesnt, show Playing Launch, but any video appears ...
Any idea?
Thanks!
What im doing wrong?
I have zero javascript knowledge so forgive me if this is a stupid question, but I wanted to introduce a delay to the video stop event to account for the fact that even once VPX has started, nothing appears on screen for a few more seconds, and I want the loading video to continue to be visible for that time. My attempt was to change the myGameStarted function to the following (for a 3 second delay):
function myGameStarted(ev) {
setTimeout(mainWindow.launchOverlay.bg.clear(0xff000000),3000);
}
But this appears to have zero effect. An alternative was just to comment out the gamestarted event hook entirely, which works fine except I think video continues running in the background somewhere which is a bit wasteful. And when you exit the table, the loading video briefly reappears again.
Any suggestions?
Hi Richard,
thank you for that great work.
These scripts are really good ideas.
Unfortunately I get an error message at the Spin.js - the very best script in my opinion:-)
The pinbally log says:
[Javascript]: Uncaught exception:
TypeError: Unable to get property 'setAxisRange' of undefined or null reference
at Anonymous function (file:///myFolder\PinballY\Scripts\Spin.js:23:1)
at module (file:///myFolder\PinballY\Scripts\Spin.js:11:1)
Can you please have a look at?
The Filter.js is also great.
But don´t you need the magna saves to scroll between the tables?
Is there a way to change it to another button? Guess the "Control left / right" in the javascript has to be changed?
Thank you very much.
McNose
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.