
Welcome Guest
|
|
|
#1
|
|||
|
|||
|
hi
i have played an online flash game. At the end of the game it stores the score in the database. Now im working on a project in which i have the flash games with me (not online) but when someone will play then that score should be saved in the database i have created. Is it possible. Please tell me the solution for it. Thankyou
|
|
#2
|
|||
|
|||
|
So wait, do you need to keep track of the score in the game, or submit it to an online database?
|
|
#3
|
|||
|
|||
|
yes right.... i need to track the score and store it in the database....
please help me out
|
|
#4
|
|||
|
|||
|
Certainly, I just wrote a death counter, so it will be easy to make it count for scores. As for submitting scores, I can't help you out.
Okay, so what we are going to do, is have a textbox, that is dynamic, and give it the variable: score. Now, using ActionScript on your 'player', do this: Actionscript:
onClipEvent (load)
{
var _root.score:Number = 0
}
onClipEvent (enterFrame)
{
if(_root.Player.hitTest(_root.scoreBall)){
_root.score = _root.score+1;
}
} |
|
#5
|
|||
|
|||
|
ok i think it will work.....but can you pls help me out as per the aspx.vb script... i would like to trap the score ant save it to the database.... im new to flash so pls hel me out...Thankyou
|
|
#6
|
|||
|
|||
|
I can't help you with sending the score, sorry. I don't know enough Actionscript to help you out yet...sorry.
|
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| High Score Table | TheNewKid | Newbies |
0 | 01-01-2007 01:17 PM |
| score counter not working (please help)please | aquillian | Game Programming |
3 | 10-09-2006 05:51 AM |
| Submitting score & e-mail address | silverwood | Server Side | 0 | 12-06-2005 12:43 PM |
| Timer and Score | Lelboy | Flash MX |
2 | 07-04-2004 08:28 PM |
| score control | Evelyne1976 | Flash MX ActionScript |
3 | 04-27-2004 02:18 AM |



