spritewidget / spritewidget

BSD 3-Clause "New" or "Revised" License
1.25k stars 174 forks source link

It's dead, Jim #57

Closed TheKashe closed 2 years ago

TheKashe commented 4 years ago

It seems that Victor left google in 2016 and has since almost stopped supporting this project and Google seems to not invest into it anymore.

There are some stupid bugs like the 180.8 one in convreting deg->rad. There are also some other issues, like spriteBox not being propagated below the first level of root node children. I also feel like state management is missing / current way of handling root node goes against flutter stateless design etc...

The biggest obstacle I see for forking is a lack of official license. Although, the pub.dev page lists Victor as author (but if he worked for Google at the time Google probably owns the IP) and BSD as license. I guess we could seek clarification through Victor / flutter team.

Is there anyone interesting in contributing to a fork?

dsyrstad commented 4 years ago

I'm currently working on a private fork to reintroduce sound support and SVG, Picture, and Flare nodes. Regarding the license, it seems to have a LICENSE file, so I think we're good there. It was originally based on https://pub.dev/packages/flutter_sprites which was produced by the Flutter/Google team. It goes way back to https://github.com/raju-bitter/flutter_sprites AFAICT.

vlidholt commented 4 years ago

Hey guys, I'm running my own startup which takes most of my time, but planning on taking some time to make sure everything is up-to-date.

ivnsch commented 4 years ago

Any news? :/

dsyrstad commented 4 years ago

@i-schuetz I still have a private fork and it is working for one of my games. I've also created a port of the Flint particle system as an extension module. I'm a little concerned about supporting both projects in a timely manner if I open them up. If anything the fork would become it's own project because it has departed a bit from this project's API.

I have a major backlogged item to address battery performance because spritewidget currently repaints on every frame. It should only process updates on every frame and if something has changed, repaint.

TheKashe commented 3 years ago

@dsyrstad would you care to make your fork public? It makes no sense for all of us to maintain their own copies.

ponderMuse commented 3 years ago

I've been playing around with SpriteWidget and I have been really impressed with how well it seemed to worked with Flutter generally but I am now starting to encounter problems when doing something simple like trying to set userInteractionEnabled = true; on Nodes in order to handle click events but, this feature doesn't seem to work in Nodes other than the root Node in a tree from what I can see.

I can see that there have been similar issues raised for this event handling issue but no progress seems to have been made on them.

Is this project now well and truly dead? What other alternatives have people been looking at as a replacement for this project if there are any alternatives out there at all?

Thanks in advance, PM

dsyrstad commented 3 years ago

@TheKashe @ponderMuse I would like to make my fork public, but I currently cannot take on the effort to support it. I have numerous enhancements, including Lottie support, SVG support, a port of the Flint Particle System, and null-safety. I also have more than I'm working on - I'm (slowly) working on a port of game from the Android SDK/OpenGL ES currently. I'm thinking that sometime in August or September 2021, I can make it public.

mjaffa-figure commented 2 years ago

@dsyrstad Any status on opening up your Fork?

mjaffa-figure commented 2 years ago

@dsyrstad do you think it would be easy to add Animated gifs as a Sprite node on your fork? my own fork works good enough for me for now. But I need animated gif support for Sprites. I don't want to have to cut the animated gif up, just want it as it displayed in a Sprite and it animate on its own.

dsyrstad commented 2 years ago

@mjaffa-figure I have integrated Lottie and Rive animations - it might be more attractive and more controllable to use them than an animated gif. I could make my fork public, but it will in "it works for me" shape. I'll look at pushing it this weekend. It will likely just be a separate repo, not a fork.

Birand01 commented 2 years ago

Guys who are you? why am ı getting these irrelevant emails?

Dan Syrstad @.***>, 20 Nis 2022 Çar, 00:30 tarihinde şunu yazdı:

@mjaffa-figure https://github.com/mjaffa-figure I have integrated Lottie and Rive animations - it might be more attractive and more controllable to use them than an animated gif. I could make my fork public, but it will in "it works for me" shape. I'll look at pushing it this weekend. It will likely just be a separate repo, not a fork.

— Reply to this email directly, view it on GitHub https://github.com/spritewidget/spritewidget/issues/57#issuecomment-1103192741, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQ7BXLIVRP732J2Z6XAMQHTVF4QXDANCNFSM4I5YNFAA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

dsyrstad commented 2 years ago

Guys who are you? why am ı getting these irrelevant emails?

Perhaps you're subscribed to this issue?

mjaffa-figure commented 2 years ago

@dsyrstad awesome, thanks! I look forward to that separate repo and will look into seeing the effort on converting these animated gifs into Lotties so I can just use what you got.

vlidholt commented 2 years ago

It's back alive! 2.0 release coming very soon! 🥳

dsyrstad commented 2 years ago

@vlidholt @mjaffa-figure @ponderMuse @TheKashe Here is my "fork" of spritewidget, along with my port of the Flint particle system: https://github.com/SyriousGames/EspritWidget. If you can make use of it, great, but I cannot provide a lot of support at this time.