2022-03-11 06:56:07 +00:00
|
|
|
<!DOCTYPE html>
|
2023-04-06 05:16:50 +00:00
|
|
|
<html lang="en-US" dir="ltr">
|
2022-03-11 06:56:07 +00:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
2023-04-12 23:42:38 +00:00
|
|
|
<title>Profectus | Profectus</title>
|
2022-03-11 06:56:07 +00:00
|
|
|
<meta name="description" content="A game engine that grows with you.">
|
2023-04-18 04:28:59 +00:00
|
|
|
<link rel="preload stylesheet" href="/assets/style.4df5b91b.css" as="style">
|
2023-04-06 05:16:50 +00:00
|
|
|
<script type="module" src="/assets/app.68642a14.js"></script>
|
|
|
|
<link rel="preload" href="/assets/inter-roman-latin.2ed14f66.woff2" as="font" type="font/woff2" crossorigin="">
|
|
|
|
<link rel="modulepreload" href="/assets/chunks/framework.0799945b.js">
|
|
|
|
<link rel="modulepreload" href="/assets/chunks/theme.52324978.js">
|
2023-04-12 23:42:38 +00:00
|
|
|
<link rel="modulepreload" href="/assets/api_components_LayerComponent.md.fb5a91af.lean.js">
|
2023-04-06 05:16:50 +00:00
|
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,400;0,600;1,400">
|
2022-03-11 06:56:07 +00:00
|
|
|
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
|
|
|
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
|
|
|
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
|
|
|
<link rel="manifest" href="/site.webmanifest">
|
|
|
|
<script defer="true" data-domain="moddingtree.com" src="https://plausible.io/js/plausible.js"></script>
|
|
|
|
<meta name="og:description" content="A game engine that grows with you">
|
|
|
|
<meta name="og:image" content="/Logo.png">
|
|
|
|
</head>
|
|
|
|
<body>
|
2023-04-12 23:42:38 +00:00
|
|
|
<div id="app"><div class="Layout" data-v-b2cf3e0b><!--[--><!--]--><!--[--><span tabindex="-1" data-v-c8616af1></span><a href="#VPContent" class="VPSkipLink visually-hidden" data-v-c8616af1> Skip to content </a><!--]--><!----><header class="VPNav" data-v-b2cf3e0b data-v-7e5bc4a5><div class="VPNavBar has-sidebar" data-v-7e5bc4a5 data-v-1d30fa41><div class="container" data-v-1d30fa41><div class="title" data-v-1d30fa41><div class="VPNavBarTitle has-sidebar" data-v-1d30fa41 data-v-f4ef19a3><a class="title" href="/" data-v-f4ef19a3><!--[--><!--]--><!--[--><img class="VPImage logo" src="/favicon.svg" alt data-v-6db2186b><!--]--><!--[-->Profectus<!--]--><!--[--><!--]--></a></div></div><div class="content" data-v-1d30fa41><div class="curtain" data-v-1d30fa41></div><div class="content-body" data-v-1d30fa41><!--[--><!--]--><!----><nav aria-labelledby="main-nav-aria-label" class="VPNavBarMenu menu" data-v-1d30fa41 data-v-7f418b0f><span id="main-nav-aria-label" class="visually-hidden" data-v-7f418b0f>Main Navigation</span><!--[--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/guide/" tabindex="0" data-v-7f418b0f data-v-37adc828 data-v-8f4dc553><!--[-->Guide<!--]--><!----></a><!--]--><!--[--><a class="VPLink link VPNavBarMenuLink active" href="/api/overview" tabindex="0" data-v-7f418b0f data-v-37adc828 data-v-8f4dc553><!--[-->API<!--]--><!----></a><!--]--><!--[--><a class="VPLink link VPNavBarMenuLink" href="https://forums.moddingtree.com" target="_blank" rel="noreferrer" tabindex="0" data-v-7f418b0f data-v-37adc828 data-v-8f4dc553><!--[-->Forums<!--]--><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" height="24px" viewbox="0 0 24 24" width="24px" class="icon" data-v-8f4dc553><path d="M0 0h24v24H0V0z" fill="none"></path><path d="M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z"></path></svg></a><!--]--><!--]--></nav><!----><!----><div class="VPSocialLinks VPNavBarSocialLinks social-links" data-v-1d30fa41 data-v-0394ad82 data-v-f6988cfb><!--[--><a class="VPSocialLink" href="https://discord.gg/F3xveHV" aria-label="discord" target="_blank" rel="noopener" data-v-f6988cfb data-v-c530cc0a><svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Discord</title><path d="M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z"/></svg></a><a class="VPSocialLink" href="https://github.com/profectus-engine/Profectus" aria-label="github" target="_blank" rel="noopener" data-v-f6988cfb data-v-c530cc0a><svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>GitHub</title><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.
|
2023-04-18 04:28:59 +00:00
|
|
|
<script>__VP_HASH_MAP__ = JSON.parse("{\"api_components_layout_collapsiblecomponent.md\":\"b792d45f\",\"api_components_hotkeycomponent.md\":\"94af8a77\",\"api_components_fields_togglecomponent.md\":\"0126692d\",\"api_components_infocomponent.md\":\"5e7ed906\",\"api_components_marknodecomponent.md\":\"95ce4d1c\",\"api_components_modalcomponent.md\":\"40989410\",\"api_components_savecomponent.md\":\"bc14d931\",\"api_components_fields_dangerbuttoncomponent.md\":\"43aea00b\",\"api_components_nodecomponent.md\":\"6c607feb\",\"api_components_fields_feedbackbuttoncomponent.md\":\"3022117b\",\"api_components_fields_selectcomponent.md\":\"ace2bb01\",\"api_components_fields_slidercomponent.md\":\"de4f5cd1\",\"api_components_fields_textcomponent.md\":\"039dbcea\",\"api_components_layout_columncomponent.md\":\"0a31ce33\",\"api_components_layout_rowcomponent.md\":\"2f1b6079\",\"api_components_layout_spacercomponent.md\":\"8e0b53af\",\"api_components_layout_stickycomponent.md\":\"3605e970\",\"api_components_layout_verticalrulecomponent.md\":\"87270803\",\"api_modules_features_conversion.md\":\"c27720d1\",\"api_components_math_floorcomponent.md\":\"765da36c\",\"api_components_math_sqrtcomponent.md\":\"a610fb30\",\"api_modules_features_bar.md\":\"e8448677\",\"api_modules_features_action.md\":\"70d6eb9f\",\"api_modules_data_themes.md\":\"fcd738aa\",\"api_modules_features_challenge.md\":\"538635b7\",\"api_modules_features_feature.md\":\"fece3203\",\"api_components_layercomponent.md\":\"fb5a91af\",\"api_components_contextcomponent.md\":\"088cd8fb\",\"api_modules_data_projentry.md\":\"77f70a60\",\"api_modules_data_common.md\":\"47fec908\",\"api_modules_features_achievement.md\":\"2dda368f\",\"api_modules_features_hotkey.md\":\"1b3345c1\",\"api_modules_features_infobox.md\":\"e1f3a0d5\",\"api_modules_features_links.md\":\"c0f648c4\",\"api_modules_features_clickable.md\":\"f229af4e\",\"api_modules_features_repeatable.md\":\"a16afba7\",\"api_modules_features_particles.md\":\"5c9477d1\",\"api_modules_features_grid.md\":\"9df2e2cb\",\"api_modules_game_state.md\":\"d8713837\",\"api_modules_lib_break_eternity.md\":\"456df427\",\"api_modules_lib_collapsetransition.md\":\"37a925e1\",\"api_modules_lib_lru-cache.md\":\"a386377a\",\"api_modules_lib_pixi.md\":\"2b426252\",\"api_modules_lib_pwa-register.md\":\"0a1ca45c\",\"api_modules_lib_vue-panzoom.md\":\"bfc32ff5\",\"api_modules_util_bignum.md\":\"7557448e\",\"api_modules_util_common.md\":\"501f49a5\",\"api_modules_lib_vue-textarea-autosize.md\":\"a92591ec\",\"api_modules_util_break_eternity.md\":\"3953e0b7\",\"api_modules_util_computed.md\":\"084c4cc2\",\"api_modules_util_save.md\":\"5477d06f\",\"api_overview.md\":\"88cceb38\",\"guide_advanced-concepts_dynamic-layers.md\":\"21faf359\",\"guide_creating-your-project_changelog.md\":\"172bc03e\",\"guide_creating-your-project_project-info.md\":\"64fc6c56\",\"guide_creating-your-project_project-entry.md\":\"ddd3e9f7\",\"guide_creating-your-project_themes.md\":\"63c537c1\",\"api_modules_util_vue.md\":\"37e5800d\",\"guide_creating-your-project_utils.md\":\"f64b911e\",\"guide_advanced-concepts_creating-features.md\":\"49125d9d\",\"guide_advanced-concepts_nodes.md\":\"b6eda7dd\",\"guide_getting-started_updating.md\":\"d0fb2ae0\",\"guide_important-concepts_features.md\":\"f95c37df\",\"guide_migrations_0-6.md\":\"caa4c6e3\",\"guide_recipes_save-progress.md\":\"e09db940\",\"guide_recipes_particles.md\":\"fcacf72f\",\"index.md\":\"5c45fd2b\",\"api_modules_features_board.md\":\"f946e582\",\"api_modules_features_reset.md\":\"c413767d\",\"api_modules_features_resource.md\":\"b91e265b\",\"guide_important-concepts_formulas.md\":\"c2a76b20\",\"guide_getting-started_examples.md\":\"be79c82f\",\"guide_getting-started_setup.md\":\"af062367\",\"guide_important-concepts_coercable.md\":\"c6ef7a86\",\"guide_important-concepts_reactivity.md\":\"ca2bbc88\",\"guide_important-concepts_layers.md\":\"0f85a362\",\"guide_important-concepts_persistence.md\":\"8e5f6af6\",\"api_modules_game_formulas_operations.md\":\"7b749a35\",\"api_modules_game_settings.md\":\"d73a8fbd\",\"api_mod
|
|
|
|
__VP_SITE_DATA__ = JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"Profectus\",\"description\":\"A game engine that grows with you.\",\"base\":\"/\",\"head\":[],\"appearance\":false,\"themeConfig\":{\"logo\":\"/favicon.svg\",\"editLink\":{\"pattern\":\"https://github.com/profectus-engine/profectus-docs/edit/main/docs/:path\",\"editLinkText\":\"Edit this page on GitHub\"},\"nav\":[{\"text\":\"Guide\",\"link\":\"/guide/\",\"activeMatch\":\"^/guide/\"},{\"text\":\"API\",\"link\":\"/api/overview\",\"activeMatch\":\"^/api/\"},{\"text\":\"Forums\",\"link\":\"https://forums.moddingtree.com\"}],\"socialLinks\":[{\"icon\":\"discord\",\"link\":\"https://discord.gg/F3xveHV\"},{\"icon\":\"github\",\"link\":\"https://github.com/profectus-engine/Profectus\"}],\"sidebar\":{\"/guide/\":[{\"text\":\"Getting Started\",\"collapsed\":false,\"items\":[{\"text\":\"Introduction\",\"link\":\"/guide/\"},{\"text\":\"Setting Up\",\"link\":\"/guide/getting-started/setup\"},{\"text\":\"Updating Profectus\",\"link\":\"/guide/getting-started/updating\"},{\"text\":\"Example Projects\",\"link\":\"/guide/getting-started/examples\"},{\"text\":\"Profectus Changelog\",\"link\":\"https://github.com/profectus-engine/Profectus/blob/main/CHANGELOG.md\"}]},{\"text\":\"Creating Your Project\",\"collapsed\":false,\"items\":[{\"text\":\"Project Info\",\"link\":\"/guide/creating-your-project/project-info\"},{\"text\":\"Project Entry\",\"link\":\"/guide/creating-your-project/project-entry\"},{\"text\":\"Changelog\",\"link\":\"/guide/creating-your-project/changelog\"},{\"text\":\"Themes\",\"link\":\"/guide/creating-your-project/themes\"},{\"text\":\"Utilities\",\"link\":\"/guide/creating-your-project/utils\"}]},{\"text\":\"Important Concepts\",\"collapsed\":false,\"items\":[{\"text\":\"Layers\",\"link\":\"/guide/important-concepts/layers\"},{\"text\":\"Features\",\"link\":\"/guide/important-concepts/features\"},{\"text\":\"Coercable Components\",\"link\":\"/guide/important-concepts/coercable\"},{\"text\":\"Reactivity\",\"link\":\"/guide/important-concepts/reactivity\"},{\"text\":\"Persistence\",\"link\":\"/guide/important-concepts/persistence\"},{\"text\":\"Requirements\",\"link\":\"/guide/important-concepts/requirements\"},{\"text\":\"Formulas\",\"link\":\"/guide/important-concepts/formulas\"}]},{\"text\":\"Recipes\",\"collapsed\":false,\"items\":[{\"text\":\"Display Save Progress\",\"link\":\"/guide/recipes/save-progress\"},{\"text\":\"Display Particle Effect\",\"link\":\"/guide/recipes/particles\"}]},{\"text\":\"Advanced Concepts\",\"collapsed\":false,\"items\":[{\"text\":\"Creating Features\",\"link\":\"/guide/advanced-concepts/creating-features\"},{\"text\":\"Dynamic Layers\",\"link\":\"/guide/advanced-concepts/dynamic-layers\"},{\"text\":\"Nodes\",\"link\":\"/guide/advanced-concepts/nodes\"}]},{\"text\":\"Migrations\",\"collapsed\":true,\"items\":[{\"text\":\"0.5.X to 0.6.0\",\"link\":\"/guide/migrations/0-6\"}]}],\"/api/\":[{\"text\":\"Components\",\"collapsed\":true,\"items\":[{\"text\":\"Fields\",\"items\":[{\"text\":\" Danger Button Component\",\"link\":\"/api/components/fields/DangerButtonComponent.html\"},{\"text\":\" Feedback Button Component\",\"link\":\"/api/components/fields/FeedbackButtonComponent.html\"},{\"text\":\" Select Component\",\"link\":\"/api/components/fields/SelectComponent.html\"},{\"text\":\" Slider Component\",\"link\":\"/api/components/fields/SliderComponent.html\"},{\"text\":\" Text Component\",\"link\":\"/api/components/fields/TextComponent.html\"},{\"text\":\" Toggle Component\",\"link\":\"/api/components/fields/ToggleComponent.html\"}],\"collapsed\":true},{\"text\":\"Layout\",\"items\":[{\"text\":\" Collapsible Component\",\"link\":\"/api/components/layout/CollapsibleComponent.html\"},{\"text\":\" Column Component\",\"link\":\"/api/components/layout/ColumnComponent.html\"},{\"text\":\" Row Component\",\"link\":\"/api/components/layout/RowComponent.html\"},{\"text\":\" Spacer Component\",\"link\":\"/api/components/layout/SpacerComponent.html\"},{\"text\":\" Sticky Component\",\"link\":\"/api/components/layout/StickyComp
|
2022-03-11 06:56:07 +00:00
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|