GithubHelp home page GithubHelp logo

richardl64 / visual-pinball Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 1.07 MB

My Visual pinball & associated software mods/scripts settings.

JavaScript 48.65% VBScript 51.35%
emulator-frontend pinball-cabinet pinball-simulation pinbally scripts ssf virtual-pinball visual-pinball visualpinball vpx

visual-pinball's People

Contributors

richardl64 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

visual-pinball's Issues

Dont show or play video when launch game

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?

Add delayed end to launchVideo

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?

Spin.js: TypeError: Unable to get property 'setAxisRange' of undefined or null reference

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

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.