ahh....i think you just sparked something in my head...the juices are flowin...thank you...
Rem Project: Death Timer and Counter
Rem Created: 1/24/2007 10:05:56 AM
Rem ***** Main Source File *****
`setup
sync on:sync rate 30
cls
gosub load_screen
gosub player_count
gosub player_names
gosub death_image
`main loop
do
set text size 10
print "Click On Your Skull If You *DIE*"
set text size 25
for b = 1 to p_count
c = b
print p_name$(b)," has died ",p_deaths(c)," times"
next b
`exit button
set text size 10
print "press <Q> to Quit"
if keystate (16)=1 then end
sync
cls
loop
end
`setup screen
load_screen:
do
set text size 14
set text to bold
center text screen width()/2,screen height()/2,"Get Your Player Count and Names Ready (press spacebar when ready)"
sync
if spacekey()=1 then cls:return
loop
`get player count
player_count:
do
cls:sync
center text screen width()/2,(screen height()/2)+20,"How Many Players Do You Have?"
sync
input "_",p_count
print p_count,", okay, please wait."
sync
dim p_name$(p_count)
dim p_deaths(p_count)
wait 1000
return
loop
`get player names
player_names:
for a = 1 to p_count
input "player's name ",p_name$(a)
next a
return
`get number of death images
death_image:
for d = 1 to p_count
e = d
load image "media\death.png",e
next d
return
this is what i had before you sparked my brain...
i will try and do the image with a function...
thanx