Home Creators Posts Import Register Favorites Logout

Videos

  • compare.webm

Downloads

Content

Hello everyone, yes I'm still alive and working towards the next update!

First of all WOW! we passed 400 patrons, a huge thanks to everyone who've chosen to support me and my projects hope you all are satisfied with me and my work.

Now, I've got some good news!

In the next game update there'll be some, I call them optimizations. Where the biggest change will be the game size. Right now the game is around 2 GB, it's mostly because of all the wonderfull animations (Thank you Martiandawn for your wonderfull work!). Unfortunate in the current build they force some bugs and make the game crash. So I've spent most of my time searching for a tool to create webm animations from PNG-sequences. All I found was a pretty complex tool called ffmpeg, which you need to run from the command prompt using commands like

png2yuv -I p -f 24 -b 1 -j imagename%05d.png > my.yuv

vpxenc --good --cpu-used=0 --auto-alt-ref=1 --lag-in-frames=16 --end-usage=vbr --passes=2 --threads=2 --target-bitrate=3000 -o my.webm my.yuv

ffmpeg -f concat -i my.txt -c copy output.webm

So to find all commands I had to read tons of documents... 

After more readings and searching for more tools and plugins for ffmpeg I finally reached good quality in the animations!

Which gave these results.

Before, with PNG-sequence, one animations was around 20 MB.

After, with webm, one animation is around 712 KB 

20000/712 = 28 times smaller but with the same quality!

Furthermore this will also get rid of the "width of null" bug when viewing the animations in the game.

That's all for now.

Cheers, yours truly WhiteRaven

Comments

Zakalwe1789

Ren'py would be a better idea ...

WhiteRaven

Yeah and now when I've replace the PNG-sequences, the game size shrunk by 1.8 GB. Which means the game size is around 0.9 GB - 1GB

centerflag982

"Hey man, I see you're trying to cut down a tree, let me tell you about this hammer brand I really like"

ThorsGesandter

Wuhu, JUST DO IT! DON'T LET YOUR DREAMS BE DREAMS! XD