Carrying point scores over from mission to mission
by Jesse P · in Technical Issues · 12/24/2007 (12:40 pm) · 4 replies
Hey I've got a game where I assign scores to various things and what I need it to do is carry over the score from mission to mission, but if you exit the game to the main menu and restart a new game it needs to be able to reset it, any suggestions? Thanks
#2
You know what's funny is I was going through a bunch of your posts before regarding the coin pickup issue. Did you ever get that resolved? I have exploding barrels that I've been trying (with no luck) to give points to the player when they explode. So far all I've been able to implement are points when the AI bad guy is shot by the player, I give it an incScore function. But I need to have those points and any others I figure out how to implement down the road carry over from mission to mission
12/24/2007 (6:01 pm)
I'm not the best coder so not really sure how to go about that...You know what's funny is I was going through a bunch of your posts before regarding the coin pickup issue. Did you ever get that resolved? I have exploding barrels that I've been trying (with no luck) to give points to the player when they explode. So far all I've been able to implement are points when the AI bad guy is shot by the player, I give it an incScore function. But I need to have those points and any others I figure out how to implement down the road carry over from mission to mission
#3
12/24/2007 (6:59 pm)
I used the sqlite resource to carry scores forward and allow for multiple player logins.
#4
I will probably release all my singleplayer code to the community when my game is done..
alot of it is found here on the site but I have cleaned it up and made my own versions..
alot of it I had to learn as I go :)
TomFeni
12/24/2007 (8:41 pm)
I have the coin pickup code resolved and also included alot of other things done, like player lives pickup and invincibility pickup..I will probably release all my singleplayer code to the community when my game is done..
alot of it is found here on the site but I have cleaned it up and made my own versions..
alot of it I had to learn as I go :)
TomFeni
Torque 3D Owner Tom Feni
:)
ok I added a Global for the score which I save to a file and then carry it thru all my levels. Then for the new game I load a default value such as 0. so on each new load it reverts to 0.. :)
guess I should do some resources soon on my single player code base..
TomFeni