-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add setup section and remove features
- Loading branch information
1 parent
121acd4
commit 3865968
Showing
4 changed files
with
108 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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'); | ||
%> | ||
|
||
<!-- Setup --> | ||
<div id="setup"> | ||
<div class="container content-lg"> | ||
<%- markdown(setup.content) %> | ||
<!--// end row --> | ||
</div> | ||
</div> | ||
<!-- End Setup --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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') %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>AwayFL Embed Example</title> | ||
<script src="../dist/embed.js"></script> | ||
</head> | ||
<body> | ||
<div id = 'container'> | ||
</div> | ||
<script> | ||
swfObject.embedSWF('Embedded.swf', 'container', 550, 400); | ||
</script> | ||
</body> | ||
</html> | ||
``` | ||
| ||
### 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. |