Pages: 1

Suggestion...

(Click here to view the original thread with full colors/images)


Posted by: Slow Nova

This is my suggestion so that the arcade is fair to everyone

In the arcade, some of the games (copter, homerun, funky pong, etc) can be played all day long on the same 5 points used, because the game automatically restarts, and you submit your high score whenever you want.

on the other hand, some games, like snake, worm, breakout, submit the score after just one game, and the player has to "pay" another 5 points to play again.

Is there a way to add the "Submit High Score" button to all games? or lower the "price" to play these games that only allow one use per 5 points "paid"?

OR, do the opposite, and auto-submit the score on EVERY game...this will increase the jackpots faster.



Posted by: EvilLS1

Thats true, but it would take alot of work to add a submit button to all the games. I'll see about setting a lower cost for the games that don't have a submit button.



Posted by: Slow Nova

Quote:
Originally posted by EvilLS1
Thats true, but it would take alot of work to add a submit button to all the games.



Give me the power, and I can help.



Posted by: EvilLS1

Well, the only power you would need is a copy of Flash MX and a little knowledge of how to edit the code in flash games. It takes a while to learn if you've never used it before.

You can download a shareware version here:
http://www.macromedia.com/software/flash/download/

I can hook ya up so that it doesn't expire after the trial period ends.

The .fla files for the games can be downloaded here:
http://www.vbulletin.org/forum/show...y=&pagenumber=1
(scroll down a couple of posts for the list of games)

Only members who own a licensed vbulletin board can download files there, but if you're interrested I could add your name onto my account over there. I'll need your email address if you want me to add you.



Posted by: Slow Nova

I'll give it a shot. chris_miller@hacsc.org



Posted by: EvilLS1

I added you. Now you'll have to go to http://vbulletin.org and register using the same email address.

I think the .fla files for most of the games w/o submit buttons are posted in that thread. If not, let me know b/c I have some of them saved on my computer.



Posted by: EvilLS1

BTW, I posted a tutorial on how to modify flash games in that same thread. Near the bottom it has a section that explains how to add submit buttons. Might be useful to you.

Go here for the tutorial:
http://www.vbulletin.org/forum/show...ostcount=381715



Posted by: Slow Nova

I'm tryin'...but I ain't getting it. I've downloaded the 2 programs, downloaded the FLA and SWF files (can't find "Worm" (XSnake) fla), and read the tutorial. I don't know flash, or flash code. I won't give up too easily though.



Posted by: EvilLS1

You only need one program (Flash MX) and one file (.fla). The other program is for finding the score variable, and since these games have already been released for vbProArcade we already know what the score variable is. Just tell me which game you're working on and I'll tell you the score variable.

Adding the button to each game is easy. Its just a time consuming process because you have to dig up all the .fla files for the games. If ya can't find it in that thread it can be found at flashkit.com (unmodified).

To add the button, all ya have to do is remove the original arcade code (if you got the fla from that thread) and then select a button from the library and add this code for the action:

Code:
on (release) {
	// set up vars to return
vpaver = "100B2";
scorevariable = score;
action = "gameover";
game = gamename;
score_loc = location + "/proarcade.php";

// this needs to match the Admin CP value
// and should be between 0 and 31
hashoffset = 5;

// do security shuffle to return newhash
subhash1 = gamehash.substr(0,hashoffset);
subhash2 = gamehash.substr(hashoffset);
newhash = subhash2.concat(subhash1);

// redirect back to vbProArcade
getURL (score_loc, "_self", "POST");
}


Then just change the score variable to the correct one for the game.

Don't worry about the hash offset. Just leave it set to 5.



Back to the Forums



vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
vB Easy Archive Final ©2000 - 2008 - Created by Stefan "Xenon" Kaeser