Complete Flash pool game with highscores

Today is a very important day. For three reasons.

First: For the first time (as far as I know) a coder that published a complete game with MochiAds released the full source code of its game.

Second: It’s a damn good and complete game with loading, splash, gameplay, game over, and highscore table.

Third: I am the first to publish the source code, with the full permission of Alejadro Quarto, from Argentina

Alejandro runs a blog mainly about Flash Examples, and even if the blog is running only since october 2007, it’s full of useful tutorials. The name of the blog is alejandroquarto.com and I think it will be a “must read everyday” very soon.

Unfortunately some of the content is written in spanish, but even spanish posts contain a link to english content published by the aouthor elesewhere.

But let’s get back to the game.

As said, Alejandro is releasing the full source code of his pool game. I really want you to play it because you must see how good is the game. It’s called PocketPool

Alejandro Quarto Pool

That’s how he describes his work:

I have to say, the physics are not real, cos it can take a long while to play with all the Newton’s laws. Anyway, simulation is playable, and compared with any webgame arround. If you want to play real pool, development can take more than few hours.
This is the game screenshot:

Art is based on pics i found on google, and some Flash edition, you know, filters like shadow, glow, etc. The game is complete, with loading, splash, gameplay, game over, and highscore. All the highscore system is provided by MochiAds. Really simple to integrate and it works really cool.

He is trying to monetize the game with MochiAds, and that’s how it’s going:

after 2 weeks of bad luck, im having between 1300 and 1700 impressions at day.

Alejandro made this game in a day (!!!), so the source code may be not the cleanest ever, and some variables and functions have spanish names, but I found it very clear and it’s amazing how he made the entire game in a bit more than 700 lines of code.

On his blog, he plans to make a step by step tutorial of the game as soon as he can

But what makes this entry a special one is that a developer is releasing the source code of a game he is trying to monetize.

I would like it to be an example for all game developers out there… if we share our knowledge and experience, this will lead to better games and higher earnings.

Download the source and give Alejandro feedback and deserve him good luck with his game.

Now it’s my time to dive into 700+ lines of actionscript and learn as much as I can.

Rate this post: 1 Star2 Stars3 Stars4 Stars5 Stars (9 votes, average: 4.56 out of 5)
Loading ... Loading ...
If you found this post useful, please consider a small donation.
» Flash Templates provided by Template Monster are pre-made web design products developed using Flash technology.
They can be easily customized to meet the unique requirements of your project.

35 Responses to “Complete Flash pool game with highscores”

  1. shiv on January 5th, 2008 3:01 pm

    Its really cool!
    Even I was planning to make a peculiar flash pool game, but this one is really awesome.

  2. Alejandro on January 5th, 2008 3:31 pm

    Thanks Emanuele!

    As always, you made a complete review and a great work publishing content.
    I hope to get good feedback here, or at my blog, to be able to improve myself in the next crazy game :D.
    By the other side, will be cool to see if anybody can fix my game, and release a really cool pool outthere, will be an honor to me.
    Again, thanks a lot, keep working on cool things as usual :D

    Ale

  3. Frederik J on January 5th, 2008 3:31 pm

    Fantastic. Thanks alot. I think I’m gonna visit his blog everyday like yours.

  4. Mike on January 5th, 2008 8:50 pm

    Hi,

    This is really cool and I applaud Alejandro for the initiative, however, when I try to open the .fla with Flash 8, I get the following error:

    Unexpected file format.

  5. Emanuele Feronato on January 5th, 2008 10:36 pm

    it’s a cs3 project

  6. styxtwo on January 6th, 2008 12:02 am

    emanuele are you going to release AS2 tutorials? i was wondering because as3 is to expensive for me and probably for more people ;)

  7. shiv on January 6th, 2008 4:17 pm

    I completely agree with styxtwo.
    It is not available in India and I dont buy pirated stuff.

  8. shiv on January 6th, 2008 4:20 pm

    And one addition I would like to suggest to Alejandro.

    -If you make a game with levels and achieving scores you should add powerups

  9. Alejandro on January 6th, 2008 8:53 pm

    Shiv,

    Thanks for your feedback, you are completely right about the powerups. I didn’t worked on that cos the game is just one day development. I will release a new version of the game as soon i finish the tutorial, thinking about all the feedback i got.

    Btw, maybe im crazy, but Emanuele works on AS 2.0, Also i. I can save the game source for Flash 8 if you want, so you can open it.

  10. Adam Owen on January 7th, 2008 11:32 am

    Fantastic work on releasing the source code Alejandro, it’s refreshing to see people like Emanuele and yourself really pushing to help others.

    An AS2 version would be a great help to many I’m sure. While I have CS3 I know plenty don’t and it’d be a shame for them to miss out on such valuable information!

  11. abhilash on January 7th, 2008 11:49 am

    i played the game, and it was really fun but the source code was in AS3 so it was not helpful for many people(who have flash 7 or 8 or even lower) and like shiv said, in India flash CS3 is not available and if it available, its too expensive…..so please can you do a tutorial in AS2 becoz i really liked the game

  12. RJ on January 7th, 2008 11:57 am

    I think you’re a bit confused:

    Flash CS3 supports AS2 and AS3, BUT Flash CS3 files can’t be opened with Macromedia Flash 8, even if they’re in AS2.

    Emanuele uses AS2, but CS3, so you can’t open the files provided by him.

  13. shiv on January 8th, 2008 1:06 pm

    RJ,
    Emanuele’s source codes are quite acessible.
    They open up in flash 8

  14. RJ on January 8th, 2008 4:25 pm

    I meant the pool game

    Anyway, I wasn’t complaining, only explaining them because I saw them quite confused

  15. shiv on January 9th, 2008 2:00 pm

    when did I say you were complaining?

  16. RJ on January 9th, 2008 6:02 pm

    I’m sorry. I missunderstood you

  17. Kriss Daniels on January 23rd, 2008 5:17 am

    I keep all of my flash games (and other code) inside a publicly visible subversion repository and have done for years.

    Which is not to say that all the code is yours for the taking, nor is it all perfect. I just keep it visible for the rare people that might want to actually learn something rather than modify a few images and post the same game again and again to newgrounds. I have yet to meet this person but one lives in hope.

    Some of the parts are however explicitly provided under an MIT license and available for you to do with as you wish… There will be more parts like that, the chat client/server code for instance is intended to be but I’m holding back on such things until I’m happy with the design.

    https://trac.xixs.com

  18. arm on January 25th, 2008 2:58 pm

    hey,..iam newbie in flash game, thanks for the code,…i’ll learn it.

  19. Sniper on February 9th, 2008 2:56 pm

    hey is it possible to try the poll and if it works can i put it in my website for my guest to play my guest

  20. bkelly on June 11th, 2008 3:50 pm

    I want to congratulate you on such a fine pool game you have created, I was amazed at what you had done in 1 day of coding.

    I am a educational video game developer. We have created an free educational game for children with AD/HD. Part of our game is teaching math concepts through playing pool. We would like to use your pool game, with slight modifications to help these children. We will credit you at the end of the game with your name and website. We wanted to have your approval before using this.

    Thank you for all of your help in teaching others what you have learned.

  21. Ruslan on July 5th, 2008 10:22 pm

    Thanks great .I am PHP , C++ and Flash developer . I would be happy to help you in anyway .

  22. rahul mehta on July 10th, 2008 4:04 pm

    hi Friends,

    i am looking for some good flash programmer for my new company .. we have 100 of flash games which we have to complete in this year end..

    our studio based in INDIA- MUMBAI – THANE ..
    if anyone interested pls drop me a mail .. – rahulmehta5@gmail.com / rahul_ni1@rediffmail.com
    or u can call me – +91-09223246436

    its a full time position ..!!

    warm regards
    Rahul

  23. klaine on October 17th, 2008 2:20 am

    hi there!

    i’m a amateur programmer of flash but i can help you in making games… i’m good in coding but i’m poor in designs.. you can contact me at keith_velasco2008@yahoo.com if you want..

  24. romeo on December 8th, 2008 4:48 pm

    hello peopels :-)

    I just wanted to open the zip-file.. but a message always says… that the file is damaged and cant be opened :-( .. does somebody can help me? :-)

    kind greetings
    Romeo

  25. maheedhar on May 4th, 2009 3:55 am

    very nice tutorials.The pool game is very nice……Can u help me! how to create a platform or racing game with camera movement effect? thanx.

  26. tony hawk on May 12th, 2009 6:36 pm

    Airwalk techincality

Leave a Reply




Trackbacks

  1. Wall Dodge - game made from Metro Siberia Underground tutorial : Emanuele Feronato - italian geek and PROgrammer on January 21st, 2008 2:10 pm

    [...] the Complete Flash pool game with highscores, this is the second full game with source code to be published [...]

  2. free tutorials for flash game development - the coolest tutorials in web to create your own flash game- The Design Superhero on January 25th, 2008 9:35 pm

    [...] 1.Complete Flash pool game with highscores [...]

  3. Como criar jogos em Flash - Compilação on February 28th, 2008 10:03 pm

    [...] Jogo de sinuca; [...]

  4. Source Code | Cool Flash pool game with highscores « Flash Enabled Blog on April 24th, 2008 3:12 pm

    [...] Download the source and read original post No Comments Leave a Commenttrackback addressThere was an error with your comment, please try again. name (required)email (will not be published) (required)url [...]

  5. Arch Games Webmasters - Arcade Webmasters » Game Developer tutorial List on May 13th, 2008 7:33 pm
  6. Adobe Flash CS3- AS3 and AS2 game tutorials roundup | Lemlinh.com on August 19th, 2008 6:30 pm

    [...] Read  more [...]

  7. The Design Superhero » Blog Archive » free tutorials for flash game development - the coolest tutorials in web to create your own flash game on October 4th, 2008 6:09 am

    [...] 1.Complete Flash pool game with highscores [...]

  8. Project 3 concept « Isaac Fowler Design on February 23rd, 2009 6:56 pm

    [...] are some more nice links: A list of game tutorials A pool game with high scores tutorial Tower Defense tutorial Matching game tutorial A blog that supposedly has amazing Flash resources, [...]

  9. Como criar jogos online (em flash)? on April 5th, 2009 10:31 pm

    [...] 20. Jogo de sinuca [...]

Posts