wicklets / wick-editor-2018 Goto Github PK
View Code? Open in Web Editor NEWArchived - New repo is now at github.com/wicklets/wick-editor
License: GNU General Public License v3.0
Archived - New repo is now at github.com/wicklets/wick-editor
License: GNU General Public License v3.0
so we'll need a sendEvent()
and the ability to add more events to the script editor gui
JSONify it and put it in the clipboard
Need it to convert a group of objects into a symbol
๐ง ๐ง ๐ง ๐ง ๐ง
Wick Editor
File
Project
Formatting button for scripts to make them look pretty
Need a flag for each frame that specifies if that frame has been played yet, without that frames can get skipped
whoops forgot to do this
Yo!
Using version 9.0.1 (11601.2.7.2). I think that the current "Focus" trick we are using is not applicable to Safari... I'll poke around a bit and try to find an equivalent fix.
Ctrl+Z (undo) doesn't work on FF
idk y not but its probably an easy fix ima just log this one here so we dont forget
When drawing with the basic pencil tool, lines get huge after releasing the mouse.
Projects should have a resolution you can set in the editor.
The player stretches the project to fit the screen while still keeping proper aspect ratio.
I'm thinking we use cookies [we cannot use cookies, they have a size limit of like 2mb] to temporarily store unsaved projects, just in case something goes wrong while you're making something.
I think HTML5 might have a local storage feature that might work as well.
The best option would be to have a similar system to google docs but we'd need some fancy backend.
Run makes an instance of the player inside the editor
Export saves an html file
Save saves a "wick" file (json)
We could really use onion skinning for animation!
they should instead keep an id which is a key to a dictionary of images, i.e. the library
the library is then kept in the project object .....!
whoops
!! Lightning Fast !!
Take a weekend sometime to plop it together
yeah
We should discuss what to do when a project is run on different devices with different max framerates.
Most phones get mad at me if I try to do anything more than 30fps, while desktops will go to like 200 if you let them.
How to deal with this then lets have meeting
After the demo with the kidz I have some ideas:
things get loaded async so things will pop into existence while the project is being played!!!!!!!!!!
so make sure everything is loaded before doing ANYTHING!
text and images for sure
fix ASAP
omg!
Text boxes with nothing in them remain in the editor and are really hard to find. It's nasty
We should highlight them or delete them altogether (or have some way of informing the user that it's there)
if nothing is selected, it shows project setttings (framerate, background color, etc.)
if something is selected, show all the stuff like opacity, color tint,etc
if that something is text, show font options
if that somethign is a sound, show sound options
if that something is a symbol, show the identifier name box
How even do this?
Add a hot key to each action.
so we can do like parent.enemy.kill()
and what have you
There should be an "export" button that spits out a JSON as well as a "publish" button that spits out an .htm that bundles the player with the JSON.
yuck!
Player adds all html snippets as divs to player page.
HTML snippet WickObject gets an id to document.getElementById
its corresponding div and display:none
s it if its not in the current frame.
The editor should have an IDE for the scripting system. We must support:
It's recursive!
What da heck!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.