From 38659685fc3b4edfea2d26a4338296d2130eb544 Mon Sep 17 00:00:00 2001 From: Rob Bateman Date: Fri, 22 Mar 2024 20:18:03 +0000 Subject: [PATCH] add setup section and remove features --- .../layout/_partial/home/setup/index.ejs | 14 +++ themes/aircv/layout/index.ejs | 2 +- themes/aircv/source/_default_data/menu.yaml | 4 +- themes/aircv/source/_default_data/setup.yaml | 91 +++++++++++++++++++ 4 files changed, 108 insertions(+), 3 deletions(-) create mode 100644 themes/aircv/layout/_partial/home/setup/index.ejs create mode 100644 themes/aircv/source/_default_data/setup.yaml diff --git a/themes/aircv/layout/_partial/home/setup/index.ejs b/themes/aircv/layout/_partial/home/setup/index.ejs new file mode 100644 index 0000000..06acd69 --- /dev/null +++ b/themes/aircv/layout/_partial/home/setup/index.ejs @@ -0,0 +1,14 @@ + +<% +// adds default data usign "theme/aircv/scripts/default-data.js" helper +let setup = (site.data.setup !== undefined) ? site.data.setup : defaultData('setup'); +%> + + +
+
+ <%- markdown(setup.content) %> + +
+
+ \ No newline at end of file diff --git a/themes/aircv/layout/index.ejs b/themes/aircv/layout/index.ejs index 3d8d00e..ea883c0 100644 --- a/themes/aircv/layout/index.ejs +++ b/themes/aircv/layout/index.ejs @@ -1,5 +1,5 @@ <%- partial('_partial/home/hero/index') %> -<%- partial('_partial/home/features/index') %> +<%- partial('_partial/home/setup/index') %> <%- partial('_partial/home/showcase/index') %> <%- partial('_partial/home/sponsors/index') %> <%- partial('_partial/home/community/index') %> \ No newline at end of file diff --git a/themes/aircv/source/_default_data/menu.yaml b/themes/aircv/source/_default_data/menu.yaml index 605c942..1ab4797 100644 --- a/themes/aircv/source/_default_data/menu.yaml +++ b/themes/aircv/source/_default_data/menu.yaml @@ -4,8 +4,8 @@ #- text: News # href: "#news" -- text: Features - href: "#features" +- text: Setup + href: "#setup" - text: Showcase href: "#showcase" diff --git a/themes/aircv/source/_default_data/setup.yaml b/themes/aircv/source/_default_data/setup.yaml new file mode 100644 index 0000000..00bfb73 --- /dev/null +++ b/themes/aircv/source/_default_data/setup.yaml @@ -0,0 +1,91 @@ +title: "Setup" +supported_subtitle: "Supported" +supported_skills: + - name: ActionsScript 1, 2 & 3 execution + percentage: 90 + - name: Timeline playback & scripting + percentage: 100 + - name: MovieClip, Button, Graphic and Textfield primitives + percentage: 100 + - name: Scripted graphics API + percentage: 90 + - name: Dynamic masks (timeline & script based) + percentage: 100 + - name: Sound manipulation (AS2 & AS3) + percentage: 80 + +development_subtitle: "In-Development" + +development_skills: + - name: Flash 8 filter effects + percentage: 50 + - name: Photoshop-style blend modes + percentage: 50 + - name: Adobe Text Layout Framework (TLF) + percentage: 40 + - name: Stage3D APIs & Texture formats + percentage: 10 + - name: H.264 Video streaming + percentage: 5 + - name: Camera & microphone input + percentage: 5 +content: | + ## Setup + + AwayFL can be installed locally for your own use in a couple of different ways. + + ### 1. Embed script ### + + *Creates a simple, deployable html page for use with your own swfs.* + + Download **awayfl-embed** either as a [zip file](https://github.com/awayfl/awayfl-embed/archive/refs/heads/master.zip) or [Github project](https://github.com/awayfl/awayfl-embed) + + Use the following code (or copy/paste from the `example/index.html` file) to create a custom player for your swf file, ensuring embed.js points to the correct file: + + ``` html + + + + + + AwayFL Embed Example + + + +
+ +
+ + + + + ``` + +   + ### 2. Test template ### + + *Creates a self-contained project that runs as many swfs as you need, each with their own optional config settings.* + + Download **awayfl-template** either as a [zip file](https://github.com/awayfl/awayfl-template/archive/refs/heads/master.zip) or [Github template](https://github.com/awayfl/awayfl-template) + + Install by executing `npm install` in the terminal (requires [Node.js](https://nodejs.org/en/learn/getting-started/how-to-install-nodejs)) + + Add various SWFs to your src/assets/ folder, and include the filnames in your `awayfl.config.js` file like so: + + ``` js + fileconfigs: [ + { + rt_title: "my Awesome Flash Game", + rt_filename: "my_awesome_flash_game", + }, + ], + ``` + + Run locally by executing `npm start` and browsing to `http://localhost` + +   + In both cases, more info can be found in the respective project's README files + + AwayFL is released under the [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0) license, and is free to use for both personal and commercial projects, with no restrictions. \ No newline at end of file