I am in the process of writing a Drupal Flash Games module which will support games from www.pnflashgames.com. To install a new game on your web site, you need to download and extract a game from the www.pnflashgames.com web site then upload it to a folder on the web server (I use files/games). From there, you create content a flash game and specify related game information, i.e., name, description, game file, author, height, width, background color, etc. If the game uploaded is scoring enabled, high scores for each user will be saved, and on the game's node the top 20 scores will be displayed.

My proof-of-concept works, albeit with a tweak to menu.inc. However, the module needs much more. Even though I am a software developer of 16 years, I am a novice at PHP and more like infancy-level at Drupal module developement. I am sure there are things I am doing wrong in regards to best practices in Drupal module development.

I could really use the help of some seasoned Drupal module developers to get this module complete so that the community can benefit from it. Before Drupal, I ran numerous Postnuke web sites with a similar module and you would be surprised how much traffic that simple module generated.

Things that need to be done:

  • Add Top Players block
  • Add Latest Top Scores block
  • View games by categories (not completely up on Drupal taxonomy yet)
  • Add option to upload a game (may use File Mananger API), which then extracts the zip, and parses the game INI file for the game information.
  • Clean up of code

Is anybody interested?

Comments

doka’s picture

Check these nodes: http://drupal.org/node/69030 and http://drupal.org/node/45635

I am interesting, but can hardly contribute other than testing: I can just install modules :(

Doka

Doka

ciperl’s picture

oh... just what I was looking for.

leducdubleuet’s picture

Hello Oqqaiz,

I would be interested in your project but I am using Drupal 5. How hard would it be to adapt what you've done so far to version 5?

Eric

agentc’s picture

Cant wait to start playing games on drupal!

weaponx’s picture

I could really use a flash game module for my site. So this post is just to show interest on the subject.

kus’s picture

subscribe

MagicMatze’s picture

any releases yet? Is there another game project like this?

alley’s picture

If you abandoned your work, could you please post your code so someone else could finish it?
I'd be happy to pick up where you left off.

rpg games’s picture

Yes if it's abandoned, it would be great to improve it, i could use it for my flash rpg games section.

The top score part is really what i have been looking for quite a while, to be able to continue something already started would be easier then to start from scratch i guess :)

citizenjack’s picture

I could do with a games module for one of my drupal sites, great content to keep the visitors returning.
Have had a look at pnflashgames and seems to me that a plugin could be created for drupal, don't know how much work it would take as I have no coding skills. Would be nice if a module developer could get on board, can see it going down a treat, am willing to be a beta tester if it ever gets off the ground...... Here is a link to pnflashgames http://www.pnflashgames.com/module-Pagesetter-viewpub-tid-4-pid-0.phtml.

regards Micheal

RadGuy’s picture

This is a great idea, please some Dev out there step on up, I'll pay you $10 via paypal.

maylene’s picture

subscribe

eileen’s picture

Is there and progress on this module? I've been running into too many problems trying to do it myself.

Thanks for all the work you've done so far.

Eileen

simplulo’s picture

Lots of interest: http://drupal.org/search/node/flash+games
Is pnFlashGames the most popular integration standard?

In the list of pnFlash-supported CMSs I see Invision, Joomla, MD-Pro, PHP-Nuke, and PostNuke, but no Drupal. :(

dlathem’s picture

I would be happy to test a games module, I am building a site that will partially cater to younger people like teens and such. I could really use this kind of a module.

www.thecybernation.com

simplulo’s picture

Maybe you could use this new Drupal book, Learning Drupal 6 Module Development:
http://drupal.org/node/260841

How much of a bounty do we need to offer to get this developed?

pjnes’s picture

I've managed to hack together a basic working version of an arcade module for Drupal 5.x by adding code to the FlashNode module and following the API guidlines at pnFlashGames. Initial setup is a complete pain, but once it's setup adding games is relatively easy.

I won't be supporting this in any way because I simply don't have the time, or the coding knowledge, but after waiting 3 years for someone to release something I finally caved and threw one together myself. Maybe now someone with knowledge of PHP and Drupal coding can fix it up and make it a worthwhile module. If anyone wants to take control of this modules development then please feel free.

You can download it here, along with a rough tutorial on setting it up: http://squirgle.net/portfolio/arcade-module-drupal

matt2000’s picture

Per arrangements & sponsorship with simpulo, I am taking on the continued development of Holychimp's work. Should be released in the next few weeks.

----
Drupal Micro-Blogging at Twitter

pjnes’s picture

I'm looking forward to giving it a go!

Seneschall’s picture

Same. Using PNFlashGames on one of my mdpro sites, and want to switch that site over to Drupal. Have 2 other sites already running drupal that I think this would be fantastic for!

matt2000’s picture

Skyline & others,

Please contact me via my contact form if you are interested in beta testing my module. Note that as long as the pnflashgames site is down, you'll need to have your own copies of games to test with.

Best,

Matt

----
Drupal Micro-Blogging at Twitter

snailian’s picture

subscribing. I was about to sit down and make one myself, thank you for your time and effort.

deleuje’s picture

Have you taken it off your site?
Couldn't find it in the modules listed here on drupal.org either.

Can you please let us know about the current status of this project.
I am very excited about this one...

matt2000’s picture

I have new module to support Flash Games, including pnFlashGames specifically, that is just about ready to be released. Basic features like score saving and rankings are tested and working.

However, the pnFlashGames.com site has been down for a few days now. Does anyone know anything about this? Unless you're writing your own games, the module is pretty useless without a place to get games from....

----
Drupal Micro-Blogging at Twitter

Ehud’s picture

Thanks a lot for developing this module. I was waiting for it for long time.

I also noticed that pnFlashGames is down and started to look for the reason. I found this forum thread where they announce the deploy of their new design (March 2006):
http://community.zikula.org/index.php?name=News&file=article&thold=-1&mo...

this leads to Leason:
http://community.zikula.org/UserInfo-leason.htm
where you can find his contact details. I didn't manage yet to try it though.

I'm very interested in testing your module and i managed to download many games, in case the site will not come up. I'll send you the contact form.

matt2000’s picture

I've created a site for beta testing the module here:

http://www.StarWestGames.com

After a bit more testing and some improvements (Views Integration is being discussed), it will be released on Drupal.org

----
Drupal Micro-Blogging at Twitter

Tmanagement’s picture

good news!

matt2000’s picture

snailian’s picture

Any advice on what steps one should take to backport this to Drupal 5?
I haven't messed with any of the stuff that was introduced/changed in 6.

EDIT: I've gotten it to work quite nicely on D5. www.pathogengames.com/arcade
Also, pnflashgames.com is up and running again.

simplulo’s picture

Two open issues, one critical:
http://drupal.org/project/issues/arcade?status=Open
Can somebody update Arcade for the most recent versions of 6.x?

JeffTackett85’s picture

fck editor module, use built in file browser, upload the .swf file, click it.