Skip to content

Add vfx and json tabs #148

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
403 changes: 209 additions & 194 deletions dist/plugins/iwsy.js

Large diffs are not rendered by default.

2,155 changes: 1,176 additions & 979 deletions iwsy/iwsy.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions iwsy/resources/ecs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# EasyCoder scripts

The entire IWSY UI is a web application driven by EasyCoder scripts in this folder. The "home" script is `iwsy.js` and this loads others as it needs them. `scripted` is a color-coded editor for EasyCoder script files, that runs in `scripted.html`.
1 change: 1 addition & 0 deletions iwsy/resources/ecs/blocks.txt
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ Restart:
end
on click EditButton
begin
if the elements of EditButton is not greater than the index of EditButton stop
put the index of EditButton into SavedIndex
gosub to SaveSelectedBlock
put SavedIndex into SelectedBlock
Expand Down
3 changes: 2 additions & 1 deletion iwsy/resources/ecs/content.txt
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ Restart:
end
on click EditButton
begin
if the elements of EditButton is not greater than the index of EditButton stop
put the index of EditButton into SavedIndex
gosub to SaveSelectedItem
put SavedIndex into SelectedItem
Expand All @@ -153,6 +154,7 @@ Restart:
index Editor to SelectedItem
if style `display` of Editor is `none`
begin
set style `display` of Editor to `block`
put element SelectedItem of Items into Item
set style `background-color` of EditButton to `lightgray`
create Row in Editor
Expand All @@ -163,7 +165,6 @@ Restart:
create ItemNameInput in Row
set the style of ItemNameInput to `flex:1`
set the text of ItemNameInput to property `name` of Item
set style `display` of Editor to `block`
create TextArea in Editor
set the style of TextArea to `width:100%;max-width:100%;height:20em`
put property `content` of Item into Content
Expand Down
Loading