Back to vBulletin 3 Articles

v3 Arcade - Game Modification Guide & Releases
by John 24 Jan 2004
Rating: (3 votes - 5.00 average)

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;
    }
}
Step 3.
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;
Save, and export the SWF movie to the appropriate place.

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. Try to release all games in this thread!

Additional Games So Far

• Pacman (by Paul Neave) -

Spoiler (click to open)


New game: Pacman
with thanks to Paul Neave, for providing the source.

Installation
To install Pacman, upload the following files to your forum:
pacman1.gif -> /images/arcade/pacman1.gif
pacman2.gif -> /images/arcade/pacman2.gif
pacman.swf -> /games/pacman.swf
pacman.game.php -> /admincp/pacman.game.php

Point your browser to /admincp/pacman.game.php. (E.g. http://www.yourforums.com/forum/admincp/pacman.game.php).
Don't forget to delete the script once you're finished!
Attached Images
File Type: gif screen.gif (27.9 KB, 1486 views)
Attached Files
File Type: zip v3 Arcade - Pacman.zip (41.8 KB, 4296 views)

Close

• Simon (by Paul Neave) -

Spoiler (click to open)


New game: Simon
with thanks to Paul Neave, for providing the source.

Installation
To install Simon, upload the following files to your forum:
simon1.gif -> /images/arcade/simon1.gif
simon2.gif -> /images/arcade/simon2.gif
simon.swf -> /games/simon.swf
simon.game.php -> /admincp/simon.game.php

Point your browser to /admincp/simon.game.php. (E.g. http://www.yourforums.com/forum/admincp/simon.game.php).
Don't forget to delete the script once you're finished!
Attached Images
File Type: gif screen.gif (49.9 KB, 545 views)
Attached Files
File Type: zip v3 Arcade - Simon.zip (20.4 KB, 2481 views)

Close

• Breakout -

Spoiler (click to open)


New game: Breakout

Installation
To install Breakout, upload the following files to your forum:
breakout1.gif -> /images/arcade/breakout1.gif
breakout2.gif -> /images/arcade/breakout2.gif
breakout.swf -> /games/breakout.swf
breakout.game.php -> /admincp/breakout.game.php

Point your browser to /admincp/breakout.game.php. (E.g. http://www.yourforums.com/forum/admincp/breakout.game.php).
Don't forget to delete the script once you're finished!

Sorry for the delay, but I had to make a few improvements to this one!
Attached Images
File Type: gif screen.gif (32.9 KB, 591 views)
Attached Files
File Type: zip v3 Arcade - Breakout.zip (17.1 KB, 2901 views)

Close

• Target -

Spoiler (click to open)


New game: Target

Installation
To install Target, upload the following files to your forum:
target1.gif -> /images/arcade/target1.gif
target2.gif -> /images/arcade/target2.gif
target.swf -> /games/target.swf
target.game.php -> /admincp/target.game.php

Point your browser to /admincp/target.game.php. (E.g. http://www.yourforums.com/forum/admincp/target.game.php).
Don't forget to delete the script once you're finished!
Attached Images
File Type: gif screen.gif (35.5 KB, 1110 views)
Attached Files
File Type: zip v3 Arcade - Target.zip (14.6 KB, 2157 views)

Close

• Maeda Path -

Spoiler (click to open)


New game: Maeda Path

Installation
To install Maeda Path, upload the following files to your forum:
maeda1.gif -> /images/arcade/maeda1.gif
maeda2.gif -> /images/arcade/maeda2.gif
maeda.swf -> /games/maeda.swf
maeda.game.php -> /admincp/maeda.game.php

Point your browser to /admincp/maeda.game.php. (E.g. http://www.yourforums.com/forum/admincp/maeda.game.php).
Don't forget to delete the script once you're finished!
Attached Images
File Type: gif screen.gif (26.8 KB, 1115 views)
Attached Files
File Type: zip v3 Arcade - Maeda Path.zip (124.3 KB, 1973 views)

Close

• Helicopter -

Spoiler (click to open)


New game: Helicopter
with thanks to http://www.seethru.co.uk

Installation
To install Helicopter, upload the following files to your forum:
copter1.gif -> /images/arcade/copter1.gif
copter2.gif -> /images/arcade/copter2.gif
copter.swf -> /games/copter.swf
copter.game.php -> /admincp/copter.game.php

Point your browser to /admincp/copter.game.php. (E.g. http://www.yourforums.com/forum/admincp/copter.game.php).
Don't forget to delete the script once you're finished!
Attached Images
File Type: gif screen.gif (21.2 KB, 849 views)
Attached Files
File Type: zip v3 Arcade - Helicopter.zip (35.2 KB, 1816 views)

Close

• Curveball -

Spoiler (click to open)


New game: Curveball

Installation
To install Curveball, upload the following files to your forum:
curveball1.gif -> /images/arcade/curveball1.gif
curveball2.gif -> /images/arcade/curveball2.gif
curveball.swf -> /games/curveball.swf
curveball.game.php -> /admincp/curveball.game.php

Point your browser to /admincp/curveball.game.php. (E.g. http://www.yourforums.com/forum/admincp/curveball.game.php).
Don't forget to delete the script once you're finished!
Attached Images
File Type: gif screen.gif (27.2 KB, 874 views)
Attached Files
File Type: zip v3 Arcade - Curveball.zip (20.4 KB, 2518 views)

Close

• Miniclip Snake -

Spoiler (click to open)


New game: Miniclip Snake
with thanks to https://www.miniclip.com

Installation
To install Miniclip Snake, upload the following files to your forum:
mcsnake1.gif -> /images/arcade/mcsnake1.gif
mcsnake2.gif -> /images/arcade/mcsnake2.gif
mcsnake.swf -> /games/mcsnake.swf
mcsnake.game.php -> /admincp/mcsnake.game.php

Point your browser to /admincp/mcsnake.game.php. (E.g. http://www.yourforums.com/forum/admincp/mcsnake.game.php).
Don't forget to delete the script once you're finished!
Attached Images
File Type: gif screen.gif (49.8 KB, 728 views)
Attached Files
File Type: zip v3 Arcade - Miniclip Snake.zip (342.0 KB, 1889 views)

Close

• Towerball -

Spoiler (click to open)



Close

• Alien Clones -

Spoiler (click to open)


New Game: Alien Clones

Instructions in zip. Thanks to miniclip.com for this one...
Attached Thumbnails
Click image for larger version
Name:	screen.gif
Views:	1833
Size:	173.3 KB
ID:	16212  
Attached Files
File Type: zip v3 Arcade - Alien Clones.zip (230.9 KB, 2418 views)

Close

• Penguin Bashing -

Spoiler (click to open)


New Game: Penguin Bashing

I think we all know this one

Make sure you upgrade to the latest version of the Arcade, v1.01. Simply download the new zip and overwrite the files.
Attached Thumbnails
Click image for larger version
Name:	screen.gif
Views:	1137
Size:	41.4 KB
ID:	16256  
Attached Files
File Type: zip v3 Arcade - Penguin Bashing.zip (199.9 KB, 3140 views)

Close

• Mars Rover -

Spoiler (click to open)


This was taken from flashkit.com =)

This is my first one, and I did a Submit button since I was unable to get it to work right otherwise =)

P.S.

Someone teach me how to do it without a Submit button =)

You can try out the game here: http://forums.sieged.net/arcade.php?do=play&gameid=21 (demo/demo)

Updated 1-28 4:18am (CST)

It now has a few fixes, when you gain levels, your score increases faster and the next level takes %50 more to reach, the game shouldn't end now (unless you die), and the space ships now show correctly.

I'll try to get it so each level speeds up the amount of space ships/how fast they go, I'm new to flash so gimme time =)

I also want to add different weapons for it.
Attached Files
File Type: zip v3 Arcade - Mars Rover.zip (803.3 KB, 1679 views)

Close

• Disco Racer -

Spoiler (click to open)


New game: Disco Racer

Installation
Well... You know the drill...

Okay, this game doesn't correctly record the amount of time that was spent playing, and I know why, but I'm having trouble with thinking of a way of correcting it. Anyway, if I ever get it fixed, I'll let you know and upload a new .SWF.

[Edit: Oh, and here's a screenshot.]
[Edit: Okay, the SWF's been fixed.]
[Edit: 1/29/04, 11:19 CST: Okay, fixed the problem with the wrenches.]
Attached Thumbnails
Click image for larger version
Name:	dr.gif
Views:	1279
Size:	47.5 KB
ID:	16361  
Attached Files
File Type: zip v3 Arcade - Disco Racer.zip (190.5 KB, 1680 views)

Close

• Joust -

Spoiler (click to open)


New game: Joust

Installation
Well... You know the drill...

It's kinda crappy, but it's Joust nonetheless. As you can see in the screenshot, this game doesn't really fit in the table of the default style, but the game doesn't look good at sizes smaller than that due to the scanline effect that it's got.
Attached Thumbnails
Click image for larger version
Name:	joust.gif
Views:	1216
Size:	17.4 KB
ID:	16369  
Attached Files
File Type: zip v3 Arcade - Joust.zip (282.0 KB, 1674 views)

Close

• Hexxagon -

Spoiler (click to open)


Pfft, one test is good enough.

New game: Hexxagon

Thanks to Paul Neave for this one. Test drive this game at: http://www.v3arcade.com/play/arcade.php?do=play&gameid=21

Here you go!:
Attached Images
File Type: gif screen.gif (33.7 KB, 600 views)
Attached Files
File Type: zip v3 Arcade - Hexxagon.zip (30.6 KB, 2059 views)

Close

• Monkey Lander - http://www.v3arcade.com/play/index.php?t=55
• Pingu Slap - http://www.v3arcade.com/play/index.php?t=53
• Bloody Pingu -

Spoiler (click to open)


Heres your violent game.

Piotras, can you get the .fla for this one http://www.ebaumsworld.com/kickups.html ?

Close

• Radial Snake -

Spoiler (click to open)


Here is Radial Snake. Just what you needed, another snake game.

Close

• Kill Kenny -

Spoiler (click to open)


Here is Kill Kenny.

Close

• Alien Attack -

Spoiler (click to open)


Heres another one, Alien Attack.

BBQ and Detomah, I gave AirFox a shot but its too buggy. You cant die, you are always sent to the intro screen. It would take alot of time to fix it.

Smoker, that version of jewels is crappy imo. In the creators site theres someone that reached level 112 in the highscore! I dont think difficulty increases on each level. If you really really really really really really want it I can convert it though.

Close

• Ron North's Jewels -

Spoiler (click to open)


You are welcome .

Smoker, made your jewels game, used the images of another guy who posted on this thread though. If you guys wish to install it, Id recomend you play the .swf first. I think the game never ends, but im not sure.

Yabba, the alien attack at flashkit came with no sound. Theres was a note from the creator on the zip that said if you wanted the sound files to email him, but I didnt.

[edit 17/03/04]removed high scores text field from game over[/edit]

Close

• KickUps -

Spoiler (click to open)


KickUps.

Close

• Altex -

Spoiler (click to open)


buncha games.

Added kill kenny versions with more knives, in case your scores got stuck.

Space Hunter is a side-scroller shooter, altex/jail break/enemy shooting are shoot'em ups and snow paul is a snowball fight (wont be mad if you dont use it). Some were 'lets convert this so the next guy wont need to' kind of games.

Thanks M1st for the Space Hunter fla. Gotta focus on some other stuff right now. Hope you enjoy.

Close

• Enemy Shooting -

Spoiler (click to open)


buncha games.

Added kill kenny versions with more knives, in case your scores got stuck.

Space Hunter is a side-scroller shooter, altex/jail break/enemy shooting are shoot'em ups and snow paul is a snowball fight (wont be mad if you dont use it). Some were 'lets convert this so the next guy wont need to' kind of games.

Thanks M1st for the Space Hunter fla. Gotta focus on some other stuff right now. Hope you enjoy.

Close

• Jail Break -

Spoiler (click to open)


buncha games.

Added kill kenny versions with more knives, in case your scores got stuck.

Space Hunter is a side-scroller shooter, altex/jail break/enemy shooting are shoot'em ups and snow paul is a snowball fight (wont be mad if you dont use it). Some were 'lets convert this so the next guy wont need to' kind of games.

Thanks M1st for the Space Hunter fla. Gotta focus on some other stuff right now. Hope you enjoy.

Close

• Snow Paul -

Spoiler (click to open)


buncha games.

Added kill kenny versions with more knives, in case your scores got stuck.

Space Hunter is a side-scroller shooter, altex/jail break/enemy shooting are shoot'em ups and snow paul is a snowball fight (wont be mad if you dont use it). Some were 'lets convert this so the next guy wont need to' kind of games.

Thanks M1st for the Space Hunter fla. Gotta focus on some other stuff right now. Hope you enjoy.

Close

• Space Hunter -

Spoiler (click to open)


buncha games.

Added kill kenny versions with more knives, in case your scores got stuck.

Space Hunter is a side-scroller shooter, altex/jail break/enemy shooting are shoot'em ups and snow paul is a snowball fight (wont be mad if you dont use it). Some were 'lets convert this so the next guy wont need to' kind of games.

Thanks M1st for the Space Hunter fla. Gotta focus on some other stuff right now. Hope you enjoy.

Close

• Plasmanaut on Fire -

Spoiler (click to open)


I couldnt find the exact right font for this one, DINBold, so I used DIN 1451. Plasmanaut on Fire, the game that originated Alien Attack.

Close

• Simpsons Shooter -

Spoiler (click to open)


Found this one in the vBProArcade thread. Here is Los Simpsons.

Close

• Plasmanout V2 -

Spoiler (click to open)


Here is Plasmanout V2.

Close

• Pinball - http://www.v3arcade.com/play/index.php?t=182
• Juggler - http://www.v3arcade.com/play/index.php?t=207
• Starship Legend - http://www.v3arcade.com/play/index.php?t=208
• Aim & Fire - http://www.v3arcade.com/play/index.php?t=206
• Plops - http://www.v3arcade.com/play/index.php?t=184
• Tie Fighter Shooter -
• Witch Hunt -

vblts.ru supports vBulletin®, 2022-2024