Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
v3 Arcade - Game Modification Guide & Releases
John
Join Date: Mar 2002
Posts: 1,543

Norwich, UK
by John John is offline 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!):

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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) - http://www.vbulletin.org/forum/showp...&postcount=102
Simon (by Paul Neave) - http://www.vbulletin.org/forum/showp...&postcount=130
Breakout - http://www.vbulletin.org/forum/showp...&postcount=350
Target - http://www.vbulletin.org/forum/showp...&postcount=359
Maeda Path - http://www.vbulletin.org/forum/showp...&postcount=469
Helicopter - http://www.vbulletin.org/forum/showp...&postcount=504
Curveball - http://www.vbulletin.org/forum/showp...&postcount=506
Miniclip Snake - http://www.vbulletin.org/forum/showp...&postcount=537
Towerball - http://www.vbulletin.org/forum/showp...39&postcount=7
Alien Clones - http://www.vbulletin.org/forum/showp...3&postcount=12
Penguin Bashing - http://www.vbulletin.org/forum/showp...9&postcount=72
Mars Rover - http://www.vbulletin.org/forum/showp...&postcount=109
Disco Racer - http://www.vbulletin.org/forum/showp...&postcount=138
Joust - http://www.vbulletin.org/forum/showp...&postcount=144
Hexxagon - http://www.vbulletin.org/forum/showp...&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 - http://www.vbulletin.org/forum/showp...&postcount=295
Radial Snake - http://www.vbulletin.org/forum/showp...&postcount=300
Kill Kenny - http://www.vbulletin.org/forum/showp...&postcount=304
Alien Attack - http://www.vbulletin.org/forum/showp...&postcount=314
Ron North's Jewels - http://www.vbulletin.org/forum/showp...&postcount=329
KickUps - http://www.vbulletin.org/forum/showp...&postcount=363
Altex - http://www.vbulletin.org/forum/showp...&postcount=403
Enemy Shooting - http://www.vbulletin.org/forum/showp...&postcount=403
Jail Break - http://www.vbulletin.org/forum/showp...&postcount=403
Snow Paul - http://www.vbulletin.org/forum/showp...&postcount=403
Space Hunter - http://www.vbulletin.org/forum/showp...&postcount=403
Plasmanaut on Fire - http://www.vbulletin.org/forum/showp...&postcount=443
Simpsons Shooter - http://www.vbulletin.org/forum/showp...&postcount=447
Plasmanout V2 - http://www.vbulletin.org/forum/showp...&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 - http://www.vbulletin.org/forum/attac...chmentid=17650
Witch Hunt - http://www.vbulletin.org/forum/attac...chmentid=17651

Last edited by Princeton; 18 Jul 2006 at 00:52..
Views: 372522
Reply With Quote
Comments
  #2  
Old 24 Jan 2004, 12:56
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Real name: Liam Hawkins
Cheers for the guide
__________________
Hacks Made :
Store 3.0 Color Name Add On.
Last 5 Attachments On Forum Home
Rap Battle System -=RBS=-

Tutorials Made :
The Basics Of PHP For Beginners and The Basics Of PHP [Part 2]

Running away from that Thousand Post Mark
Reply With Quote
  #3  
Old 24 Jan 2004, 14:18
KevinUK KevinUK is offline
 
Join Date: Jul 2003
Real name: Kevin
John,

Neave's PacMan doesn't open in Flash - I get "unexpected file format" (even though it's .fla).

Kevin
Reply With Quote
  #4  
Old 24 Jan 2004, 14:38
NuclioN's Avatar
NuclioN NuclioN is offline
 
Join Date: Aug 2002
The format is flash MX when it won't open with flash 5. You need to install flash MX to open it.
Reply With Quote
  #5  
Old 24 Jan 2004, 14:43
NuclioN's Avatar
NuclioN NuclioN is offline
 
Join Date: Aug 2002
The easiest way of doing this is to drag the new movieclip onto the last frame which the game will end on. (I.e. the game over screen.) An alternative is to create a new scene, and name it "Submit". On frame 1, include your new movieclip. In the main game, find the code which signifies the end of a game - and add:
Code:
gotoAndStop("Submit",1);
Is it possible (i shall test it also) to add an extra frame on the end of the game with a stopframe in it. On this frame is not a movieclip but a frameaction that is called when you add in the gameover section: GotoAndStop frame **. where the script is executed?
Reply With Quote
  #6  
Old 24 Jan 2004, 15:07
John's Avatar
John John is offline
 
Join Date: Mar 2002
Real name: John Warwick
Originally Posted by NuclioN
Is it possible (i shall test it also) to add an extra frame on the end of the game with a stopframe in it. On this frame is not a movieclip but a frameaction that is called when you add in the gameover section: GotoAndStop frame **. where the script is executed?
You can do whatever you like, as long as the first part of the code is at the beginning and the looping step 2 appears at the end of the game.
Reply With Quote
  #7  
Old 24 Jan 2004, 19:33
Dark Jim's Avatar
Dark Jim Dark Jim is offline
 
Join Date: Apr 2002
Real name: Jimmy
Thanks for the game NuclioN, it's great. Could you convert some of the games that are in the vBProArcade games thread too?
Reply With Quote
  #8  
Old 24 Jan 2004, 19:39
BillaBongUSA BillaBongUSA is offline
 
Join Date: Mar 2002
Thanks for the tutorial, John. I think I'll go through the other thread and try to convert some games that people have requested.
Reply With Quote
  #9  
Old 24 Jan 2004, 19:46
Littlebit's Avatar
Littlebit Littlebit is offline
 
Join Date: Nov 2001
Hey John,
Why did the sound volumes get weird with curveball?
__________________
"If you are squeamish/Don't prod the/beach rubble."-- Sappho, 7th Century BCE
Reply With Quote
  #10  
Old 24 Jan 2004, 19:48
John's Avatar
John John is offline
 
Join Date: Mar 2002
Real name: John Warwick
Originally Posted by Littlebit
Hey John,
Why did the sound volumes get weird with curveball?
No idea, but they did. I can't afford to spend all day trying to fix them.
Reply With Quote
  #11  
Old 24 Jan 2004, 20:34
John's Avatar
John John is offline
 
Join Date: Mar 2002
Real name: John Warwick
New Game: Alien Clones

Instructions in zip. Thanks to miniclip.com for this one...
Attached Images
File Type: gif screen.gif (173.3 KB, 1826 views)
Attached Files
File Type: zip v3 Arcade - Alien Clones.zip (230.9 KB, 2411 views)
Reply With Quote
  #12  
Old 24 Jan 2004, 21:41
InSaNeOnE InSaNeOnE is offline
 
Join Date: Jan 2004
Originally Posted by NuclioN
Towerball game. Tnx to John for the assistance by adding the code

Install the game in the same way you installed the others, so towerball.game.php in the admin dir and run it from there. Both images in images/arcade and the swf in the games dir.

Worked perfectly, Huge thanks for the new game


.. Will be installing the new game from John shortly also.



A Huge thanks for the new games, if any of the members on my forum make any (I am usless at flash) I will be sure to post them.
Reply With Quote
  #13  
Old 24 Jan 2004, 21:51
MaDCaT75 MaDCaT75 is offline
 
Join Date: Jul 2003
Real name: Kristina
what about games like chopper challenge? How do we put in an extra thingie or whatever that gives us the option to play again or submit the score?
Reply With Quote
  #14  
Old 24 Jan 2004, 22:19
eXtremeTim eXtremeTim is offline
 
Join Date: Jun 2002
Real name: Tim Yarbrough
Okay you flash wizards lets get some games converted. My users are dying for loads of new games.
Reply With Quote
  #15  
Old 24 Jan 2004, 22:20
MaDCaT75 MaDCaT75 is offline
 
Join Date: Jul 2003
Real name: Kristina
Yes and I still want a submit button for copter.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Article Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 06:58.

Layout Options | Width: Wide Color: