Profile cover photo
Profile photo
Danny Hendrix
167 followers -
Hello
Hello

167 followers
About
Posts

Post has attachment
I'm in geek town :D.
PhotoPhotoPhoto
11/1/17
3 Photos - View album
Add a comment...

Post has shared content
In case anyone in this community is interested:
Sweet! My game now runs in Chrome and in #Flutter with the same #Dart code :D. The rendering in Flutter is slow but at least it works ;). #dartlang ftw!

Source: https://github.com/dannyhendrix/Dart-platform-game/

Post has attachment

Post has attachment
Sweet! My game now runs in Chrome and in #Flutter with the same #Dart code :D. The rendering in Flutter is slow but at least it works ;). #dartlang ftw!

Source: https://github.com/dannyhendrix/Dart-platform-game/
Add a comment...

Is it possible to draw/create an intermediate Canvas/Image in #Flutter?

What I want to do is something like this:
Canvas c1 = new Canvas(..);
Canvas c2 = new Canvas(..);

ui.window.onBeginFrame = (){
//update c1
c1.DrawRect(..);
..

c2.drawImage(c1, x, y);
//Create scene with c2 and render scene
..
ui.window.render(..);
};

What I currently do is create a Picture from c1 and draw it on c2 via drawPicture. This appears to result in a huge set of drawing instructions over time in c2, making it impossible to render after ~15 frames.

Is there a way to "build" an image from the canvas and then "paste" it on another canvas (like the Canvas for the web)?
Any thoughts on this?

Post has shared content
"We measure our dev cycles in milliseconds."

Learn about the latest news from Flutter, with this video from the Dart Developer Summit 2016.
Add a comment...

Post has shared content
Add a comment...

Post has attachment
As part of the tablet support for TeamX, I had to find a solution for switching between touch buttons and keyboard keys in the tutorial. The result is pretty satisfying :).
http://www.dannyhendrix.com/teamx
Photo
Add a comment...

Hi all,

I signed up for the Dart summit 2016 in Munchen a couple weeks ago. Is the "Registration confirmation" email enough to ensure a ticket? In other words, is it safe to book hotel, flight etc..?

Looking forward to meeting other Dart enthusiasts ;D.

Post has attachment
Add a comment...
Wait while more posts are being loaded