The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
v3 Arcade - Game Modification Guide & Releases
![]() How v3 Games Work v3 Arcade games are a little different to those in the original Arcade and futureal's proArcade. Instead of a simple getURL which sends all of the variables to the next page, the v3 Arcade uses a completely different system - a series of sendAndLoad events where data is sent and received between the Flash file and vBulletin. As a result, converting games for the v3 Arcade is a little more complicated. To get games working with the v3 Arcade, a piece of code needs to be inserted which will run on every frame of the Flash movie. (I.e. one looped movieclip which is active across all frames.) A variable also needs to be set to tell the v3 Arcade code when to end the game. EDIT: INSTRUCTIONS UPDATED TO MAKE THE PROCESS A LOT EASIER! Converting Games Converting a game is quite simple, providing you have some basic knowledge of Flash. Step 1. Create a blank movie clip, containing two keyframes. Step 2. On frame 1 of this blank movieclip, insert this code (not forgetting to change the gamename value to something unique - THIS PRESUMES THAT _root.score CONTAINS THE SCORE VALUE!): Code:
// HERE THE ARCADE SESSION IS INITIATED // DON'T FORGET TO CHANGE THE GAMENAME VALUE! if (this.sessionstarted != 1) { this.arcade = new LoadVars(); this.sessionvars = new LoadVars(); this.arcade.gamename = "towerball"; this.arcade.sessdo = "sessionstart"; this.arcade.sendAndLoad("arcade.php", sessionvars, "POST"); this.sessionstarted = 1; } // IF GAMEOVER=1, SUBMIT THE SCORE AND REDIRECT THE PAGE if (_root.gameover == 1) { if ((this.askpermission != 1) && (this.sessionvars.connStatus == 1)) { this.prequestvars = new LoadVars(); this.pranswer = new LoadVars(); this.prequestvars.gametime = this.sessionvars.gametime; this.prequestvars.fakekey = this.sessionvars.initbar; if (_root.score == 0) { this.prequestvars.score = -1; } else { this.prequestvars.score = _root.score; } this.prequestvars.id = this.sessionvars.lastid; this.prequestvars.sessdo = "permrequest"; this.prequestvars.note = (this.prequestvars.id*this.prequestvars.score*this.prequestvars.fakekey); this.prequestvars.sendAndLoad("./arcade.php", this.pranswer, "POST"); this.askpermission = 1; } if ((this.pranswer.validate == 1) && (this.finalsent != 1)) { this.burnscore = new LoadVars(); this.burnscore.microone = this.pranswer.microone; this.burnscore.gametime = this.prequestvars.gametime; this.burnscore.id = this.prequestvars.id; if (_root.score == 0) { this.burnscore.noscore = 1; } this.burnscore.sessdo = "burn"; this.burnscore.send("./arcade.php", "_self", "POST"); this.finalsent = 1; } } Now, you need to let the game know when to finish the game and redirect the page. This is done by the setting of a new variable, "gameover". When _root.gameover==1, the game will end. Find the frame of the "Game Over" page, and add this actionscript to the frame: Code:
_root.gameover=1; ![]() Releasing Games When releasing a game, please try to stick to the same format as the other games provided below. (I.e. with the installation script.) It should be fairly easy to figure out what goes where. ![]() Additional Games So Far ? Pacman (by Paul Neave) - https://vborg.vbsupport.ru/showpost....&postcount=102 ? Simon (by Paul Neave) - https://vborg.vbsupport.ru/showpost....&postcount=130 ? Breakout - https://vborg.vbsupport.ru/showpost....&postcount=350 ? Target - https://vborg.vbsupport.ru/showpost....&postcount=359 ? Maeda Path - https://vborg.vbsupport.ru/showpost....&postcount=469 ? Helicopter - https://vborg.vbsupport.ru/showpost....&postcount=504 ? Curveball - https://vborg.vbsupport.ru/showpost....&postcount=506 ? Miniclip Snake - https://vborg.vbsupport.ru/showpost....&postcount=537 ? Towerball - https://vborg.vbsupport.ru/showpost....39&postcount=7 ? Alien Clones - https://vborg.vbsupport.ru/showpost....3&postcount=12 ? Penguin Bashing - https://vborg.vbsupport.ru/showpost....9&postcount=72 ? Mars Rover - https://vborg.vbsupport.ru/showpost....&postcount=109 ? Disco Racer - https://vborg.vbsupport.ru/showpost....&postcount=138 ? Joust - https://vborg.vbsupport.ru/showpost....&postcount=144 ? Hexxagon - https://vborg.vbsupport.ru/showpost....&postcount=938 ? Monkey Lander - http://www.v3arcade.com/play/showthread.php?t=55 ? Pingu Slap - http://www.v3arcade.com/play/showthread.php?t=53 ? Bloody Pingu - https://vborg.vbsupport.ru/showpost....&postcount=295 ? Radial Snake - https://vborg.vbsupport.ru/showpost....&postcount=300 ? Kill Kenny - https://vborg.vbsupport.ru/showpost....&postcount=304 ? Alien Attack - https://vborg.vbsupport.ru/showpost....&postcount=314 ? Ron North's Jewels - https://vborg.vbsupport.ru/showpost....&postcount=329 ? KickUps - https://vborg.vbsupport.ru/showpost....&postcount=363 ? Altex - https://vborg.vbsupport.ru/showpost....&postcount=403 ? Enemy Shooting - https://vborg.vbsupport.ru/showpost....&postcount=403 ? Jail Break - https://vborg.vbsupport.ru/showpost....&postcount=403 ? Snow Paul - https://vborg.vbsupport.ru/showpost....&postcount=403 ? Space Hunter - https://vborg.vbsupport.ru/showpost....&postcount=403 ? Plasmanaut on Fire - https://vborg.vbsupport.ru/showpost....&postcount=443 ? Simpsons Shooter - https://vborg.vbsupport.ru/showpost....&postcount=447 ? Plasmanout V2 - https://vborg.vbsupport.ru/showpost....&postcount=464 ? Pinball - http://www.v3arcade.com/play/showthread.php?t=182 ? Juggler - http://www.v3arcade.com/play/showthread.php?t=207 ? Starship Legend - http://www.v3arcade.com/play/showthread.php?t=208 ? Aim & Fire - http://www.v3arcade.com/play/showthread.php?t=206 ? Plops - http://www.v3arcade.com/play/showthread.php?t=184 ? Tie Fighter Shooter - https://vborg.vbsupport.ru/attachmen...chmentid=17650 ? Witch Hunt - https://vborg.vbsupport.ru/attachmen...chmentid=17651 |
#1072
|
|||
|
|||
![]()
does someone know where i can get a good pinball game (for free)?
i only found a pepsi-sponsored version, wich i dont like. thx |
#1073
|
||||
|
||||
![]() Quote:
Does anyone know if the game Party Animal is converted, and were I can get it? Oh, and rjordan, thanks for the Ice Age games, they're cool! |
#1074
|
|||
|
|||
![]()
Where can i get a good pinball game and is ice age a good game? Thanks for your help,
Kurt |
#1075
|
|||
|
|||
![]() Quote:
![]() |
#1076
|
||||
|
||||
![]()
You guys are welcome I must apologize for not having those requested games done. A lot going on here that is requiring my full attention. I will try to get them out as soon as possible! I promise!
|
#1077
|
|||
|
|||
![]() Quote:
|
#1078
|
|||
|
|||
![]()
Just for the sheer challenge and curiosity I've been trying to get a game of frogger to work in v3. So I started by first looking at the code used with the already included games in the v3 Arcade package. I noticed that the code example given in this thread are seperated.
Code:
if (_root.sessionstarted != 1) { _root.arcade = new LoadVars(); _root.sessionvars = new LoadVars(); _root.arcade.gamename = "Game Name"; _root.arcade.sessdo = "sessionstart"; _root.arcade.sendAndLoad("arcade.php", sessionvars, "POST"); _root.sessionstarted = 1; } // end if Code:
if (this.askpermission != 1 && _root.sessionvars.connStatus == 1) { this.prequestvars = new LoadVars(); this.pranswer = new LoadVars(); this.prequestvars.gametime = _root.sessionvars.gametime; this.prequestvars.fakekey = _root.sessionvars.initbar; if (_root.score == 0) { this.prequestvars.score = -1; } else { this.prequestvars.score = _root.score; } // end else if this.prequestvars.id = _root.sessionvars.lastid; this.prequestvars.sessdo = "permrequest"; this.prequestvars.note = this.prequestvars.id * this.prequestvars.score * this.prequestvars.fakekey; this.prequestvars.sendAndLoad("arcade.php", this.pranswer, "POST"); this.askpermission = 1; } // end if if (this.pranswer.validate == 1 && this.finalsent != 1) { this.burnscore = new LoadVars(); this.burnscore.microone = this.pranswer.microone; this.burnscore.gametime = this.prequestvars.gametime; this.burnscore.id = this.prequestvars.id; if (_root.score == 0) { this.burnscore.noscore = 1; } // end if this.burnscore.sessdo = "burn"; this.burnscore.send("arcade.php", "_self", "POST"); this.finalsent = 1; } // end if and finaly I cant find "_root.gameover=1;" anywhere. Seems a lot of work. Now I found a set of instructions on how to make a game work for IPBA, which consits of 3 lines of code. Since v3 Supports IPBA games, should I go through the trouble of trying to figure out how to convert a game with the above code? or try the IPBA code? Any advice would be appreciated. |
#1079
|
|||
|
|||
![]()
I'd like to eventually help out by converting games, so I'm trying to learn.
At the same time, I contacted a friend of mine in the U.K. and have passed information onto him to convert he's game for v3 Arcade. Will post it here when its ready. |
#1080
|
|||
|
|||
![]()
There's a new Yeti Game out:
http://www.pro7.de/games_handy/onlin..._kick/game.php Homepage http://www.yetisports.org/ |
#1081
|
|||
|
|||
![]()
I like Penguins so naturaly I dont like seeing games where they are depicted as getting hurt.
|
![]() |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|