Comments (8)
I tried using the semi automatic tool it gave me the following result:
Jake.swf u webkitcss canvas webgl OK??
In the output I go a Jake.swf folder. Inside of the folder there is a couple of images with a Jake.bytes file. What should I do next? I the tutorial it says im supposed to have a lwf file that I would have to convert into a bytes
from lwf.
Thank you for opening this issue.
https://github.com/gree/lwf/wiki/ForUnity
Above step-by-step tutorial covers all steps in the video.
Could you please take a look it?
Unity cannot load resources with ".lwf" extension. That's why all .lwf files has to be renamed into .bytes.
This renaming process is covered by above link also.
from lwf.
I already checked it. I sued the tool, than I got a JAKE.bytes. I added it to my unity project and then added the Simple script. I changed the script:
Load("gree_logo.lwfdata/gree_logo", "gree_logo.lwfdata/"); ----> Load("jake.lwfdata/jake", "jake.lwfdata/");
In my ressources folder I only have Jake.bytes
from lwf.
If Jake.swf contins images, please double-check the compression of images.
Photo (JPEG) is not supported by LWF. LWF supports Lossless (PNG, GIF) only.
- Open .fla in Flash CS 6.0
- Right click on the image and open property.
- Double check "Compress" area.
from lwf.
If you can share the swf file, I can take a look it little bit.
Could you please upload the swf file?
thanks.
from lwf.
øk i have uploaded it here: https://docs.google.com/file/d/0B3Lrxp_RRO6SR0JuUTd0cVk1bVE/edit?usp=sharing
Thanks
from lwf.
Thank you ollipop,
$ ruby lwf/tools/swf2lwf/swf2lwf.rb jake.swf
ERROR: Bitmap is as JPEG. Bitmap should be as 'Loss-less'.
lwf/tools/swf2lwf/swf2lwf.rb:1612:in parse_define_shape': undefined method
width' for nil:NilClass (NoMethodError)
The jake.swf contains a JPEG file that is not supported by lwf.
Please try following steps for fixing this issue.
- Open .fla in Flash CS 6.0
- Right click on the image and open property.
- Select "Lossless (PNG, GIF)" instead of "Photo(JPEG(" for compression.
- Pulblish to swf.
- Convert swf to lwf.
thanks,
from lwf.
Could you try to use "Publish for LWF.jsfl" Flash command.
from lwf.
Related Issues (20)
- OnEnterFrame not working on low FPS flashes? HOT 2
- Non-movable buttons HOT 5
- Text Filters in Unity HOT 1
- Getting LWF.Bounds of a LWF.Movie immediately HOT 1
- Updating the flash with a delta time of 0 still calls OnEnterFrame
- Disabled buttons still blocking mouse events
- TextProperty in Unity
- Changing the ColorTransform of a LWF.Movie HOT 1
- Blending modes
- SetText() not always rendering new value HOT 2
- fscommand ignored unless frame entered "naturally" HOT 1
- I got a data file(.lwf) used this tool(swf2lwf.rb).But I cannot use in the unity.
- Warnings
- No longer rendering timeline HOT 3
- Text fields are not respecting the alpha of the MovieClip that contains it
- flash-in-unity.net
- can you support spritekit?
- Shapes Support
- Locate error cause easily when converting swf files
- Bad link HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lwf.