/feel-vibes-web-player

Official FeelVibes web player.

Primary LanguageJavaScriptGNU Affero General Public License v3.0AGPL-3.0

FeelVibes - Editor

An .fvd file player made in FeelVibes - Editor. The player can be embedded to sites and interacted with the following functions below.

Functions:

Function Parameter Description
getProjectFile n/a The function can be called to open a file selection dialog, speficially for fvd files.
setPlayerDesign file (.fvd) Sets the player design based on the given argument. The file must be an fvd for it to work.
resetPlayerDesign n/a Removes any changes in the player, such as design and data stored.
startPlayerDesign n/a Starts the player design animation.
stopPlayerDesign n/a Stops the player design animation.

Variables:

Function Type Description
projectFile blob Initially, this will have no value (null). Using getProjectFile() and selecting an fvd file will store the value as a blob type.

Example:

This can be done in console for testing. However, it must be copy-pasted one by one.

getProjectFile()
setPlayerDesign(projectFile)
startPlayerDesign()

// Call the functions below once you have done the ones above to see changes.
stopPlayerDesign()
resetPlayerDesign()



Powered by Godot