1
hrac
pnFlashGames module
  • 2003/12/7 22:20

  • hrac

  • Quite a regular

  • Posts: 305

  • Since: 2002/7/15


I've found very good game module running on postnuke: pnFlashGames.
Ypu can find it here: http://noc.postnuke.com/projects/pnflashgames/

I think if someone port this modules to XOOPS it will be great.

2
CBlue
Re: pnFlashGames module

This site offers 814 free flash games that you can get the html source code of and intregrate them into your XOOPS site.

http://www.freeflashintros.com/site/display.php?cat=Games&g1=11&g2=22

I'm going to try it out myself.

3
limecity
Re: pnFlashGames module
  • 2003/12/8 3:45

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


Cblue..
how would you organize those tonnes of games into xoops?

making new blocks for each games?

4
CBlue
Re: pnFlashGames module

This is how! http://magazine.crazy4realitytv.com/modules/cjaycontent/index.php?id=88

I created an html page in cjaycontent.

Here is what I wrote in the page that you can see in the link above.

<html>
<head>
</head>
<body>
<table width="100%" bgcolor="#ffffff" cellpadding="10" cellspacing="10"><tr><td align="center"><font size="2"><b>Flash Games</b></font><br><br><font size="1">You have to have the macromedia flash player installed on your computer in order to view and play these games.<br>If you don't already have it, you can download it for free <a href="http://www.macromedia.com/downloads/" target="_blank">here</a>.</td></tr></table><table width="100%" bgcolor="#ffffff" cellpadding="10" cellspacing="10"><tr><td align="center"><script language="JavaScript" src="http://www.t45ol.com/selection_us.php?ID=18"></script><a href="http://www.freeflashintros.com/"><img src="http://www.freeflashintros.com/images/clear.gif" border="0"></a>
</td><td align="center"><script language="JavaScript" src="http://www.t45ol.com/selection_us.php?ID=16"></script><a href="http://www.freeflashintros.com/"><img src="http://www.freeflashintros.com/images/clear.gif" border="0"></a><td align="center"><script language="JavaScript" src="http://www.t45ol.com/selection_us.php?ID=14"></script><a href="http://www.freeflashintros.com/"><img src="http://www.freeflashintros.com/images/clear.gif" border="0"></a></td></tr><tr><td align="center"><script language="JavaScript" src="http://www.t45ol.com/selection_us.php?ID=20"></script><a href="http://www.freeflashintros.com/"><img src="http://www.freeflashintros.com/images/clear.gif" border="0"></a></td><td align="center"><script language="JavaScript" src="http://www.t45ol.com/selection_us.php?ID=23"></script><a href="http://www.freeflashintros.com/"><img src="http://www.freeflashintros.com/images/clear.gif" border="0"></a></td><td align="center"><script language="JavaScript" src="http://www.t45ol.com/selection_us.php?ID=27"></script><a href="http://www.freeflashintros.com/"><img src="http://www.freeflashintros.com/images/clear.gif" border="0"></a></td></tr></table>
</body>
</html>

The javascripts came from the freeflashintros.com site. When you click on a game icon the game loads into a popup window.


5
CBlue
Re: pnFlashGames module

You can create as many flash games pages as you want in cjaycontent to hold the games you want. You would just need to add a menu to each page to link all the pages together. Such as page one, page two and so on.

6
limecity
Re: pnFlashGames module
  • 2003/12/8 4:40

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


Just wondering, is it possible to implement high scores?

7
CBlue
Re: pnFlashGames module

With the ones I'm using on my site, no. The games are run on another site and I tested some of them and don't see any high scores. Only one that I know of has a login feature to it and that one may keep your score for you for every time you play it.

8
CBlue
Re: pnFlashGames module

That postnuke module listed in the first post above does have top scores saved for it.

9
limecity
Re: pnFlashGames module
  • 2003/12/8 5:22

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


ah thanks mate
I implemented your script you gave on my site.
I am using Wfsection
Now..trying to add more games

http://www.catscity.com/modules/wfsection/article.php?articleid=13#

Thanks~!

10
hrac
Re: pnFlashGames module
  • 2003/12/8 5:57

  • hrac

  • Quite a regular

  • Posts: 305

  • Since: 2002/7/15


To save high scores I think we need to edit flash files. I don't have any knowledge about flash, but I think (and I'm not sure) we cannot edit *.swf files, *.swf files are compiled flash files, so we need source files of flash games.

Home page of pnFlashGames has tens of flash games, not hundreds of free flash games. I think they change some free flash games to work with pnFlashGames. So unaltered flash games will not work with pnFlashGames.