Fancade Web: Difference between revisions
m
→Obsolete commands: Use wikitable class
m (Fill block with current paint is "Ctrl + F" not "Shift + F") |
-u ndefined- (talk | contribs) m (→Obsolete commands: Use wikitable class) |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
Fancade is also available as a web app! Go to https://play.fancade.com to play Fancade in a browser! | [[Fancade]] is also available as a web app! Go to https://play.fancade.com to play Fancade in a browser! | ||
== Linking to | == Linking to games == | ||
A link to a published game can be generated by clicking the 'Share' button for that game. | A link to a published game can be generated by clicking the 'Share' button for that game. | ||
| Line 9: | Line 9: | ||
The web app will load the linked game and directly start the first level. | The web app will load the linked game and directly start the first level. | ||
== Setting | === Setting start level === | ||
The starting level of a linked game can be set by appending the level index to the end like this: https://play.fancade.com/5F084A0BCE06B710/8 The <code>/8</code> part (after the game's unique identifier) sets the start level to 8, in this case. | The starting level of a linked game can be set by appending the level index to the end like this: https://play.fancade.com/5F084A0BCE06B710/8 The <code>/8</code> part (after the game's unique identifier) sets the start level to 8, in this case. | ||
== Differences | == Differences compared to app == | ||
There are some differences between the web app and the regular app. Here is a summary: | There are some differences between the web app and the regular app. Here is a summary: | ||
| Line 29: | Line 29: | ||
* Command line | * Command line | ||
== Performance and | == Performance and compatibility == | ||
If the game seems to run slow, check if hardware acceleration is enabled in your browser. | If the game seems to run slow, check if hardware acceleration is enabled in your browser. | ||
| Line 35: | Line 35: | ||
If the game doesn't run at all, there are usually some helpful messages shown (hopefully on screen but also in the web developer console). Fancade web has been tested and confirmed to work in Chrome, Firefox, Safari and Edge, but there can be issues with video drivers etc. that'll prevent it from running. You can also try to disable hardware acceleration, but then the game will run much slower. | If the game doesn't run at all, there are usually some helpful messages shown (hopefully on screen but also in the web developer console). Fancade web has been tested and confirmed to work in Chrome, Firefox, Safari and Edge, but there can be issues with video drivers etc. that'll prevent it from running. You can also try to disable hardware acceleration, but then the game will run much slower. | ||
== Additional | == Additional controls == | ||
The web app has additonal controls for mouse and keyboard. | The web app has additonal controls for mouse and keyboard. | ||
| Line 43: | Line 43: | ||
=== Edit Mode === | === Edit Mode === | ||
{| | {| class="wikitable" | ||
! Input | ! Input | ||
! Description | ! Description | ||
| Line 100: | Line 100: | ||
| Same as tapping on the camera button | | Same as tapping on the camera button | ||
|- | |- | ||
| | | CTRL + F key | ||
| Fill block with current paint | | Fill block with current paint | ||
| Only available in paint block mode | | Only available in paint block mode | ||
| Line 155: | Line 155: | ||
=== Block Paint Mode === | === Block Paint Mode === | ||
{| | {| class="wikitable" | ||
! Input | ! Input | ||
! Description | ! Description | ||
| Line 171: | Line 171: | ||
=== Play Mode === | === Play Mode === | ||
{| | {| class="wikitable" | ||
! Input | ! Input | ||
! Description | ! Description | ||
| Line 251: | Line 251: | ||
=== Menus === | === Menus === | ||
{| | {| class="wikitable" | ||
! Input | ! Input | ||
! Description | ! Description | ||
| Line 286: | Line 286: | ||
The command line is opened by the TAB key and can be used for quickly adding blocks to the level or the hotbar. | The command line is opened by the TAB key and can be used for quickly adding blocks to the level or the hotbar. | ||
{| | {| class="wikitable" | ||
! Input | ! Input | ||
! Description | ! Description | ||
| Line 306: | Line 306: | ||
==== Commands ==== | ==== Commands ==== | ||
{| | {| class="wikitable" | ||
! Command | ! Command | ||
! Description | ! Description | ||
| Line 333: | Line 333: | ||
| cl <code>Level Number</code> OR n (next) OR p (previous) | | cl <code>Level Number</code> OR n (next) OR p (previous) | ||
| Changes level | | Changes level | ||
| | |} | ||
==== Obsolete commands ==== | |||
{| class="wikitable" | |||
|- | |- | ||
| EditorScript | | EditorScript | ||
| Open editor script editor | | Open editor script editor | ||
| | | | ||
|} | |||
=== Misc === | |||
{| class="wikitable" | |||
! Input | |||
! Description | |||
! Other | |||
|- | |||
| F1 | |||
| Contextual help | |||
| Open a wiki help page in a new tab. Selecting or hovering over (in the inventory) a stock prefab opens up the wiki page for that prefab. | |||
|} | |} | ||
=== Editor Scripting === | === Editor Scripting === | ||
There | There was an experimental editor scripting editor available that can be used for things like auto-tiling and procedural level creation. The editor is opened by the <code>EditorScript</code> command in the command line. | ||
Editor scripts | Editor scripts were written in JavaScript. Some code examples were: | ||
<pre> | <pre> | ||
| Line 452: | Line 468: | ||
</pre> | </pre> | ||
This feature was silently removed around September 2025. | |||
== Collaboration with export/import == | |||
== Collaboration with | |||
It is possible to collaborate on a project by using the following procedure: | It is possible to collaborate on a project by using the following procedure: | ||
| Line 483: | Line 489: | ||
This is useful when checking if a game works well on different screen sizes and orientations. | This is useful when checking if a game works well on different screen sizes and orientations. | ||
{| | {| class="wikitable" | ||
! Parameter | ! Parameter | ||
! Description | ! Description | ||
| Line 525: | Line 531: | ||
Some examples of how to use the parameters: | Some examples of how to use the parameters: | ||
{| | {| class="wikitable" | ||
! Link | ! Link | ||
! Description | ! Description | ||
| Line 569: | Line 575: | ||
</html> | </html> | ||
</pre> | </pre> | ||
[[Category:Fancade|Web]] | |||