2014. június 30., hétfő

Release of v.0.1.3

This release brings a lot of breaking change, which is bad, but at the same time it shows that the library is improving. I have to admit i love breaking things, because it makes DartRocket cleaner and easier to use. Not to mention it's so easy to break thing in Dart, because refactoring is excellent in the Dart Editor.

What's new in this version?

  • EventLiseners on stage are automatically removed during state change, so you don't have to remove them anymore.
  • Button class is simplified and easier to use. You don't have to use the setCoordinates method anymore.
  • Fixed embarrassing typo KillteState to KillState and isMoveable to isMovable
  • Named constructors for Sprite, Button and Background class. This change make possible to use more ways to create game objects.
  • Background class undergo a big change and now has more options like scaling and repeating the background. Moving background now support all kinds of speed values.
  • GameObjectFactory class to make gameobject easier, although only sprites are supported for now.
For more information look at the documentation, changelog and the space invader example.

Issues i found:
  • During testing space invader on different browsers i found out that only Chrome and Dartium showed correctly the moving background.
  • Another interesting issue is that only on IE, I couldn't make the ship to move.

Favourite video of the moth: https://www.youtube.com/watch?v=2pTgRhGqXok

2014. június 13., péntek

Release of v.0.1.2

This release was hard to make, because i wanted to make DartRocket mobile friendly or at least compatible with cocoonjs. It was especially hard, because i don't have a smartphone, so I used the built in emulator in Dartium and Chrome. Actually i mostly used Dartium, because that was the only one that had working touch emulation. For some unknown reason in Chrome, it didn't work.
It's ironic that i don't have a smartphone, but have a really powerfull pc. :D

DartRocket is mobile friendlier now and has a Button class, which is good for making buttons. Duhhh
I'm not to happy about the Button class, because i had to overwrite some event listeners to make it work. I'm still thinking about how to make it more clean, but at least it works.

Future plans:

  • GameObjectFactory class
  • Better Background class
  • Arcade Physics
  • Thinking about making a platformer example

Tip of the day: https://www.youtube.com/watch?v=neI_Pj558CY

You can find the Docs here: DartRocket 0.1.2 (Thanks dartdocs.org :D)

State Machine example and Space invader