Extremlym |
30th March 2013 15:41 |
Help! Create a game
Hello i rip a game from a website is all JavaScript and SWF
I, modify something to enable it on tracker but doesn't work
need some advide
CODE FOR PLAYNG Online
PHP Code:
<?php // require_once("backend/functions.php");
dbconn(false); stdhead("Zombie Game");
begin_frame("Zombie Game"); ?> <html> <head> <meta charset="utf-8"> <meta name="google-site-verification" content="GUoTEYnf6dvg13W9x3dYGEf3wrWjDmZBBMSj0cUu9_k"> <script src="plantsvszombies.js" type="text/javascript"></script> <style> html { height: 100%; background:#ffc709 url(images/pvz1.jpg) no-repeat center top; } body { /* Webkit */ display: -webkit-box; -webkit-box-orient: horizontal; -webkit-box-pack: center; -webkit-box-align: center; /* Mozilla */ display: -moz-box; -moz-box-orient: horizontal; -moz-box-pack: center; -moz-box-align: center;
/* Standard */ display: box; box-orient: horizontal; box-pack: center; box-align: center; height: 100%; overflow-y: hidden; } </style> <link rel="shortcut icon" href="favicon.ico" /> <script type="text/javascript">
var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-21129758-1']); _gaq.push(['_trackPageview']);
(function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();
</script> </head> <body> <script src="plantsvszombies.js" type="text/javascript"></script> <script language="javascript" type="text/javascript"> thePopCapGame.write(); </script> </body> </html>
<CENTER><img src=/images/extra/sig.png></CENTER> <?php end_frame(); end_frame(); stdfoot(); ?>
the rest is on the RAR
PS: i sopose the problem is in the JS
Demo:
http://extremlymtorrents.com/ZombiXTR.php
The official page of the game:
http://chrome.plantsvszombies.com/
|