Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@pinkkis/phaser-plugin-pasuuna
Advanced tools
Phaser 3 plugin to use Pasuuna Player in your phaser projects. Plays SoundTracker, ProTracker and FastTracker mods.
MIT Licensed, see LICENSE.md for details. See Pasuuna Player repo for detail on the player itself.
The plugin is a UMD module, exposed as Pasuuna.PasuunaPlugin on the window object. You can also import it in webpack or something instead.
See the example in the /docs
folder for a quick example on how to use it.
#loadSongFromCache(key, autoplay)
- this takes a key string that is a Phaser cache key. Load mods as a binary in phaser's preloader, and pass the key to pasuuna. Start playback immediately if autoplay is true. Otherwise listen to the songLoaded
event before calling #play()
#play()
- start song from beginning, or if you've set the current pattern index#stop()
- stop the song#setVolume(0.75)
- set Pasuuna volume, float between 0 - 1#setCurrentPattern(index)
- set start point for playback with a pattern index integer.Available events are under this.pasuuna.eventTypes
as an object.
Pasuuna shares Phaser's AudioContext, but volume controls are separate. So in your game, when controlling global volume, remember to change both implicitly.
FAQs
phaser-plugin-pasuuna
We found that @pinkkis/phaser-plugin-pasuuna demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.