Profile cover photo
Profile photo
Ranger-Dart
56 followers -
Dart game engine. Modeled similar to Cocos2d
Dart game engine. Modeled similar to Cocos2d

56 followers
About
Ranger-Dart's interests
Ranger-Dart's posts

Post has attachment
+Monty Rasmussen posted the other day about Sky's new website:

https://flutter.github.io/

If you are interested in a React-native like framework then Sky....err, I mean Flutter is for you.
Photo

Post has attachment
I-on-the-Sky update:
It appears as if they are removing things like Pepper. It remains to be seen if they deprecate NaCl. I just saw the removal of Pepper and replaced with OpenGL ES autogen.
Photo

Post has attachment
I-on-the-Sky update:
Apparently there was a mismatch between Mojo's GL interface and Skia's validation that was fixed recently. It was causing a crash on exit. Looking at the diff it seems a missing blend def was missing.

From the forum dialog they are hoping to mitigate these issues by "The goal here is to make //sky/tests into normal Dart unit tests run by Dart's test_runner framework."

I did find an interesting blurb mentioning the difference between sky and mojo shells:
"sky_shell doesn't use the GPU command buffer because there's only one stream of GL commands in a single process. mojo_shell does use the GPU command buffer to (a) multiplex multiple streams of GL commands from each Mojo app and to (b) transmit GL commands from one process (i.e., Mojo app) to another."

Fyi, the mojo shell is used like this: $ mojo/tools/mojo_shell.py --android --sky sky/sdk/example/hello_world/lib/main.dart
Photo

Post has attachment
Just keeping an "i" on the Sky (yeah, I made sure it rhymes).

Mojo/MojoSDK are cruising along under major development at the moment. There is lots of bugs being squashed ranging from sound to widget rendering issues.
Photo

Post has attachment

Post has attachment
Book update:
So...I went ahead and published the book with my own (biased) editing with the caveat that when the real editing is complete I will republish for free. Also, I will republish, for free, the addition of any Mobile chapter(s).

The source for the book is located on GitHub: https://github.com/wdevore/Ranger-MoonLander in the same place Ranger-Dart and Ranger-Sack are.

I hope you find the book helpful in using Ranger-Dart. There are tons of examples included with the book ranging from a single Node to something as complex as visibility. Each code example focuses exclusively on the goal and I tried to cover areas I felt exercised Ranger the most. And don't forget the complete apps that Ranger-Sack contains, for example 2048.

Cheers.

P.S.
My next goal, after I have finished my contract, is to focus on Sky/Mobile with a WebGL approach. For that I will need to extract the renderer from the Scene graph in order to improve state-management.

On a side note, WebAssembly looks like an exciting direction for browsers and I hope Mojo/Sky embraces it upfront, that would make for a killer game engine environment!
PhotoPhotoPhoto
2015-06-18
3 Photos - View album

Quick update:
My apologies, my "editor" has been busy as of lately so the editing process is slow. In the meantime I have been working on my contract and what little time I have left I am putting into an actual game I will publish on Google Play hopefully using a Sky version of Ranger.

However, Sky is currently under heavy development (actually the underlying Mojo and Mojo-sdk that Sky relies on is under heavy development). Mojo is pretty much Chrome's renderer yanked out for better cross platforming ability. From my perspective Sky then becomes Dart and Mojo layered together.

Anyway, cheers.

Post has attachment
I ran across a couple of CodePen's that I thought were pretty cool, so I ported them. I like the dat.GUI control panel for its simplicity so I found a cool website that helped me create the CSS for the slider:

http://danielstern.ca/range.css/?ref=css-tricks#/

I wasn't surprised that the spinning stars js version had a bug causing a crash because js simply ignored the index-bounds error!

Cheers.
Video
Video
2015-05-16
2 Photos - View album

Post has attachment
Book update:
I finally finished my second pass on the book and have now handed it over to my ruthless editor this isn't going to be good.

In the meantime I saw some interesting CodePen snippets I ran across on the html5 Google page:
http://codepen.io/DonKarlssonSan/pen/KpdeYb
http://codepen.io/DonKarlssonSan/pen/oXgmbL
http://codepen.io/jackrugile/pen/wIoyF

So I ported them over into three examples of complex Nodes (aka large-arse-nodes). Each example has a single Node that literally does-it-all in one fat Node that also manages its own transforms.

As I run across more codepens I may port them while I wait for the editing bloodbath end.

Cheers
Video
Video
Video
2015-05-15
3 Photos - View album

Post has attachment
Book update:
I added a few more examples bringing the total to about 30, the last one being an intermediate level example covering a combined Drag, Zoom and Scroll.

However, I don't think I am going to get anything meaningful done for a chapter on mobile both because of my time and because of leveraging Sky. So I will be handing it over to my wife for editing as soon as I closeout the conclusion chapter. In total the book will end up being about 260 pages.
From there I am thinking about putting it on Google Books for $1.99 with free upgrades on any errata and/or additional mobile chapter(s).

Between the unit tests, +Ranger-Sack and the book there is well over 100 examples and/or projects. If anything the book would certainly help one understand how Cocos2d-x works from a scene graph perspective. ;-)

Cheers.
Video
Photo
2015-05-07
2 Photos - View album
Wait while more posts are being loaded