I've got a few problems that need to be fixed.
1. I'm using the Moveto function to move the View to the score page. Depending on where my player is when he hits the Collision sprite, my move is to a different location every time (buy about 10-15 pixels). I'm guess it's something to do with the "Relative to" option. Is there another way to move the View to an precise location?
Exit the level from different locations and see whats happening!
2. The score page works, but I can't get the XP values and load them to the next level. I added the values to a Variable called xp but it ended up looping and the xp score just kept on increasing!
Example: (time x 10) + (ammo(clip) x 100) + (xp from completed level) = new xp score at the start of level 2. I'm guessing I need to stop the Draw Actor from the first level?
I ended up using the following code but it's just a stop gap for me to see that it sort of works.
xp_bonus, Draw Actor, Script
- Code: Select all
sprintf(text, "%02d", VirtSec*10 + clip*100 + xp);
Keys.
arrows - move
space - shoot, go on you know you want to!
The Deck Lift (red circle ) will take you to the score page. Don't forget to pick up the Ammo and Med Pack! - I can't take any credit for the map artwork, Amiga fans will recognize it!