Copy link to clipboard
Copied
Hello all -
First let me say that I'm not very good or knowledgeable when it comes to actionscript...
I could really use some assistance with an issue I've run into.
My company has developed a very simple "Whack-a-Mole" type of game for a social media campaign.
See here: http://www.hereforyoueverystep.com/social/game.html
Our client is now requesting that we add a scoring system so that we can offer a prize to the 3 top scores.
What I need is to be able to link the number of "whacks" to a score and enable the user to input their email address at the end of the game connected to the score they achieve.
It was developed in Actionscript 2, because of a tutorial that was followed.
If anyone can give me some advice or offer to edit my files directly, i would be very grateful.
Thank you!
create a variable (eg, score), initialize it (to zero) and increment it when a mole is whacked.
then you'll need to create a database on the server that stores top scores. you should use the flash LoadVars class to update and retrieve high scores and you'll need to use server-side scripting to write to your database.
Copy link to clipboard
Copied
create a variable (eg, score), initialize it (to zero) and increment it when a mole is whacked.
then you'll need to create a database on the server that stores top scores. you should use the flash LoadVars class to update and retrieve high scores and you'll need to use server-side scripting to write to your database.
Copy link to clipboard
Copied
Do you know the actionscript that I would use and where to put it in order to increment the variable?
Would you be willing to take a look at the file for me?
Copy link to clipboard
Copied
i don't download and correct files unless i'm hired.
you are probably using a hitTest() to check when a mole is whacked. you can use movie explorer to search for hitTest( in your source files to find when that's positive and at that point, increment your variable.
Copy link to clipboard
Copied
Can you send me a quote on how much this would cost my company to hire you, and how soon we could have it finished?
Copy link to clipboard
Copied
send me an email via my website: http://www.kglad.com, click contact.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more