Re: [stella] I need Help ON QBASIC

Subject: Re: [stella] I need Help ON QBASIC
From: "Roger Williams" <mer02@xxxxxxxxxxxxx>
Date: Sun, 21 Oct 2001 19:57:07 -0700
 
so to do the steps as points i have
R(steps)=R+1
E = R
so that every step the man takes he gets 1 point for it.
This actually has the effect of making the score exactly
equal to the number of steps.  You should do this:
 
R=R+1    'increment steps
E=E+1    'increment score
 
i tried make Warps "W" and did W=W*15
and E=(R) (W)
It's not adding on each step, it's setting the score equal
to the number of steps.  In this separate thread where
you've figured out that the player has stepped through
a warp, you do
 
E=E+15    'add 15 to score
 
And if you fix the other branch for E=E+1 instead of E=R,
the score will accumulate as you intend.
 
--Roger Williams
Current Thread