DragonBones / DragonBonesJS

DragonBones TypeScript / JavaScript Runtime
MIT License
746 stars 320 forks source link

ES6 examples, bugs into website, more noticeable donate #80

Open sergey-pimenov opened 5 years ago

sergey-pimenov commented 5 years ago

First of all, thank you very much for the coolest animation tool. Thanks to you, a huge number of people have the opportunity to animate.

I have a few comments for you.


1. Examples in ES6

It will be great if you provide examples not only in Typescript, but also in ES6. Typescript is very popular, but Vanilla JS is much more popular. Therefore, it is more reasonable maintain pure JS & ES6 in the first place.

Personally, I had to spend 2 days to figure out how to work with DragonBones in Phaser 3. Without proper documentation it was hellishly difficult and the examples are written in Typescript, which I don't know at all. I tried to compile Typescript but it compiles into a very hard-to-read and bulky ES5. I still accidentally looked into the dev branch (where the examples are written much better) and then compiled Typescript into ES6. A little more magic and I figured it out. But still it took 2 days and it's strange that I didn't give up on the way to it.

You will do a very good job if you write more examples on ES6. And it will be better if you write a detailed documentation. But it will not be so bad if you start at least with examples on ES6.


2. More noticeable donate

In addition please make donate for the project more noticeable. It is not found in the readme.md and on site I can't find it too. I think many people would like to help such a wonderful project. There will be more financial support and you will have more motivation (for example for writing a good documentation).


3. Some bugs on website

  1. Demo not working

Bug-1

  1. Some visual and languages bugs

Bug-2

Bug-3

Bug-1

90% of the comments on the DragonBones website are in English, which clearly shows that it is very important to support English. I speak only Russian myself, but I can understand English. But Chinese is too hard for me.

It will be very cool if you pay attention to these requests