Frequently asked questions in Scripting: Difference between revisions

From Fancade Wiki
mNo edit summary
m (Edit note to be less harsh)
Line 8: Line 8:
* [https://fancade.page.link/2KY2 AwKward Font] by ToxelEr
* [https://fancade.page.link/2KY2 AwKward Font] by ToxelEr
* [https://play.fancade.com/5CE9DF2359C27D28 Font] by Pi
* [https://play.fancade.com/5CE9DF2359C27D28 Font] by Pi
* [https://fancade.page.link/uMRk Font Azkaazma] by Azkaazma2 (Note: This is a bad font because there are only capital letters and the letter D has to be manually created.)
* [https://fancade.page.link/uMRk Font Azkaazma] by Azkaazma2 (Only capital font, and D has to be manually created)
* [https://play.fancade.com/5B41FACA5C3DC7C1 Font Blocks] by Sawdust
* [https://play.fancade.com/5B41FACA5C3DC7C1 Font Blocks] by Sawdust
* [https://play.fancade.com/625A0B71114D3BDC PF's Font] by PurpleFofo
* [https://play.fancade.com/625A0B71114D3BDC PF's Font] by PurpleFofo

Revision as of 15:51, 3 July 2024

This page lists the short, common questions asked when scripting or building a game.

Fonts

In alphabetical order:

Music

Composing music

Using Tim0lmazan's 'game music kit', you can make music with blocks which don't have any scripts inside them You might need to copy the sheet block a little to make longer songs. Also, the sound pitch depends on the Z position.

Manually

Pitch scales exponentially, not linearly. Two sounds played with the same numerical difference but different ranges will not sound the same in pitch difference.

To get the 12-note scale, use an integer, divide by twelve and power two by the result, because an octave in this scale doubles the pitch.

Other scales are possible using this method, such as the 31-note scale by dividing by 31 instead. In fact, given a list with the tuning of each note in a scale, one can achieve finer control:

o ^ (s[n % l] + floor(n / l)), where
n is an integer, the note to be played,
s is the list of the notes in an ordered ratio,
l is the length of the scale, and
o is the ratio of the octave, usually 2 for regular octave.

Numbers on the list s should not exceed 1.

Pre-made music

Find a editable working music on Fancade game search on the Fancade app. But if you think the music is too bad for your game, then try to modify it. (If you can't modify it, then the music kit is set to 'Levels' and you can't make a editable game using it.)