Create HTML5 Vertical Endless Runner cross platform games

Using Phaser framework and other FREE software
Endless runner games are gaining more and more popularity and they are really easy to code.
I will take you by hand through the creation of a complete HTML5 vertical endless runner cross platform game with a lot of features and room for customization.
100 pages + 31 source code examples with a free update to come in a few days.

Flash Game Development by Example – My book is on the shelves!!

Emanuele Feronato Actionscript 3, Flash, Game design

This is a very important day for me and the blog. After about seven months of writing, coding, rewriting and recoding, finally my (first) book is on the shelves!!

The title is Flash Game Development by Example and it’s a complete AS3 guide to the creation of 10 (9 on the book + 1 extra chapter available online) classic games.

Following the style of the blog, with games dissected and explained line by line, in the book every feature of the game is explained in deep detail. I just want you to know the chapters initially have been decided to be 11, but due to the high number of pages, we had to drop a chapter. Just imagine how much I went in depth explaining line by line the whole code.

Writing a book is a great milestone in a blogger life, but once the book is published, another challenge awaits me: selling it. Talking with the guys at Packt Publishing, they have set the goal of 2,000 copies sold as a “great achievement”. To show them I am more than great, I want to sell an extra 10%, for a grand total of 2,200 copies.

If you love the blog, if you found it a great resource for improving your programming skills, you can learn a lot more if you buy a copy of the book.

Writing a book is not just creating tutorials for another media, it’s a great experience I will blog about during next days. It made me a better writer.

Now I want to focus on game development and start coding some Flash games to release as soon as possible, but after this summer I’d probably be writing another book.

And now, something about the book itself and its scope:

You can’t call yourself a Flash game developer unless you know how to build certain essential games, and can quickly use the skills and techniques that make them up.

Flash Game Development by Example is an ultra-fast paced game development course. Learn step-by-step how to build 10 classic games. Each game introduces new game development skills, techniques, and concepts. By the end of the book you will have built ten complete games – and have the skills you need to design and build your own game ideas.

The book starts with simple well known puzzle games: Concentration and Minesweeper. After learning the basics of game design you’ll introduce AI with a four-in-a-row game. Then as you build your own versions of old arcade games such as Snake, Tetris, and Astro Panic. The book ends with a collection of modern casual classics.

In each chapter you’ll build a complete game, starting with simple puzzlers and working your way up to games similar to the most popular online casual games. Each game introduces a range of essential skills that all Flash game developers should know. There’s never a dull moment – you’re building working, fun games right from Chapter 1.

I also created a one page site about the book, to better spread the word. You can check it at

I need your help to let coders there is an awesome AS3 book around there, so if you have a blog, I’d appreciate you to mention the site.

Go buy Flash Game Development by Example. By the end of the book you will have built ten complete games – and have the skills you need to design and build your own game ideas.

Stay up to date
Follow me on the social networks and never miss a post.

Official Emanuele Feronato Facebook page

Official Emanuele Feronato Twitter account

From null to full HTML5 cross platform game

I will take you by hand from the bare bones of JavaScript programming through the creation of a full cross platform HTML5 game, with detailed explainations and source code.

If you don't know where to start, then From null to full HTML5 cross platform game is the book for you.

Comments 58

  1. Adam

    I’ve been leeching from your site for a while now so I suppose I’ll give something back and pick up a copy as soon as I can =]


  2. Jayisgames

    Congratulations Emanuele! Your blog has been a source of great inspiration and valuable information for years now, and I’m very pleased to see your expertise published in book form.

    Best of luck with sales! I am buying a copy. :)

  3. badcoder

    Congratz Emanuele..
    I like ur blog, ur teaching coding. And one of ur fans..
    I hope ur book will give inpiring another people to learn code AS3 more

    Greeting from Indonesia

  4. Innes

    Best of luck with the book.

    I had a brief look at the one-page book promotion website that you have created, and although I have not read it in great detail, I noticed a small grammatical error that you may want to to correct…

    In the final section, “About the Author”, you have start with the words, “The author itself…”, which should be changed to “The author himself“. I might even suggest removing itself completely as it reads just fine in the form, “The author hates the yada yada”.

    I hope you are not offended by my constructive criticism; the quality of your English language is amazing considering it is a second-language.

  5. Innes

    I can’t see in any of the descriptions of the book which tools will be required to write the games. I would assume that Flash is needed because it is in the title of the book (!) but which version? Are any other tools required? Will buyers of the book need to buy any other tools to help them create their games?

    And, is Flash definitely needed or can a development environment like FlashDevelop be used instead?

    Considering the type of reader being targeted (absolute beginners), I think it is important for the publisher to address these issues in the ‘blurb’.

    Again, I’m just trying to offer constructive criticism. I hope it helps!

  6. Chris Moeller

    Awesome, I hope it sells well! I’ll have to check it out next week and try to write up a review.

    Any chance of it being released on kindle format? I like the pdf’s too, but kindle reader works much better on my android than the pdf readers :o

    Also, is it just aimed at beginners, or as it sounds, going from basics to pretty advanced?

    Greta to hear, didn’t even know you were writing a book!

  7. Post
  8. Pingback: Daily Digest March 24th

  9. Pip


    but I have one question. Do you “just” teach the game logic or everything else, too? I mean game menus, pausing, etc.

    1. Post
      Emanuele Feronato

      apart from the game logic, there’s a basic AI and saving data using SharedObjects, but no menu or options like pausing.

  10. Jordi Sanglas Molist

    I’ll buy this book, definitely.

    Just a question: Does the book give advice to avoid spaghetti code?

  11. EPadilla

    Congratulations Emmanuelle for this achievement.
    I most add to this comment, many of us have been learning from this blog for a long time. I say it’s time to give you something back; I am sure the book is as good as this site so I will just go ahead and purchase it. Thanks a lot for all your effort and unconditionally help to the flash community.


    1. Post
  12. Pingback: Touch My Pixel Blog » Blog Archive » Flash Game Development By Example: Tech Editor

  13. Fernando

    Hello Sir..would you give me some tutorial to create playing card game in flash?..i want to build/develop my own game..but i never code using flash…my biggest problem is how to create the animation and how to draw the card in flash?..please reply me Sir..

  14. vbcpp

    Just purchased your book. Most of it looks to be below the level I’m currently at, but I like your writing style so I’m sure I’ll learn something from it. Will learn about using flash cs at least! Price was no issue compared to my college textbooks, can’t wait for it to get here!

  15. Robert Ivan

    can we use your book to make games for commercial purposes. For example, @alexandre’s version of concentration if for profit i’m assuming.

    just want to know before i do something wrong.
    Thanks. Your new book is amazing.

    1. Post
  16. Kunjal

    Hi Emanuele,

    I recently laid my hands on your book and would say its among the best buys.
    I have also started developing the Puzzle bubble game from 8th chapter. But I am facing few problems seems like algorithms works fine at times and sometimes they don’t. May be I have missed something important while making it.

    It would be great if you could hep me out. If possible please let me know where to upload my files so you could have a look.

    All the best for your book.

  17. Marino

    Indeed a really good book, even tho I’ve to admit its not flawless :-/, there are still few mistakes in the code. But usually they’re that small, that everyone can fix them theirself.

    Anyways, I’d look forward for another one! It’s clearly worth the money, and I can just suggest everyone who thinks about getting a copy – do it!


  18. jason

    hi sir Emanuele im a fan of your works Im studying all the as3 samples with box2d. i want to be like you i want to create a game of my own this is my passion thanks for inspiring me. i have no money to have your book but i really want to have is it possible to sell some games i made just to buy your book? thanks a lot god bless and more power

  19. Pingback: Review of Flash Game Development by Example (Author: Emanuele Feronato) | Chris Moeller Web • Engineer Extraordinaire

  20. thomas

    Arun Nadar at Packt Publishing said I should contact you and ask how to do the second exercise of Chapter Two(Minesweeper); it was asking how you could make it so it knows when you’ve won the game. I know the variables needed but I have trouble finding how to go through all the different tiles.

  21. Post
  22. thomas

    I don’t want to hurry you, but i contacted him today and he says that he has not recieved an email from you. most probably you’ve not had the time to do it which is fine or maybe there was a mailing problem

  23. Pingback: Flash Game Development by Example Book Review

  24. Pingback: Flash Game Development by Example Book Review | Photon Storm

  25. Pingback: Photon Storm » Blog Archive » Flash Game Development by Example Book Review

  26. SM

    I’m looking for a link to any updates/corrections. (I’m reading this book through my Safari subscription.) I’ve tried repeatedly to correct a problem I keep encountering in Ch. 3: The disc in Connect 4 keeps appearing on top of the board. I’ve followed the code. I don’t know if the error is a result of something I did when drawing the Symbols in Flash or if I’m just not understanding Display List hierarchy. I desperately want to figure it out on my own, so maybe just a hint…

  27. Pat

    Hey Emanuele, I love the book! I was hoping to take the Snake game further by adding a few things like disappearing fruit that reappears elsewhere on the grid, a score system, title screen, etc. Any suggestions on how to go about implementing stuff like that?

  28. Paul

    Hi do you need Flash from Adobe to follow the book or is it enough to have FlashDevelop? I notice someone else asked the question but didn’t see any answer? Thanks, Paul

  29. DuqueKarl

    Hi Emanuele!

    I bought your book and I really loved it! I went from zero to understanding everything, you are such a great teacher! ;) I started doing my some small demo games and finally I made my first commercial videogame which I just sold through FGL in January! I am really happy and fulfilled for having finished a videogame and got money for it, and I am very grateful to you and your book/blog for it!

    My game is called SteamyBalls and it has been now online for 10 days, with 1.5 million plays :) You can play it here:

    My small games site is also based in your awesome WordPress plugin with some customization!

    Thanks for all and keep the great job, mate!

  30. Lino Junior

    hello emanuelle recently I got your book Flash Game Development by Example captain and eight ‘bublbe pulzze “the end of my code not compiling this you could help me?
    thank you!

  31. Lino Junior

    hello! already decided. the problem was that instead of removeChild (getChildByName (i + “_” + j)??);
    is placed removeChild (getChildByName (i + “,” + j)??);

  32. Pingback: My book “Learning Cocos2d-JS Game Development” has been released – Go get your copy! | Emanuele Feronato

Leave a Reply

Your email address will not be published. Required fields are marked *